3 * Copyright 2001 LyX Team
6 * \author Lars Gullik Bjønnes
10 #pragma implementation
18 #include "Timeout_pimpl.h"
21 : type(ONETIME), timeout_ms(0)
23 pimpl_ = new Pimpl(this);
27 Timeout::Timeout(unsigned int msec, Type t)
28 : type(t), timeout_ms(msec)
30 pimpl_ = new Pimpl(this);
51 void Timeout::restart()
61 if (type == CONTINUOUS)
65 Timeout & Timeout::setType(Type t)
72 Timeout & Timeout::setTimeout(unsigned int msec)