2 * \file Timeout_pimpl.C
3 * Copyright 2001 LyX Team
12 #pragma implementation
15 #include <gnome--/main.h>
16 #include "Timeout_pimpl.h"
20 Timeout::Pimpl::Pimpl(Timeout * owner)
26 void Timeout::Pimpl::reset()
32 void Timeout::Pimpl::start()
34 if (conn_.connected()) {
35 lyxerr << "Timeout::start: already running!" << std::endl;
39 conn_ = Gnome::Main::timeout.connect(
40 SigC::slot(this, &Timeout::Pimpl::timeoutEvent),
46 void Timeout::Pimpl::stop()
52 gint Timeout::Pimpl::timeoutEvent()
55 return 0; // discontinue emitting timeouts.