Revision e386e4be src/timer.h

View differences:

src/timer.h
9 9
  typedef void CallbackType( void * );
10 10
  
11 11
  Timer( unsigned delayMs, CallbackType *callback, void *arg )
12
    : delayMs(delayMs), callback(callback), arg(arg)
12
    : started(false), delayMs(delayMs), callback(callback), arg(arg)
13 13
    {
14 14
    }
15 15

  
......
25 25

  
26 26
 private:
27 27

  
28
  bool started;
28 29
  unsigned delayMs;
29 30
  CallbackType *callback;
30 31
  void *arg;

Also available in: Unified diff