Debian Codegraph @

src/af/xap/gtk/xap_UnixDlg_PrintPreview.h

raw
1 /* -*- mode: C++; tab-width: 4; c-basic-offset: 4; -*- */
2 /* AbiSource Application Framework
3 * Copyright (C) 1998 AbiSource, Inc.
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18 * 02110-1301 USA.
19 */
20
21 #ifndef XAP_UNIXDIALOG_PRINTPREVIEW_H
22 #define XAP_UNIXDIALOG_PRINTPREVIEW_H
23
24 #include "xap_Dlg_PrintPreview.h"
25
26
27 /*****************************************************************/
28
29 class XAP_UnixDialog_PrintPreview : public XAP_Dialog_PrintPreview
30 {
31 public:
32 XAP_UnixDialog_PrintPreview(XAP_DialogFactory * pDlgFactory, XAP_Dialog_Id id);
33 virtual ~XAP_UnixDialog_PrintPreview(void);
34
35 virtual GR_Graphics * getPrinterGraphicsContext(void);
36 virtual void releasePrinterGraphicsContext(GR_Graphics * pGraphics);
37 virtual void runModal(XAP_Frame * pFrame);
38
39 static XAP_Dialog * static_constructor(XAP_DialogFactory * pFactory,
40 XAP_Dialog_Id id);
41
42 protected:
43
44 GR_Graphics * m_pPrintGraphics;
45 };
46
47 #endif /* XAP_UNIXDIALOG_PRINTPREVIEW_H */