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>
24 /** A controller for Print dialogs.
26 class ControlPrint : public Dialog::Controller {
29 ControlPrint(Dialog &);
31 virtual bool initialiseParams(std::string const & data);
33 virtual void clearParams();
35 virtual void dispatchParams();
37 virtual bool isBufferDependent() const { return true; }
40 std::string const browse(std::string const &) const;
42 PrinterParams & params() const;
45 boost::scoped_ptr<PrinterParams> params_;
48 } // namespace frontend
51 #endif // CONTROLPRINT_H