3 * Copyright 2001 LyX Team
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Lars Gullik Bjønnes
10 * Full author contact details are available in file CREDITS
13 #pragma implementation
21 #include "Timeout_pimpl.h"
24 Timeout::Timeout(unsigned int msec, Type t)
25 : type(t), timeout_ms(msec)
27 pimpl_ = new Pimpl(this);
38 bool Timeout::running() const
40 return pimpl_->running();
54 void Timeout::restart()
64 if (type == CONTINUOUS)
68 Timeout & Timeout::setType(Type t)
75 Timeout & Timeout::setTimeout(unsigned int msec)