2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 2001 The LyX Team.
9 *======================================================
11 * \file ControlPrint.h
12 * \author Angus Leeming, a.leeming@.ac.uk
15 #ifndef CONTROLPRINT_H
16 #define CONTROLPRINT_H
22 #include "ControlDialogs.h"
26 /** A controller for Print dialogs.
28 class ControlPrint : public ControlDialog<ControlConnectBD> {
31 ControlPrint(LyXView &, Dialogs &);
34 string const Browse(string const &);
36 PrinterParams & params() const;
39 /// Get changed parameters and Dispatch them to the kernel.
41 /// set the params before show or update.
42 virtual void setParams();
44 virtual void clearParams();
47 PrinterParams * params_;
50 #endif // CONTROLPRINT_H