mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-11-07 23:09:21 +08:00
[feat] expose system controls and verify remote unlock completion
This commit is contained in:
@@ -12,6 +12,8 @@ namespace crossdesk {
|
||||
// Called on the application thread. True means the OS accepted the request,
|
||||
// not that the asynchronous transition to the lock screen has finished.
|
||||
bool LockScreen();
|
||||
enum class ScreenLockState { unknown, unlocked, locked };
|
||||
ScreenLockState QueryScreenLock();
|
||||
|
||||
} // namespace crossdesk
|
||||
|
||||
|
||||
Reference in New Issue
Block a user