]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gtk/GTimeout.h
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / gtk / GTimeout.h
index c2726a1eafa18ba273f43e3a646753677d7ed2ee..faefae79abe959c8a1420c24b34c9ae8abfa7d6a 100644 (file)
@@ -7,7 +7,7 @@
  * \author Baruch Even
  * \author Huang Ying
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef GTIMEOUT_H
 
 #include <sigc++/sigc++.h>
 
+namespace lyx {
+namespace frontend {
+
 /**
  * This class executes the callback when the timeout expires
  * using Gtk mechanisms
  */
-class GTimeout : public Timeout::Impl, public SigC::Object {
+class GTimeout : public Timeout::Impl, public sigc::trackable {
 public:
        ///
        GTimeout(Timeout & owner_);
@@ -33,15 +36,16 @@ public:
        void reset();
        /// Is the timer running?
        bool running() const;
-
-public:
        /// The timeout signal, this gets called when the timeout passed.
        bool timeoutEvent();
 private:
        /// Timer connection
-       SigC::Connection conn_;
-       /// Used for running as SigC::Connection::connected() isn't const
+       sigc::connection conn_;
+       /// Used for running as sigc::connection::connected() isn't const
        bool running_;
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif