4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
11 #ifndef GNOMETIMEOUT_H
12 #define GNOMETIMEOUT_H
14 #include "frontends/Timeout.h"
15 #include "glib.h" // for gint
17 #include <sigc++/sigc++.h>
21 * This class executes the callback when the timeout expires
22 * using Gnome mechanisms
24 struct gnomeTimeout : public SigC::Object, public Timeout::Impl {
27 gnomeTimeout(Timeout * owner_);
34 /// Is the timer running?
39 /// The timeout signal, this gets called when the timeout passed.
43 SigC::Connection conn_;
44 /// Used for running as SigC::Connection::connected() isn't const
48 #endif // GNOMETIMEOUT