]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/Timeout_pimpl.h
doxygen fixes
[lyx.git] / src / frontends / xforms / Timeout_pimpl.h
1 // -*- C++ -*-
2 /**
3  * \file xforms/Timeout_pimpl.h
4  * Copyright 2001 LyX Team
5  * Read COPYING
6  *
7  * \author Lars Gullik Bjønnes, larsbj@lyx.org
8  * \author John Levon, moz@compsoc.man.ac.uk
9  */
10 #ifndef TIMEOUTPIMPL_H
11 #define TIMEOUTPIMPL_H
12
13 #include "frontends/Timeout.h"
14
15 #include <sigc++/signal_system.h>
16
17 #ifdef __GNUG__
18 #pragma interface
19 #endif
20
21 /**
22  * This class executes the callback when the timeout expires
23  * using XForms mechanisms
24  */
25 struct Timeout::Pimpl {
26 public:
27         ///
28         Pimpl(Timeout * owner_);
29         /// Is the timer running?
30         bool running() const;
31         /// start the timer
32         void start();
33         /// stop the timer
34         void stop();
35         /// reset
36         void reset();
37
38 private:
39         /// the owning timer
40         Timeout * owner_;
41         /// xforms id
42         int timeout_id;
43 };
44
45 #endif