]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gnome/Timeout_pimpl.h
ws cleanup
[lyx.git] / src / frontends / gnome / Timeout_pimpl.h
index 42c6ee90690f57035f4a129118d015b6cc5d5015..1979041a7e7beb39496f4d8acb5eacb8624b0392 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 /**
- * \file Timeout_pimpl.h
+ * \file gnome/Timeout_pimpl.h
  * Copyright 2001 LyX Team
  * Read COPYING
  *
@@ -32,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.
@@ -41,6 +44,8 @@ private:
        Timeout * owner_;
        /// Timer connection
        SigC::Connection conn_;
+       /// Used for running as SigC::Connection::connected() isn't const
+       bool running_;
 };
 
 #endif