summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/dispatch_timer.h
blob: 1dd8bb9f282ebdfa673975c1764f80a4a06e0d93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//
//  dispatch_timer.h
//  MobileNav
//
//  Created by Muller, Alexander (A.) on 5/12/16.
//  Copyright © 2016 Alex Muller. All rights reserved.
//

#ifndef dispatch_timer_h
#define dispatch_timer_h

#include <dispatch/dispatch.h>
#include <stdio.h>

dispatch_source_t dispatch_create_timer(double afterInterval, bool repeating, dispatch_block_t block);
void dispatch_stop_timer(dispatch_source_t timer);

#endif /* dispatch_timer_h */