]> git.saurik.com Git - apple/security.git/blobdiff - OSX/sec/SOSCircle/SecureObjectSync/SOSAccountTransaction.h
Security-59306.11.20.tar.gz
[apple/security.git] / OSX / sec / SOSCircle / SecureObjectSync / SOSAccountTransaction.h
diff --git a/OSX/sec/SOSCircle/SecureObjectSync/SOSAccountTransaction.h b/OSX/sec/SOSCircle/SecureObjectSync/SOSAccountTransaction.h
deleted file mode 100644 (file)
index d31c421..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-//
-//  SOSAccountTransaction.h
-//  sec
-//
-//
-//
-
-#ifndef SOSAccountTransaction_h
-#define SOSAccountTransaction_h
-
-#include <CoreFoundation/CoreFoundation.h>
-#import <Security/SecureObjectSync/SOSAccountPriv.h>
-#include <CoreFoundation/CFRuntime.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-@class SOSAccountTransaction;
-
-@interface SOSAccount (Transaction)
-
-+ (void)performOnQuietAccountQueue:(void (^)(void))action;
-+ (void)performWhileHoldingAccountQueue:(void (^)(void))action;
-
-- (void) performTransaction: (void (^)(SOSAccountTransaction* txn)) action;
-- (void) performTransaction_Locked: (void (^)(SOSAccountTransaction* txn)) action;
-
-@end
-
-@interface SOSAccountTransaction : NSObject
-
-- (instancetype) init NS_UNAVAILABLE;
-- (instancetype) initWithAccount: (SOSAccount*) account quiet:(bool)quiet NS_DESIGNATED_INITIALIZER;
-
-- (void) finish;
-- (void) restart;
-
-- (void) requestSyncWith: (NSString*) peerID;
-- (void) requestSyncWithPeers: (NSSet<NSString*>*) peerList;
-
-@property SOSAccount *account;
-
-@property (readonly) NSString* description;
-
-@end
-
-NS_ASSUME_NONNULL_END
-
-#endif /* SOSAccountTransaction_h */