]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/xformsTimeout.h
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / xformsTimeout.h
1 // -*- C++ -*-
2 /**
3  * \file xformsTimeout.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Lars Gullik Bjønnes
8  * \author John Levon
9  * \author Angus Leeming
10  *
11  * Full author contact details are available in file CREDITS.
12  */
13
14 #ifndef XFORMSTIMEOUT_H
15 #define XFORMSTIMEOUT_H
16
17 #include "frontends/Timeout.h"
18
19
20 /**
21  * This class executes the callback when the timeout expires
22  * using xforms mechanisms
23  */
24 class xformsTimeout : public Timeout::Impl {
25 public:
26         ///
27         xformsTimeout(Timeout &);
28         ///
29         virtual bool running() const;
30         ///
31         virtual void start();
32         ///
33         virtual void stop();
34         ///
35         virtual void reset();
36         /// xforms callback function
37         void emitCB();
38
39 private:
40         ///
41         int timeout_id;
42 };
43
44 #endif // XFORMSTIMEOUT_H