Add GNU LGPL headers to all .c .C and .h files
[oweals/cde.git] / cde / programs / dtappbuilder / src / ab / dtbuilder.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 /*** DTB_USER_CODE_START vvv Add file header below vvv ***/
24 /*
25  *      $XConsortium: dtbuilder.h /main/3 1995/11/06 17:29:03 rswiston $
26  *
27  * @(#)dtbuilder.h      1.29 22 Nov 1994 cde_app_builder/src/ab
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 /*** DTB_USER_CODE_END   ^^^ Add file header above ^^^ ***/
44
45 /*
46  * File: dtbuilder.h
47  * Contains: object data structures and callback declarations
48  *
49  * This file was generated by dtcodegen, from project dtbuilder
50  *
51  * Any text may be added between the DTB_USER_CODE_START and
52  * DTB_USER_CODE_END comments (even non-C code). Descriptive comments
53  * are provided only as an aid.
54  *
55  *  ** EDIT ONLY WITHIN SECTIONS MARKED WITH DTB_USER_CODE COMMENTS.  **
56  *  ** ALL OTHER MODIFICATIONS WILL BE OVERWRITTEN. DO NOT MODIFY OR  **
57  *  ** DELETE THE GENERATED COMMENTS!                                 **
58  */
59 #ifndef _DTBUILDER_H_
60 #define _DTBUILDER_H_
61
62 #include <stdlib.h>
63 #include <X11/Intrinsic.h>
64 #include <nl_types.h>
65 #define DTB_PROJECT_CATALOG     "dtbuilder"
66 /* Handle for standard message catalog for the project */
67 extern nl_catd  Dtb_project_catd;
68
69 /*
70  * Structure to store values for Application Resources
71  */
72 typedef struct {
73     char        *session_file;
74     
75     /*** DTB_USER_CODE_START vvv Add structure fields below vvv ***/
76
77     Boolean     use_small_drag_cursor;  /* Workaround for HP cursor bug */
78     Boolean     implied_apply;
79
80     /*** DTB_USER_CODE_END   ^^^ Add structure fields above ^^^ ***/
81 } DtbAppResourceRec;
82
83 void palette_help_pulldown_About_Application_Builder_item_CB1(
84     Widget      widget,
85     XtPointer   clientData,
86     XtPointer   callData
87 );
88
89 void brws_help_pulldown_About_Application_Builder_item_CB1(
90     Widget      widget,
91     XtPointer   clientData,
92     XtPointer   callData
93 );
94
95 void proj_proj_help_menu_About_Application_Builder_item_CB1(
96     Widget      widget,
97     XtPointer   clientData,
98     XtPointer   callData
99 );
100
101 void cgen_win_help_pulldown_About_Application_Builder_item_CB1(
102     Widget      widget,
103     XtPointer   clientData,
104     XtPointer   callData
105 );
106
107 Boolean Session_saveCB(
108     Widget      widget,
109     String      session_file,
110     char ***    argv,
111     int *       argc
112 );
113
114 Boolean Session_restoreCB(
115     Widget      widget,
116     String      session_file
117 );
118
119 void proj_show_new_proj_dlgCB(
120     Widget      widget,
121     XtPointer   clientData,
122     XtPointer   callData
123 );
124
125 void proj_show_open_chooserCB(
126     Widget      widget,
127     XtPointer   clientData,
128     XtPointer   callData
129 );
130
131 void proj_save_projCB(
132     Widget      widget,
133     XtPointer   clientData,
134     XtPointer   callData
135 );
136
137 void proj_show_save_proj_as_chooserCB(
138     Widget      widget,
139     XtPointer   clientData,
140     XtPointer   callData
141 );
142
143 void proj_show_new_module_dlgCB(
144     Widget      widget,
145     XtPointer   clientData,
146     XtPointer   callData
147 );
148
149 void proj_close_projCB(
150     Widget      widget,
151     XtPointer   clientData,
152     XtPointer   callData
153 );
154
155 void proj_show_import_chooserCB(
156     Widget      widget,
157     XtPointer   clientData,
158     XtPointer   callData
159 );
160
161
162 extern DtbAppResourceRec        dtb_app_resource_rec;
163
164
165 /**************************************************************************
166  *** DTB_USER_CODE_START
167  ***
168  *** Add types, macros, and externs here
169  ***/
170 /*** DTB_USER_CODE_END
171  ***
172  *** End of user code section
173  ***
174  **************************************************************************/
175
176
177 #endif /* _DTBUILDER_H_ */