#include "frontends/Timeout.h"
#include "glib.h" // for gint
-#include <sigc++/signal_system.h>
+#include <sigc++/sigc++.h>
#ifdef __GNUG__
#pragma interface
/// stop the timer
void stop();
/// reset
- void reset();
- /// Is the timer running?
- bool running() const;
-
+ void reset();
+ /// Is the timer running?
+ bool running() const;
+
public:
/// The timeout signal, this gets called when the timeout passed.
- gint timeoutEvent();
+ bool timeoutEvent();
private:
/// the owning timer
Timeout * owner_;
/// Timer connection
SigC::Connection conn_;
- /// Used for running as SigC::Connection::connected() isn't const
- bool running_;
+ /// Used for running as SigC::Connection::connected() isn't const
+ bool running_;
};
#endif