summaryrefslogtreecommitdiffstats
path: root/ui/base/win/lock_state.h
blob: be9c912678a2bf00afd81ffefa624b536810a9ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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/basictypes.h"
#include "ui/base/ui_base_export.h"

namespace ui {

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

}  // namespace ui

#endif  // UI_BASE_WIN_LOCK_STATE_H_