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