5 /** This class executes the callback when the timeout expires.
6 This class currently uses a regular callback, later it will use
7 signals and slots to provide the same.
12 typedef void (*TimeoutCallback)(void *);
22 Timeout(int msec, Type = ONETIME);
32 void callback(TimeoutCallback cb, void * data);
38 void setTimeout(int msec);
47 TimeoutCallback callback_;