Create Xref-Html Frames Remove All Frames
file:c:/local/Cygwin/usr/X11R6/include/Xm/RepType.h (Tue Mar 30 23:22:40 2004
)
1: /**
2: *
3: * $Id: RepType.h,v 1.3 2000/09/23 14:51:40 amai Exp $
4: *
5: * Copyright (C) 1995 Free Software Foundation, Inc.
6: * Copyright (C) 1995-2000 LessTif Development Team
7: *
8: * This file is part of the GNU LessTif Library.
9: *
10: * This library is free software; you can redistribute it and/or
11: * modify it under the terms of the GNU Library General Public
12: * License as published by the Free Software Foundation; either
13: * version 2 of the License, or (at your option) any later version.
14: *
15: * This library is distributed in the hope that it will be useful,
16: * but WITHOUT ANY WARRANTY; without even the implied warranty of
17: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18: * Library General Public License for more details.
19: *
20: * You should have received a copy of the GNU Library General Public
21: * License along with this library; if not, write to the Free
22: * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23: *
24: **/
25:
26: #ifndef _XM_REPTYPE_H
27: #define _XM_REPTYPE_H
28:
29: #include <Xm/Xm.h>
30:
31: #ifdef __cplusplus
32: extern "C" {
33: #endif
34:
35: enum {
36: XmREP_TYPE_INVALID = 0x1FFF
37: };
38:
39: typedef short XmRepTypeId;
40:
41: typedef struct {
42: String rep_type_name;
43: String *value_names;
44: unsigned char *values;
45: unsigned char num_values;
46: Boolean reverse_installed;
47: XmRepTypeId rep_type_id;
48: } XmRepTypeEntryRec, *XmRepTypeEntry, XmRepTypeListRec, *XmRepTypeList;
49:
50: void XmRepTypeAddReverse(XmRepTypeId rep_type_id);
51: XmRepTypeId XmRepTypeGetId(String rep_type);
52: String *XmRepTypeGetNameList(XmRepTypeId rep_type_id,
53: Boolean use_uppercase_format);
54: XmRepTypeEntry XmRepTypeGetRecord(XmRepTypeId rep_type_id);
55: XmRepTypeList XmRepTypeGetRegistered(void);
56: void XmRepTypeInstallTearOffModelConverter(void);
57: XmRepTypeId XmRepTypeRegister(String rep_type,
58: String *value_names,
59: unsigned char *values,
60: unsigned char num_values);
61: Boolean XmRepTypeValidValue(XmRepTypeId rep_type_id,
62: unsigned char test_value,
63: Widget enable_default_warning);
64:
65: #ifdef __cplusplus
66: }
67: #endif
68:
69: #endif /* _XM_REPTYPE_H */
70:
Html form generated by Xrefactory version 1.6.7 on Fri Sep 03 17:18:59 2004