Add GNU LGPL headers to all .c .C and .h files
[oweals/cde.git] / cde / programs / dtappbuilder / src / ab / ab.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
24 /*
25  *      $XConsortium: ab.h /main/3 1995/11/06 17:12:23 rswiston $
26  *
27  * @(#)ab.h     1.49 94/07/31 Copyright 1993 Sun Microsystems
28  *
29  *      RESTRICTED CONFIDENTIAL INFORMATION:
30  *      
31  *      The information in this document is subject to special
32  *      restrictions in a confidential disclosure agreement between
33  *      HP, IBM, Sun, USL, SCO and Univel.  Do not distribute this
34  *      document outside HP, IBM, Sun, USL, SCO, or Univel without
35  *      Sun's specific written approval.  This document and all copies
36  *      and derivative works thereof must be returned or destroyed at
37  *      Sun's request.
38  *
39  *      Copyright 1993 Sun Microsystems, Inc.  All rights reserved.
40  *
41  */
42
43 /*
44  * ab.h 
45  */
46 #ifndef _AB_H_
47 #define _AB_H_
48
49 #include <Xm/Xm.h>
50 #include <nl_types.h>           /* Necessary for message I18N */
51 #include <ab_private/obj.h>
52 #include <ab_private/vwr.h>
53 #include <ab_private/ab_utils.h>
54 #include <Dt/Dt.h>              /* for version information */
55
56
57 #define MODE_BUILD      1
58 #define MODE_TEST_SHOWN 2
59 #define MODE_TEST_PROJ  3
60
61 /*
62  * Determine the version string
63  */
64 #ifdef SDtVERSION_STRING
65     #define AbVERSION_STRING SDtVERSION_STRING
66 #elif defined DtVERSION_STRING
67     #define AbVERSION_STRING DtVERSION_STRING
68 #else
69     #define AbVERSION_STRING "CDE Version Unknown"
70 #endif
71
72
73 extern ABObj            AB_project;
74 extern ABObj            AB_cur_module;
75
76 extern int              AB_builder_mode;
77
78 extern Widget           AB_toplevel;
79
80 extern Widget           AB_cgen_win;
81 extern Widget           AB_proj_window;
82
83 extern Widget           AB_generic_chooser;
84
85 extern Widget           AB_appfw_dialog;
86 extern Widget           AB_attch_ed_dialog;
87 extern Widget           AB_cgen_env_dialog;
88 extern Widget           AB_cgen_prop_dialog;
89 extern Widget           AB_conn_dialog;
90 extern Widget           AB_dnd_dialog;
91 extern Widget           AB_help_dialog;
92 extern Widget           AB_layout_dialog;
93 extern Widget           AB_msgEd_dialog;
94 extern Widget           AB_rev_prop_dialog;
95
96 extern Vwr              Proj_viewer;
97 extern XrmDatabase      AB_db;
98 extern Boolean          AB_btn1_transfer; 
99 extern int              AB_BMenu; 
100
101 /* Needed for message I18N */
102 extern nl_catd          Dtb_project_catd;
103
104 #endif /* _AB_H_ */