1999-01-01 11:05:26 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: dcprint.h
|
|
|
|
// Purpose: wxPrinterDC class
|
|
|
|
// Author: AUTHOR
|
|
|
|
// Modified by:
|
|
|
|
// Created: ??/??/98
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) AUTHOR
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_DCPRINT_H_
|
|
|
|
#define _WX_DCPRINT_H_
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface "dcprint.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "wx/dc.h"
|
1999-11-05 04:16:09 -05:00
|
|
|
#include "wx/cmndata.h"
|
1999-01-01 11:05:26 -05:00
|
|
|
|
|
|
|
class WXDLLEXPORT wxPrinterDC: public wxDC
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
DECLARE_CLASS(wxPrinterDC)
|
|
|
|
|
2001-02-15 16:51:14 -05:00
|
|
|
#if wxUSE_PRINTING_ARCHITECTURE
|
1999-01-01 11:05:26 -05:00
|
|
|
// Create a printer DC
|
1999-11-05 04:16:09 -05:00
|
|
|
wxPrinterDC(const wxPrintData& printdata );
|
1999-01-01 11:05:26 -05:00
|
|
|
~wxPrinterDC();
|
1999-11-05 04:16:09 -05:00
|
|
|
|
|
|
|
virtual bool StartDoc( const wxString& WXUNUSED(message) ) ;
|
|
|
|
virtual void EndDoc(void) ;
|
|
|
|
virtual void StartPage(void) ;
|
|
|
|
virtual void EndPage(void) ;
|
2002-01-06 10:43:29 -05:00
|
|
|
protected:
|
|
|
|
void* m_macPrintSessionPort ;
|
2002-01-04 12:13:39 -05:00
|
|
|
wxPrintData m_printData ;
|
2001-02-15 16:51:14 -05:00
|
|
|
#endif // wxUSE_PRINTING_ARCHITECTURE
|
1999-01-01 11:05:26 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
// _WX_DCPRINT_H_
|
|
|
|
|