]>
Commit | Line | Data |
---|---|---|
52479aef | 1 | ///////////////////////////////////////////////////////////////////////////// |
1c4e8f38 | 2 | // Name: wx/mac/carbon/private/print.h |
52479aef SC |
3 | // Purpose: private implementation for printing on MacOS |
4 | // Author: Stefan Csomor | |
5 | // Modified by: | |
6 | // Created: 03/02/99 | |
1c4e8f38 | 7 | // RCS-ID: $Id$ |
52479aef | 8 | // Copyright: (c) Stefan Csomor |
65571936 | 9 | // Licence: wxWindows licence |
52479aef SC |
10 | ///////////////////////////////////////////////////////////////////////////// |
11 | ||
12 | #ifndef _WX_MAC_PRIVATE_PRINT_H_ | |
13 | #define _WX_MAC_PRIVATE_PRINT_H_ | |
14 | ||
15 | #include "wx/cmndata.h" | |
dc7ccb9c | 16 | #include "wx/print.h" |
52479aef SC |
17 | #include "wx/mac/private.h" |
18 | ||
e0d14de1 | 19 | class WXDLLEXPORT wxMacCarbonPrintData : public wxPrintNativeDataBase |
52479aef SC |
20 | { |
21 | public : | |
22 | wxMacCarbonPrintData() ; | |
dc7ccb9c SC |
23 | virtual ~wxMacCarbonPrintData() ; |
24 | ||
25 | virtual bool TransferTo( wxPrintData &data ); | |
26 | virtual bool TransferFrom( const wxPrintData &data ); | |
27 | ||
e0d14de1 VZ |
28 | virtual bool IsOk() const ; |
29 | ||
52479aef SC |
30 | virtual void TransferFrom( wxPageSetupDialogData * ) ; |
31 | virtual void TransferTo( wxPageSetupDialogData * ) ; | |
e0d14de1 | 32 | |
52479aef SC |
33 | virtual void TransferFrom( wxPrintDialogData * ) ; |
34 | virtual void TransferTo( wxPrintDialogData * ) ; | |
52479aef SC |
35 | private : |
36 | virtual void ValidateOrCreate() ; | |
37 | public : | |
e0d14de1 | 38 | PMPrintSession m_macPrintSession ; |
52479aef SC |
39 | PMPageFormat m_macPageFormat ; |
40 | PMPrintSettings m_macPrintSettings ; | |
dc7ccb9c SC |
41 | private: |
42 | DECLARE_DYNAMIC_CLASS(wxMacCarbonPrintData) | |
52479aef SC |
43 | } ; |
44 | ||
e0d14de1 | 45 | #endif // _WX_MAC_PRIVATE_PRINT_H_ |