]> git.lyx.org Git - lyx.git/blobdiff - src/Timeout.h
Dekels tabular/textinset patches
[lyx.git] / src / Timeout.h
index 0853026cfbf4569535f172ac48a682549bfc070d..9cecc49d7a43e8b615f829323d5b783ebf1a1ca5 100644 (file)
@@ -18,6 +18,8 @@
 #pragma interface
 #endif
 
+#include <sigc++/signal_system.h>
+
 #ifdef SIGC_CXX_NAMESPACES
 using SigC::Signal0;
 #endif
@@ -38,7 +40,7 @@ public:
        ///
        Timeout();
        ///
-       Timeout(int msec, Type = ONETIME);
+       Timeout(unsigned int msec, Type = ONETIME);
        ///
        ~Timeout();
        ///
@@ -52,14 +54,14 @@ public:
        ///
        void emit();
        ///
-       void setType(Type t);
+       Timeout & setType(Type t);
        ///
-       void setTimeout(int msec);
+       Timeout & setTimeout(unsigned int msec);
 private:
        ///
        Type type;
        ///
-       int timeout_ms;
+       unsigned int timeout_ms;
        ///
        int timeout_id;
 };