]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlPreamble.h
Added // -*- C++ -*- to the top of all files in controllers/ and xforms/
[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 "ControlDialogs.h"
18
19 /** A controller for Preamble dialogs.
20  */
21 class ControlPreamble : public ControlDialog<ControlConnectBD> {
22 public:
23         ///
24         ControlPreamble(LyXView &, Dialogs &);
25
26         ///
27         string & params() const;
28
29 private:
30         /// Get changed parameters and Dispatch them to the kernel.
31         virtual void apply();
32         /// set the params before show or update.
33         virtual void setParams();
34         /// clean-up on hide.
35         virtual void clearParams();
36     
37         ///
38         string * params_;
39 };
40
41 #endif // CONTROLPREAMBLE_H