2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1995 Matthias Ettrich
8 * Copyright 1995-2000 The LyX Team.
10 * ====================================================== */
21 #include <sigc++/signal_system.h>
23 #ifdef SIGC_CXX_NAMESPACES
27 /** This class executes the callback when the timeout expires.
28 This class currently uses a regular callback, later it will use
29 signals and slots to provide the same.
43 Timeout(unsigned int msec, Type = ONETIME);
53 Signal0<void> timeout;
57 Timeout & setType(Type t);
59 Timeout & setTimeout(unsigned int msec);
64 unsigned int timeout_ms;