dtinfo: remove register keyword
[oweals/cde.git] / cde / programs / dtinfo / dtinfo / src / Other / AppPrintData.hh
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 libraries 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 // $XConsortium: AppPrintData.hh /main/7 1996/07/26 11:33:03 rcs $
24
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 #ifndef _AppPrintData_hh
36 #define _AppPrintData_hh
37
38 #include <Xm/XmAll.h>
39 #if 0 && defined(PRINTING_SUPPORTED)
40 #include <Xm/Print.h>
41 #endif /* PRINTING_SUPPORTED */
42 #include <Dt/Print.h>
43
44 #include "UAS.hh"
45
46 template <class T> class xList;
47
48 class AppPrintData
49 {
50   public:  // member data
51     Widget f_print_dialog;
52     Widget f_print_shell;
53     Boolean f_print_only;
54     DtPrintSetupData *f_print_data;
55     Widget f_pform;
56     xList<UAS_Pointer<UAS_Common> > *f_print_list;
57     OutlineElement *f_outline_element;  
58     Widget f_pshell_parent;  // widget to parent print shell to
59
60   public:  // functions
61   
62     // Constructing
63     AppPrintData();
64   
65     // Destructing 
66     ~AppPrintData();            
67   
68     // Accessing
69
70     Widget print_dialog() { return f_print_dialog; };
71     Widget print_shell() { return f_print_shell; };
72     Boolean     print_only() { return f_print_only; } 
73     DtPrintSetupData * print_data() { return f_print_data; };
74     xList<UAS_Pointer<UAS_Common> > * print_list() { return f_print_list; };
75
76 };
77
78 #endif