// -*- C++ -*- /** * \file Timeout_pimpl.h * Copyright 2001 LyX Team * Read COPYING * * \author Lars Gullik Bjønnes * \author John Levon */ #ifndef TIMEOUTPIMPL_H #define TIMEOUTPIMPL_H #include #include "frontends/Timeout.h" #include #ifdef __GNUG__ #pragma interface #endif /** * This class executes the callback when the timeout expires * using XForms mechanisms */ struct Timeout::Pimpl { public: /// Pimpl(Timeout * owner_); /// start the timer void start(); /// stop the timer void stop(); /// reset void reset(); private: /// the owning timer Timeout * owner_; /// xforms id int timeout_id; }; #endif