1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/mac/carbon/private/print.h
3 // Purpose: private implementation for printing on MacOS
4 // Author: Stefan Csomor
8 // Copyright: (c) Stefan Csomor
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_MAC_PRIVATE_PRINT_H_
13 #define _WX_MAC_PRIVATE_PRINT_H_
15 #include "wx/cmndata.h"
17 #include "ApplicationServices/ApplicationServices.h"
19 class WXDLLIMPEXP_CORE wxMacCarbonPrintData
: public wxPrintNativeDataBase
22 wxMacCarbonPrintData() ;
23 virtual ~wxMacCarbonPrintData() ;
25 virtual bool TransferTo( wxPrintData
&data
);
26 virtual bool TransferFrom( const wxPrintData
&data
);
28 virtual bool IsOk() const ;
30 virtual void TransferFrom( wxPageSetupDialogData
* ) ;
31 virtual void TransferTo( wxPageSetupDialogData
* ) ;
33 virtual void TransferFrom( wxPrintDialogData
* ) ;
34 virtual void TransferTo( wxPrintDialogData
* ) ;
36 virtual void ValidateOrCreate() ;
38 PMPrintSession m_macPrintSession
;
39 PMPageFormat m_macPageFormat
;
40 PMPrintSettings m_macPrintSettings
;
42 DECLARE_DYNAMIC_CLASS(wxMacCarbonPrintData
)
45 #endif // _WX_MAC_PRIVATE_PRINT_H_