]> git.saurik.com Git - apple/security.git/blob - KVSKeychainSyncingProxy/CKDAKSLockMonitor.h
Security-58286.251.4.tar.gz
[apple/security.git] / KVSKeychainSyncingProxy / CKDAKSLockMonitor.h
1 //
2 // CKDAKSLockMonitor.h
3 // Security
4 //
5
6
7 #import "CKDLockMonitor.h"
8 #import "XPCNotificationDispatcher.h"
9
10 #import <Foundation/Foundation.h>
11
12 @interface CKDAKSLockMonitor : NSObject<CKDLockMonitor, XPCNotificationListener>
13
14 @property (readonly) BOOL unlockedSinceBoot;
15 @property (readonly) BOOL locked;
16
17 @property (weak) NSObject<CKDLockListener>* listener;
18
19 + (instancetype) monitor;
20
21 - (instancetype) init;
22
23 - (void) recheck;
24
25 - (void) connectTo: (NSObject<CKDLockListener>*) listener;
26
27 @end