/**
- * \file Timeout_pimpl.C
- * Copyright 2001 LyX Team
- * Read COPYING
+ * \file xforms/Timeout_pimpl.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
* \author Lars Gullik Bjønnes
* \author John Levon
+ *
+ * Full author contact details are available in file CREDITS
*/
#include <config.h>
namespace {
-extern "C"
+extern "C" {
+
+static
void C_intern_timeout_cb(int, void * data)
{
Timeout * to = static_cast<Timeout *>(data);
to->emit();
}
+}
+
} // namespace anon
}
+bool Timeout::Pimpl::running() const
+{
+ return timeout_id != -1;
+}
+
+
void Timeout::Pimpl::start()
{
if (timeout_id != -1)