]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Timeout.h
get rid of broken_header.h and some unneeded tests
[lyx.git] / src / frontends / Timeout.h
index 4d602e475bda8ad4e150aa0e1def282c363a4304..27089946eb8891a1d2045bd3c54b02086a6a9c2d 100644 (file)
@@ -7,13 +7,13 @@
  * \author Lars Gullik Bjønnes
  * \author John Levon
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef TIMEOUT_H
 #define TIMEOUT_H
 
-#include <boost/signals/signal0.hpp>
+#include <boost/signal.hpp>
 
 
 /**
@@ -39,7 +39,7 @@ public:
        /// restart the timer
        void restart();
        /// signal emitted on timer expiry
-       boost::signal0<void> timeout;
+       boost::signal<void()> timeout;
        /// emit the signal
        void emit();
        /// set the timer type
@@ -77,7 +77,7 @@ public:
                ///
                Timeout & owner_;
        };
-       
+
 private:
        ///
        friend class Impl;