summaryrefslogtreecommitdiff
path: root/chromium/ui/base/win/lock_state.h
blob: c596b5a2e08228fda902e5b886907967a51f4b0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_BASE_WIN_LOCK_STATE_H_
#define UI_BASE_WIN_LOCK_STATE_H_

#include "base/component_export.h"

namespace ui {

// Returns true if the screen is currently locked.
COMPONENT_EXPORT(UI_BASE) bool IsWorkstationLocked();

}  // namespace ui

#endif  // UI_BASE_WIN_LOCK_STATE_H_