3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
6 * \author Lars Gullik Bjønnes
9 * Full author contact details are available in file CREDITS
17 #include "Timeout_pimpl.h"
20 Timeout::Timeout(unsigned int msec, Type t)
21 : type(t), timeout_ms(msec)
23 pimpl_ = new Pimpl(this);
34 bool Timeout::running() const
36 return pimpl_->running();
50 void Timeout::restart()
60 if (type == CONTINUOUS)
64 Timeout & Timeout::setType(Type t)
71 Timeout & Timeout::setTimeout(unsigned int msec)