]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mac/carbon/private/print.h
more extra semicolons removed (patch 1303724)
[wxWidgets.git] / include / wx / mac / carbon / private / print.h
CommitLineData
52479aef
SC
1/////////////////////////////////////////////////////////////////////////////
2// Name: print.h
3// Purpose: private implementation for printing on MacOS
4// Author: Stefan Csomor
5// Modified by:
6// Created: 03/02/99
7// RCS-ID: $Id:
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
19#if TARGET_CARBON && !defined(__DARWIN__)
20# include <PMApplication.h>
21#endif
22
23#ifndef __DARWIN__
24# include "Printing.h"
25#endif
26
52479aef
SC
27#if !PM_USE_SESSION_APIS
28#error "only Carbon Printing Session API is supported"
29#endif
52479aef 30
dc7ccb9c 31class WXDLLEXPORT wxMacCarbonPrintData : public wxPrintNativeDataBase
52479aef
SC
32{
33public :
34 wxMacCarbonPrintData() ;
dc7ccb9c
SC
35 virtual ~wxMacCarbonPrintData() ;
36
37 virtual bool TransferTo( wxPrintData &data );
38 virtual bool TransferFrom( const wxPrintData &data );
39
40 virtual bool Ok() const ;
52479aef
SC
41
42 virtual void TransferFrom( wxPageSetupDialogData * ) ;
43 virtual void TransferTo( wxPageSetupDialogData * ) ;
44
45 virtual void TransferFrom( wxPrintDialogData * ) ;
46 virtual void TransferTo( wxPrintDialogData * ) ;
52479aef
SC
47private :
48 virtual void ValidateOrCreate() ;
49public :
50 PMPrintSession m_macPrintSession ;
51 PMPageFormat m_macPageFormat ;
52 PMPrintSettings m_macPrintSettings ;
dc7ccb9c
SC
53private:
54 DECLARE_DYNAMIC_CLASS(wxMacCarbonPrintData)
52479aef
SC
55} ;
56
52479aef 57#endif