X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..687b91d266990129fbbb8c21d92fa4298b458352:/include/wx/mac/classic/private/print.h?ds=sidebyside diff --git a/include/wx/mac/classic/private/print.h b/include/wx/mac/classic/private/print.h index da81d6bfc1..50af0c5bdf 100644 --- a/include/wx/mac/classic/private/print.h +++ b/include/wx/mac/classic/private/print.h @@ -1,12 +1,12 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: print.h +// Name: wx/mac/classic/private/print.h // Purpose: private implementation for printing on MacOS // Author: Stefan Csomor // Modified by: // Created: 03/02/99 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) Stefan Csomor -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_MAC_PRIVATE_PRINT_H_ @@ -23,7 +23,7 @@ # include "Printing.h" #endif -#if TARGET_CARBON +#if TARGET_CARBON #if !PM_USE_SESSION_APIS #error "only Carbon Printing Session API is supported" #endif @@ -34,48 +34,48 @@ class wxNativePrintData public : wxNativePrintData() {} virtual ~wxNativePrintData() {} - + virtual void TransferFrom( wxPrintData * ) = 0 ; virtual void TransferTo( wxPrintData * ) = 0 ; - + virtual void TransferFrom( wxPageSetupDialogData * ) = 0 ; virtual void TransferTo( wxPageSetupDialogData * ) = 0 ; - + virtual void TransferFrom( wxPrintDialogData * ) = 0 ; virtual void TransferTo( wxPrintDialogData * ) = 0 ; - + virtual void CopyFrom( wxNativePrintData * ) = 0; - + virtual int ShowPrintDialog() = 0 ; virtual int ShowPageSetupDialog() = 0 ; - + static wxNativePrintData* Create() ; } ; #if TARGET_CARBON -class wxMacCarbonPrintData : public wxNativePrintData +class wxMacCarbonPrintData : public wxNativePrintData { public : wxMacCarbonPrintData() ; ~wxMacCarbonPrintData() ; - + 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 : - PMPrintSession m_macPrintSession ; + PMPrintSession m_macPrintSession ; PMPageFormat m_macPageFormat ; PMPrintSettings m_macPrintSettings ; } ; @@ -105,3 +105,4 @@ public : #endif #endif + // _WX_MAC_PRIVATE_PRINT_H_