]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlWrap.h
Simpler structure, 2-3s faster compiles. Not that it matters much...
[lyx.git] / src / frontends / controllers / ControlWrap.h
1 // -*- C++ -*-
2 /**
3  * \file ControlWrap.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Dekel Tsur
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef CONTROLWRAP_H
13 #define CONTROLWRAP_H
14
15 #include "Dialog.h"
16 #include "insets/InsetWrap.h"
17
18 namespace lyx {
19 namespace frontend {
20
21 class ControlWrap : public Controller
22 {
23 public:
24         ///
25         ControlWrap(Dialog &);
26         ///
27         virtual bool initialiseParams(std::string const & data);
28         /// clean-up on hide.
29         virtual void clearParams();
30         /// clean-up on hide.
31         virtual void dispatchParams();
32         ///
33         virtual bool isBufferDependent() const { return true; }
34         ///
35         InsetWrapParams & params() { return params_; }
36         ///
37         InsetWrapParams const & params() const { return params_; }
38 private:
39         ///
40         InsetWrapParams params_;
41 };
42
43 } // namespace frontend
44 } // namespace lyx
45
46 #endif