]> git.saurik.com Git - apple/security.git/blobdiff - keychain/SecureObjectSync/SOSIntervalEvent.h
Security-59306.41.2.tar.gz
[apple/security.git] / keychain / SecureObjectSync / SOSIntervalEvent.h
diff --git a/keychain/SecureObjectSync/SOSIntervalEvent.h b/keychain/SecureObjectSync/SOSIntervalEvent.h
new file mode 100644 (file)
index 0000000..324befa
--- /dev/null
@@ -0,0 +1,26 @@
+//
+//  SOSIntervalEvent.h
+//  Security
+//
+//  Created by murf on 9/12/19.
+//
+
+#ifndef SOSIntervalEvent_h
+#define SOSIntervalEvent_h
+
+@interface SOSIntervalEvent : NSObject
+
+@property   (nonatomic, retain)     NSUserDefaults      *defaults;
+@property   (nonatomic, retain)     NSString            *dateDescription;
+@property   (nonatomic)             NSTimeInterval      earliestDate;
+@property   (nonatomic)             NSTimeInterval      latestDate;
+
+- (id) initWithDefaults:(NSUserDefaults*) defaults dateDescription:(NSString *)dateDescription earliest:(NSTimeInterval) earliest latest: (NSTimeInterval) latest;
+- (void) schedule;
+- (bool) checkDate;
+- (NSDate *) getDate;
+- (void) followup;
+
+@end
+
+#endif /* SOSIntervalEvent_h */