]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mac/printmac.h
slider link fix 2.
[wxWidgets.git] / include / wx / mac / printmac.h
CommitLineData
c3f805b4
UJ
1/////////////////////////////////////////////////////////////////////////////
2// Name: printwin.h
3// Purpose: wxWindowsPrinter, wxWindowsPrintPreview classes
4// Author: Julian Smart
5// Modified by:
6// Created: 01/02/97
7// RCS-ID: $Id$
8// Copyright: (c) Julian Smart
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_PRINTWIN_H_
13#define _WX_PRINTWIN_H_
14
15#ifdef __GNUG__
16#pragma interface "printwin.h"
17#endif
18
19#include "wx/prntbase.h"
20
21/*
22 * Represents the printer: manages printing a wxPrintout object
23 */
24
25class WXDLLEXPORT wxMacPrinter: public wxPrinterBase
26{
27 DECLARE_DYNAMIC_CLASS(wxMacPrinter)
28
29 public:
30 wxMacPrinter(wxPrintData *data = NULL);
31 ~wxMacPrinter(void);
32
33 virtual bool Print(wxWindow *parent, wxPrintout *printout, bool prompt = TRUE);
34 virtual bool PrintDialog(wxWindow *parent);
35 virtual bool Setup(wxWindow *parent);
36
37 private:
38};
39
40/*
41 * wxPrintPreview
42 * Programmer creates an object of this class to preview a wxPrintout.
43 */
44
45class WXDLLEXPORT wxMacPrintPreview: public wxPrintPreviewBase
46{
47 DECLARE_CLASS(wxMacPrintPreview)
48
49 public:
50 wxMacPrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting = NULL, wxPrintData *data = NULL);
51 ~wxMacPrintPreview(void);
52
53 virtual bool Print(bool interactive);
54 virtual void DetermineScaling(void);
55};
56
57#endif
58 // _WX_PRINTWIN_H_