3 * Copyright 2001 LyX Team
6 * \author Lars Gullik Bjønnes
18 #include <sigc++/signal_system.h>
20 #ifdef SIGC_CXX_NAMESPACES
25 * This class executes the callback when the timeout expires.
39 Timeout(unsigned int msec, Type = ONETIME);
48 /// signal emitted on timer expiry
49 Signal0<void> timeout;
52 /// set the timer type
53 Timeout & setType(Type t);
54 /// set the timeout value
55 Timeout & setTimeout(unsigned int msec);
63 /// one-shot or repeating
65 /// timeout value in milliseconds
66 unsigned int timeout_ms;