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