4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
8 * \author Angus Leeming
10 * Full author contact details are available in file CREDITS.
13 #ifndef CONTROLPRINT_H
14 #define CONTROLPRINT_H
17 #include <boost/scoped_ptr.hpp>
21 /** A controller for Print dialogs.
23 class ControlPrint : public Dialog::Controller {
26 ControlPrint(Dialog &);
28 virtual bool initialiseParams(std::string const & data);
30 virtual void clearParams();
32 virtual void dispatchParams();
34 virtual bool isBufferDependent() const { return true; }
37 std::string const browse(std::string const &) const;
39 PrinterParams & params() const;
42 boost::scoped_ptr<PrinterParams> params_;
45 #endif // CONTROLPRINT_H