CKKSKeychainViewState.h
1 2 #if OCTAGON 3 4 #import <Foundation/Foundation.h> 5 #import <CloudKit/CloudKit.h> 6 7 #import "keychain/ckks/CKKS.h" 8 #import "keychain/ckks/CKKSNearFutureScheduler.h" 9 #import "keychain/ot/OctagonStateMachine.h" 10 11 NS_ASSUME_NONNULL_BEGIN 12 @class OctagonStateMachine; 13 14 @interface CKKSKeychainViewState : NSObject 15 @property (readonly) NSString* zoneName; 16 @property (readonly) CKRecordZoneID* zoneID; 17 18 @property (readonly) CKKSZoneKeyState* zoneCKKSState; 19 20 /* Trigger this to tell the whole machine that this view has changed */ 21 @property CKKSNearFutureScheduler* notifyViewChangedScheduler; 22 23 /* Trigger this to tell the whole machine that this view is more ready then before */ 24 @property CKKSNearFutureScheduler* notifyViewReadyScheduler; 25 26 - (instancetype)initWithZoneID:(CKRecordZoneID*)zoneID 27 viewStateMachine:(OctagonStateMachine*)stateMachine 28 notifyViewChangedScheduler:(CKKSNearFutureScheduler*)notifyViewChangedScheduler 29 notifyViewReadyScheduler:(CKKSNearFutureScheduler*)notifyViewReadyScheduler; 30 @end 31 32 NS_ASSUME_NONNULL_END 33 34 #endif