]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlPreamble.h
Really dull and boring header shit
[lyx.git] / src / frontends / controllers / ControlPreamble.h
1 // -*- C++ -*-
2 /**
3  * \file ControlPreamble.h
4  * See the file COPYING.
5  *
6  * \author Edwin Leuven
7  *
8  * Full author contact details are available in file CREDITS
9  */
10
11 #ifndef CONTROLPREAMBLE_H
12 #define CONTROLPREAMBLE_H
13
14 #ifdef __GNUG__
15 #pragma interface
16 #endif
17
18 #include "ControlDialog_impl.h"
19
20 #include "LString.h"
21
22 /** A controller for Preamble dialogs.
23  */
24 class ControlPreamble : public ControlDialogBD {
25 public:
26         ///
27         ControlPreamble(LyXView &, Dialogs &);
28
29         ///
30         string & params() const;
31
32 private:
33         /// Get changed parameters and Dispatch them to the kernel.
34         virtual void apply();
35         /// set the params before show or update.
36         virtual void setParams();
37         /// clean-up on hide.
38         virtual void clearParams();
39
40         ///
41         string * params_;
42 };
43
44 #endif // CONTROLPREAMBLE_H