]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/Timeout_pimpl.h
Bugfixes: checkboxes to radiobuttons (from J�rgen S) and remove a little
[lyx.git] / src / frontends / xforms / Timeout_pimpl.h
1 // -*- C++ -*-
2 /**
3  * \file Timeout_pimpl.h
4  * Copyright 2001 LyX Team
5  * Read COPYING
6  *
7  * \author Lars Gullik Bjønnes
8  * \author John Levon
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         /// start the timer
30         void start();
31         /// stop the timer
32         void stop();
33         /// reset
34         void reset();
35
36 private:
37         /// the owning timer
38         Timeout * owner_;
39         /// xforms id
40         int timeout_id;
41 };
42
43 #endif