]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlPrint.h
Add support for the jurabib package (www.jurabib.org), a package for elegant BibTeX...
[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
20 class PrinterParams;
21
22 /** A controller for Print dialogs.
23  */
24 class ControlPrint : public ControlDialogBD {
25 public:
26         ///
27         ControlPrint(LyXView &, Dialogs &);
28
29         /// Browse for a file
30         std::string const browse(std::string const &) const;
31         ///
32         PrinterParams & params() const;
33 private:
34         /// Get changed parameters and Dispatch them to the kernel.
35         virtual void apply();
36         /// set the params before show or update.
37         virtual void setParams();
38         /// clean-up on hide.
39         virtual void clearParams();
40
41         ///
42         PrinterParams * params_;
43 };
44
45 #endif // CONTROLPRINT_H