+// -*- C++ -*-
/**
- * \file Timeout_pimpl.h
+ * \file gnome/Timeout_pimpl.h
* Copyright 2001 LyX Team
* Read COPYING
*
#ifndef TIMEOUTPIMPL_H
#define TIMEOUTPIMPL_H
-#include <config.h>
-
#include "frontends/Timeout.h"
#include "glib.h" // for gint
void stop();
/// reset
void reset();
+ /// Is the timer running?
+ bool running() const;
+
public:
/// The timeout signal, this gets called when the timeout passed.
Timeout * owner_;
/// Timer connection
SigC::Connection conn_;
+ /// Used for running as SigC::Connection::connected() isn't const
+ bool running_;
};
#endif