3 * Copyright 2001 LyX Team
6 * \author Lars Gullik Bjønnes
10 #pragma implementation
18 #include "Timeout_pimpl.h"
21 Timeout::Timeout(unsigned int msec, Type t)
22 : type(t), timeout_ms(msec)
24 pimpl_ = new Pimpl(this);
35 bool Timeout::running() const
37 return pimpl_->running();
51 void Timeout::restart()
61 if (type == CONTINUOUS)
65 Timeout & Timeout::setType(Type t)
72 Timeout & Timeout::setTimeout(unsigned int msec)