]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gnome/Timeout_pimpl.h
ws cleanup
[lyx.git] / src / frontends / gnome / Timeout_pimpl.h
index f5bfd0a09c9dcc9e5e131da77615e3aaf28c205a..1979041a7e7beb39496f4d8acb5eacb8624b0392 100644 (file)
@@ -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