]> git.saurik.com Git - apple/security.git/blob - KVSKeychainSyncingProxy/CKDKVSStore.h
Security-59306.80.4.tar.gz
[apple/security.git] / KVSKeychainSyncingProxy / CKDKVSStore.h
1 //
2 // CKDKVSStore.h
3 //
4
5 #import <Foundation/Foundation.h>
6
7 #import "CKDStore.h"
8 #import "CKDKVSProxy.h"
9
10 @interface CKDKVSStore : NSObject <CKDStore>
11
12 + (instancetype)kvsInterface;
13 - (instancetype)init;
14
15 - (void)connectToProxy: (UbiqitousKVSProxy*) proxy;
16 - (void)addOneToOutGoing;
17
18 - (NSObject*)objectForKey:(NSString*)key;
19
20 - (void)setObject:(id)obj forKey:(NSString*)key;
21 - (void)addEntriesFromDictionary:(NSDictionary<NSString*, NSObject*> *)otherDictionary;
22
23 - (void)removeObjectForKey:(NSString*)key;
24 - (void)removeAllObjects;
25
26 - (NSDictionary<NSString *, id>*) copyAsDictionary;
27
28 - (void)pushWrites;
29 - (BOOL)pullUpdates:(NSError**) failure;
30
31 - (void)kvsStoreChanged: (NSNotification*) notification;
32
33 @end