Add GNU LGPL headers to all .c .C and .h files
[oweals/cde.git] / cde / programs / dtappbuilder / src / ab / propP.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: propP.h /main/3 1995/11/06 17:48:54 rswiston $
26  *
27  * @(#)propP.h  1.7 95/04/27 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  * propP.h -    Module-private defines structures/routines required for 
45  *              property sheets
46  */
47 #ifndef _PROPP_H_
48 #define _PROPP_H_
49
50 #include <X11/Intrinsic.h>
51 #include <values.h>
52 #include <ab_private/obj.h>
53 #include <ab_private/pal.h>
54 #include <ab_private/abobj_edit.h>
55
56 /*
57  * Enum values for Prop Sheet Mode
58  */
59 typedef enum
60 {
61         PROP_LOAD,
62         PROP_EDIT,
63         PROP_MODE_NUM_VALUES
64 } PROP_MODE;
65
66
67
68 /*
69  * Property Dialog Manipulation Routines
70  */
71 extern void     propP_changebar_init(
72                     Widget      changebar,
73                     Widget      setting
74                 );
75
76 extern void     propP_combobox_chgCB(
77                     Widget      field,
78                     XtPointer   clientdata,
79                     XtPointer   calldata
80                 );
81
82 extern void     propP_field_chgCB(
83                     Widget      field,
84                     XtPointer   clientdata,
85                     XtPointer   calldata
86                 );
87 extern int      propP_field_set_value(
88                     Widget              field,
89                     STRING              value,
90                     BOOL                trip_changebar
91                 );
92 extern int      propP_field_set_numeric_value(
93                     Widget              field,
94                     int                 value,
95                     BOOL                trip_changebar
96                 );
97
98 extern void     propP_labeltypeCB(
99                     Widget      item,
100                     XtPointer   clientdata,
101                     XtPointer   calldata
102                 );
103 extern void     propP_options_itemCB(
104                     Widget      item,
105                     XtPointer   clientdata,
106                     XtPointer   calldata
107                 );
108 extern  void    propP_popup_message(
109                     Widget      w,
110                     STRING      msg,
111                     BOOL        modal
112                 );
113 extern void     propP_radiobox_itemCB(
114                     Widget      item,
115                     XtPointer   clientdata,
116                     XtPointer   calldata
117                 );
118 extern void     propP_setting_chgCB(
119                     Widget      item,
120                     XtPointer   clientdata,
121                     XtPointer   calldata
122                 );
123
124 #endif /* _PROPP_H_ */