summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLTimer.h
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2016-05-25 08:44:23 -0400
committerJoel Fischer <joeljfischer@gmail.com>2016-05-25 08:44:23 -0400
commitfb8e9903a323acaf5fc78819bb3c203567542ab2 (patch)
treee40665103ac7db492e0a40e34cd92f3390defa55 /SmartDeviceLink/SDLTimer.h
parentf7540a02262832e34c67b0953dd8a1804a046fea (diff)
downloadsdl_ios-fb8e9903a323acaf5fc78819bb3c203567542ab2.tar.gz
Shift files into root directory
Diffstat (limited to 'SmartDeviceLink/SDLTimer.h')
-rw-r--r--SmartDeviceLink/SDLTimer.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLTimer.h b/SmartDeviceLink/SDLTimer.h
new file mode 100644
index 000000000..f9f7be3d9
--- /dev/null
+++ b/SmartDeviceLink/SDLTimer.h
@@ -0,0 +1,19 @@
+//
+// SDLTimer.h
+//
+
+#import <Foundation/Foundation.h>
+
+@interface SDLTimer : NSObject
+
+@property (nonatomic, copy) void (^elapsedBlock)(void);
+@property (nonatomic, copy) void (^canceledBlock)(void);
+@property (assign) float duration;
+
+- (instancetype)init;
+- (instancetype)initWithDuration:(float)duration __deprecated;
+- (instancetype)initWithDuration:(float)duration repeat:(BOOL)repeat;
+- (void)start;
+- (void)cancel;
+
+@end