]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/xformsTimeout.h
Change glob() API to accept a dir parameter.
[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 namespace lyx {
20 namespace frontend {
21
22 /**
23  * This class executes the callback when the timeout expires
24  * using xforms mechanisms
25  */
26 class xformsTimeout : public Timeout::Impl {
27 public:
28         ///
29         xformsTimeout(Timeout &);
30         ///
31         virtual bool running() const;
32         ///
33         virtual void start();
34         ///
35         virtual void stop();
36         ///
37         virtual void reset();
38         /// xforms callback function
39         void emitCB();
40
41 private:
42         ///
43         int timeout_id;
44 };
45
46 } // namespace frontend
47 } // namespace lyx
48
49 #endif // XFORMSTIMEOUT_H