]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Timeout.h
We don't currently use fork anywhere (or if we do it's by mistake!), so
[lyx.git] / src / frontends / Timeout.h
index 717096f83ef8b46b1605961f8fcb635c13bdf15a..b737b1b978936f98b03015a4f9e964d0d59194e9 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 /**
  * \file Timeout.h
  * Copyright 2001 LyX Team
 #ifndef TIMEOUT_H
 #define TIMEOUT_H
 
-#include <config.h>
-
 #ifdef __GNUG__
 #pragma interface
 #endif
 
 #include <sigc++/signal_system.h>
 
-#ifdef SIGC_CXX_NAMESPACES
-using SigC::Signal0;
-#endif
-
 /**
  * This class executes the callback when the timeout expires.
  */
@@ -46,7 +41,7 @@ public:
        /// restart the timer
        void restart();
        /// signal emitted on timer expiry
-       Signal0<void> timeout;
+       SigC::Signal0<void> timeout;
        /// emit the signal
        void emit();
        /// set the timer type