diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2016-05-25 08:44:23 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2016-05-25 08:44:23 -0400 |
commit | fb8e9903a323acaf5fc78819bb3c203567542ab2 (patch) | |
tree | e40665103ac7db492e0a40e34cd92f3390defa55 /SmartDeviceLink/SDLTimer.h | |
parent | f7540a02262832e34c67b0953dd8a1804a046fea (diff) | |
download | sdl_ios-fb8e9903a323acaf5fc78819bb3c203567542ab2.tar.gz |
Shift files into root directory
Diffstat (limited to 'SmartDeviceLink/SDLTimer.h')
-rw-r--r-- | SmartDeviceLink/SDLTimer.h | 19 |
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 |