X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FPrinterParams.h;h=042a083d0f10f0368e9957479ceeac713a02b0cb;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=443f29aa4aec627a57425ecffa4ab578acbee148;hpb=44cd0fc9a1687cc63911c7f98d978594458e7813;p=lyx.git diff --git a/src/PrinterParams.h b/src/PrinterParams.h index 443f29aa4a..042a083d0f 100644 --- a/src/PrinterParams.h +++ b/src/PrinterParams.h @@ -14,15 +14,19 @@ #include "lyxrc.h" + +namespace lyx { + /** - This struct contains (or should contain) all the parameters required for - printing a buffer. Some work still needs to be done on this struct and + This class contains (or should contain) all the parameters required for + printing a buffer. Some work still needs to be done on this class and printing handling in general to make it nice and full-featured. The main things I'd like to add now is the ability to print a read-only document with different orientation, papersize or single/duplex state than the document's settings. ARRae 20000423 */ -struct PrinterParams { +class PrinterParams { +public: /// enum Target { /// @@ -69,9 +73,8 @@ struct PrinterParams { // bool duplex; /** Test that all the fields contain valid entries. It's unlikely - that the internal code will get this wrong (at least for the - xforms code anyway) however new ports and external scripts - might drive the wrong values in. + that the internal code will get this wrong however new ports + and external scripts might drive the wrong values in. */ void testInvariant() const; /// @@ -90,4 +93,7 @@ struct PrinterParams { PrinterParams(PrinterParams const & pp); }; + +} // namespace lyx + #endif