]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Timeout.h
Create a grfx::Loader class and so move large chunks of code out of
[lyx.git] / src / frontends / Timeout.h
index 5c0061abbcd945cd487a4b75a8891532e800ae12..d363e0c270c30d1c88b308264093f6fc052bca33 100644 (file)
@@ -7,6 +7,7 @@
  * \author Lars Gullik Bjønnes
  * \author John Levon
  */
 #ifndef TIMEOUT_H
 #define TIMEOUT_H
 
 #pragma interface
 #endif
 
-#include <sigc++/signal_system.h>
+#include <boost/signals/signal0.hpp>
 
 /**
  * This class executes the callback when the timeout expires.
  */
 class Timeout {
 public:
-       ///
+       /// the timeout type
        enum Type {
-               /// one-shot timer
-               ONETIME,
-               /// repeating
-               CONTINUOUS
+               ONETIME, //< one-shot timer
+               CONTINUOUS //< repeating
        };
        ///
        Timeout(unsigned int msec, Type = ONETIME);
@@ -41,7 +40,7 @@ public:
        /// restart the timer
        void restart();
        /// signal emitted on timer expiry
-       SigC::Signal0<void> timeout;
+       boost::signal0<void> timeout;
        /// emit the signal
        void emit();
        /// set the timer type