# include "Printing.h"
#endif
-#if TARGET_CARBON
#if !PM_USE_SESSION_APIS
#error "only Carbon Printing Session API is supported"
#endif
-#endif
class wxNativePrintData
{
static wxNativePrintData* Create() ;
} ;
-#if TARGET_CARBON
-
class wxMacCarbonPrintData : public wxNativePrintData
{
public :
PMPrintSettings m_macPrintSettings ;
} ;
-#else
-
-class wxMacClassicPrintData : public wxNativePrintData
-{
-public :
- wxMacClassicPrintData() ;
- ~wxMacClassicPrintData() ;
- virtual void TransferFrom( wxPrintData * ) ;
- virtual void TransferTo( wxPrintData * ) ;
- virtual void TransferFrom( wxPageSetupDialogData * ) ;
- virtual void TransferTo( wxPageSetupDialogData * ) ;
- virtual void TransferFrom( wxPrintDialogData * ) ;
- virtual void TransferTo( wxPrintDialogData * ) ;
- virtual void CopyFrom( wxNativePrintData * ) ;
- virtual int ShowPrintDialog() ;
- virtual int ShowPageSetupDialog() ;
-private :
- virtual void ValidateOrCreate() ;
-public :
- THPrint m_macPrintSettings ;
-} ;
-
-#endif
-
#endif