X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FPrinterParams.h;h=73b10c368ccb50ff178a7120f8148f3b83af7592;hb=1a74f3d1035cfbdb5e21947448e5af2b9ec152f0;hp=23690ec06b489aff27a9d3b601cf4799f58a1f38;hpb=00e305c9d9bd8b0ff54b6c58adb6192d5934ed60;p=lyx.git diff --git a/src/PrinterParams.h b/src/PrinterParams.h index 23690ec06b..73b10c368c 100644 --- a/src/PrinterParams.h +++ b/src/PrinterParams.h @@ -12,7 +12,7 @@ #ifndef PRINTERPARAMS_H #define PRINTERPARAMS_H -#include "LyXRC.h" +#include namespace lyx { @@ -25,8 +25,12 @@ namespace lyx { document with different orientation, papersize or single/duplex state than the document's settings. ARRae 20000423 */ -class PrinterParams { +class PrinterParams +{ public: + /// + PrinterParams(); + /// enum Target { /// @@ -34,6 +38,14 @@ public: /// FILE }; + + /** Test that all the fields contain valid entries. It's unlikely + that the internal code will get this wrong however new ports + and external scripts might drive the wrong values in. + */ + void testInvariant() const; + +public: /// Target target; /// @@ -72,25 +84,6 @@ public: // Override document settings for duplex. // bool duplex; - /** Test that all the fields contain valid entries. It's unlikely - that the internal code will get this wrong however new ports - and external scripts might drive the wrong values in. - */ - void testInvariant() const; - /// - PrinterParams(Target t = PRINTER, - std::string const & pname = lyxrc.printer, - std::string const & fname = std::string(), - bool all = true, - unsigned int from = 1, - unsigned int to = 0, - bool odd = true, - bool even = true, - unsigned int copies = 1, - bool sorted = false, - bool reverse = false); - /// - PrinterParams(PrinterParams const & pp); };