]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gnome/Timeout_pimpl.h
ws cleanup
[lyx.git] / src / frontends / gnome / Timeout_pimpl.h
index 92308e280203ba2eb2e821fe419af0ea346d2dff..1979041a7e7beb39496f4d8acb5eacb8624b0392 100644 (file)
@@ -1,5 +1,6 @@
+// -*- C++ -*-
 /**
- * \file Timeout_pimpl.h
+ * \file gnome/Timeout_pimpl.h
  * Copyright 2001 LyX Team
  * Read COPYING
  *
@@ -8,8 +9,6 @@
 #ifndef TIMEOUTPIMPL_H
 #define TIMEOUTPIMPL_H
 
-#include <config.h>
-
 #include "frontends/Timeout.h"
 #include "glib.h" // for gint
 
@@ -33,6 +32,9 @@ public:
        void stop();
        /// reset
        void reset();
+       /// Is the timer running?
+       bool running() const;
+
 
 public:
        /// The timeout signal, this gets called when the timeout passed.
@@ -42,6 +44,8 @@ private:
        Timeout * owner_;
        /// Timer connection
        SigC::Connection conn_;
+       /// Used for running as SigC::Connection::connected() isn't const
+       bool running_;
 };
 
 #endif