dtinfo subtree dtinfo
[oweals/cde.git] / cde / programs / dtinfo / dtinfo / src / Other / AppPrintData.C
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
6  * These libraries and programs are free software; you can
7  * redistribute them and/or modify them under the terms of the GNU
8  * Lesser General Public License as published by the Free Software
9  * Foundation; either version 2 of the License, or (at your option)
10  * any later version.
11  *
12  * These libraries and programs are distributed in the hope that
13  * they will be useful, but WITHOUT ANY WARRANTY; without even the
14  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  * PURPOSE. See the GNU Lesser General Public License for more
16  * details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with these librararies and programs; if not, write
20  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21  * Floor, Boston, MA 02110-1301 USA
22  */
23 /*
24  *  $XConsortium: AppPrintData.cc /main/1 1996/04/22 17:41:23 rcs $
25  *
26  * (c) Copyright 1996 Digital Equipment Corporation.
27  * (c) Copyright 1996 Hewlett-Packard Company.
28  * (c) Copyright 1996 International Business Machines Corp.
29  * (c) Copyright 1996 Sun Microsystems, Inc.
30  * (c) Copyright 1996 Novell, Inc. 
31  * (c) Copyright 1996 FUJITSU LIMITED.
32  * (c) Copyright 1996 Hitachi.
33  *
34  */
35
36 #define C_WindowGeometryPref
37 #define L_Preferences
38
39 #define C_WindowSystem
40 #define L_Other
41
42 #define C_ServiceMgr
43 #define C_MessageMgr
44 #define L_Managers
45
46 #define C_TOC_Element
47 #define L_Basic
48
49 #define USES_OLIAS_FONT
50
51 #include "Prelude.h"
52
53 #include "Exceptions.hh"
54
55 #include <unistd.h>
56
57 //--------- Constructors ----------------------------------
58
59 AppPrintData::AppPrintData()
60 {
61     f_print_data = (DtPrintSetupData*)XtCalloc(1, sizeof(DtPrintSetupData));
62     f_pform = NULL ;
63     f_print_dialog = NULL;
64     f_print_shell = NULL;
65     f_print_only = FALSE;
66     f_outline_element = NULL;
67 };
68
69 //--------- Destructors ----------------------------------
70
71
72 AppPrintData::~AppPrintData()
73 {
74     XtFree((char *)f_print_data);
75 };