Use C++ linker
[oweals/cde.git] / cde / programs / dtwm / PanelSP.h
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 /* $XConsortium: PanelSP.h /main/3 1995/11/01 11:27:59 rswiston $ */
24
25 #ifndef _DtPanelShellP_h
26 #define _DtPanelShellP_h
27
28 #include <Xm/XmP.h>
29 #include <X11/ShellP.h>
30 #include "PanelS.h"
31
32
33 typedef struct _DtPanelShellClassPart
34     {
35     XtPointer           extension;
36     }   DtPanelShellClassPart;
37
38 typedef struct _DtPanelShellClassRec
39     {
40     CoreClassPart       core_class;
41     CompositeClassPart  composite_class;
42     ShellClassPart      shell_class;
43     WMShellClassPart    wm_shell_class;
44     VendorShellClassPart        vendor_shell_class;
45     TopLevelShellClassPart      top_level_shell_class;
46     DtPanelShellClassPart       application_shell_class;
47     }   DtPanelShellClassRec;
48
49 extern DtPanelShellClassRec dtPanelShellClassRec;
50
51
52 typedef struct _DtPanelShellPart
53     {
54     XmFontList          high_res_font_list;
55     XmFontList          medium_res_font_list;
56     XmFontList          low_res_font_list;
57     Dimension           resolution;
58     }   DtPanelShellPart;
59
60 typedef struct _DtPanelShellRec
61     {
62     CorePart            core;
63     CompositePart       composite;
64     ShellPart           shell;
65     WMShellPart         wm;
66     VendorShellPart     vendor;
67     TopLevelShellPart   topLevel;
68     DtPanelShellPart    panel;
69     }   DtPanelShellRec;
70
71
72 /*-------------------------------------------------------------
73 **      Class and Instance Macros
74 */
75
76 /*      DtPanelShell Class Macros
77 */      
78
79 /*      DtPanelShell Instance Macros
80 */
81 #define S_Resolution(s)         (s -> panel.resolution)
82 #define S_HighResFontList(s)    (s -> panel.high_res_font_list)
83 #define S_MediumResFontList(s)  (s -> panel.medium_res_font_list)
84 #define S_LowResFontList(s)     (s -> panel.low_res_font_list)
85
86
87 #endif /* _DtPanelShellP_h */