Fix warnings on FreeBSD
[oweals/cde.git] / cde / programs / dtappbuilder / src / abmf / obj_namesP.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 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
24 /*
25  *      $XConsortium: obj_namesP.h /main/3 1995/11/06 18:11:24 rswiston $
26  *
27  *      @(#)obj_namesP.h        1.21 01 May 1995        cde_app_builder/src/abmf
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  * obj_namesP.h - C/Widget/other names for objects
45  */
46 #ifndef _ABMF_OBJ_NAMESP_H_
47 #define _ABMF_OBJ_NAMESP_H_
48
49 #include "write_codeP.h"
50
51 /*
52  * Objects
53  */
54 /*
55  * abmfP_get_c_name is *real* smart.  It determines the name
56  * based on the state of code generation.  Use it a lot!
57  */
58 STRING  abmfP_get_action_name(ABObj action);
59 STRING  abmfP_get_c_array_of_selected_bools_name(ABObj obj);
60 STRING  abmfP_get_c_array_of_widgets_name(ABObj obj);
61 STRING  abmfP_get_c_array_of_names_name(ABObj obj);
62 STRING  abmfP_get_c_array_of_strings_name(ABObj obj);
63 STRING  abmfP_get_c_array_of_mnemonics_name(ABObj obj);
64 STRING  abmfP_get_c_array_of_xmstrings_name(ABObj obj);
65 STRING  abmfP_get_c_name(GenCodeInfo genCodeInfo, ABObj obj);
66 STRING  abmfP_get_c_name_global(ABObj obj);
67 STRING  abmfP_get_c_name_in_inst(ABObj obj);
68 STRING  abmfP_get_c_name_in_subinst(ABObj obj);
69 STRING  abmfP_get_c_field_name(ABObj obj);
70
71 /*
72  * Structs
73  */
74 STRING  abmfP_get_c_struct_type_name(ABObj obj);
75 STRING  abmfP_get_c_struct_ptr_type_name(ABObj obj);
76 STRING  abmfP_get_c_struct_global_name(ABObj obj);
77 STRING  abmfP_get_c_struct_name(GenCodeInfo, ABObj obj);
78 STRING  abmfP_get_c_struct_ptr_name(GenCodeInfo, ABObj obj);
79
80 /*
81  * Substructs
82  */
83 STRING  abmfP_get_c_substruct_global_name(ABObj);
84 STRING  abmfP_get_c_substruct_field_name(ABObj obj);
85 STRING  abmfP_get_c_substruct_type_name(ABObj obj);
86 STRING  abmfP_get_c_substruct_ptr_type_name(ABObj obj);
87 STRING  abmfP_get_c_substruct_name(GenCodeInfo, ABObj obj);
88
89 /*
90  * Procedures
91  */
92 STRING  abmfP_get_clear_proc_name(ABObj obj);
93 STRING  abmfP_get_msg_clear_proc_name(ABObj module);
94 STRING  abmfP_get_create_proc_name(ABObj obj);
95 STRING  abmfP_get_init_proc_name(ABObj obj);
96
97 /*
98  * Files
99  */
100 STRING  abmfP_get_project_c_file_name(ABObj obj);
101 STRING  abmfP_get_project_header_file_name(ABObj obj);
102 STRING  abmfP_get_utils_c_file_name(ABObj obj);
103 STRING  abmfP_get_utils_header_file_name(ABObj obj);
104 STRING  abmfP_get_stubs_c_file_name(ABObj obj);
105 STRING  abmfP_get_ui_c_file_name(ABObj obj);
106 STRING  abmfP_get_ui_header_file_name(ABObj obj);
107 STRING  abmfP_get_exe_file_name(ABObj obj);
108
109 /*
110  * Widgets
111  */
112 STRING  abmfP_get_app_class_name(ABObj obj);
113 STRING  abmfP_get_widget_name(ABObj obj);
114 STRING  abmfP_get_widget_name_for_res_file(ABObj obj);
115
116 /*
117  * Miscellaneous
118  */
119 STRING  abmfP_get_control_imm_parent_name(ABObj obj);
120 STRING  abmfP_get_c_app_root_win_name(ABObj obj);
121
122 #endif /* _ABMF_OBJ_NAMESP_H_ */