]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlPreamble.h
Implemented controller-view split for minipage and preamble popups.
[lyx.git] / src / frontends / controllers / ControlPreamble.h
1 /**
2  * \file ControlPreamble.h
3  * Copyright 2001 The LyX Team.
4  * See the file COPYING.
5  *
6  * \author Edwin Leuven, leuven@fee.uva.nl
7  */
8
9 #ifndef CONTROLPREAMBLE_H
10 #define CONTROLPREAMBLE_H
11
12 #ifdef __GNUG__
13 #pragma interface
14 #endif
15
16 #include "ControlDialogs.h"
17
18 /** A controller for Preamble dialogs.
19  */
20 class ControlPreamble : public ControlDialog<ControlConnectBD> {
21 public:
22         ///
23         ControlPreamble(LyXView &, Dialogs &);
24
25         ///
26         string & params() const;
27
28 private:
29         /// Get changed parameters and Dispatch them to the kernel.
30         virtual void apply();
31         /// set the params before show or update.
32         virtual void setParams();
33         /// clean-up on hide.
34         virtual void clearParams();
35     
36         ///
37         string * params_;
38 };
39
40 #endif // CONTROLPREAMBLE_H