3 * Copyright 2001 LyX Team
6 * \author Lars Gullik Bjønnes
9 * Full author contact details are available in file CREDITS
12 #pragma implementation
20 #include "Timeout_pimpl.h"
23 Timeout::Timeout(unsigned int msec, Type t)
24 : type(t), timeout_ms(msec)
26 pimpl_ = new Pimpl(this);
37 bool Timeout::running() const
39 return pimpl_->running();
53 void Timeout::restart()
63 if (type == CONTINUOUS)
67 Timeout & Timeout::setType(Type t)
74 Timeout & Timeout::setTimeout(unsigned int msec)