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