File indexing completed on 2025-01-18 10:15:27
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 #ifndef _XmRepType_h
0024 #define _XmRepType_h
0025
0026
0027 #include <Xm/Xm.h>
0028
0029
0030 #ifdef __cplusplus
0031 extern "C" {
0032 #endif
0033
0034
0035 #define XmREP_TYPE_INVALID 0x1FFF
0036
0037 typedef unsigned short XmRepTypeId ;
0038
0039 typedef struct
0040 {
0041 String rep_type_name ;
0042 String *value_names ;
0043 unsigned char *values ;
0044 unsigned char num_values ;
0045 Boolean reverse_installed ;
0046 XmRepTypeId rep_type_id ;
0047 }XmRepTypeEntryRec, *XmRepTypeEntry, XmRepTypeListRec, *XmRepTypeList ;
0048
0049
0050
0051
0052 extern XmRepTypeId XmRepTypeRegister(
0053 String rep_type,
0054 String *value_names,
0055 unsigned char *values,
0056 #if NeedWidePrototypes
0057 unsigned int num_values) ;
0058 #else
0059 unsigned char num_values) ;
0060 #endif
0061 extern void XmRepTypeAddReverse(
0062 #if NeedWidePrototypes
0063 int rep_type_id) ;
0064 #else
0065 XmRepTypeId rep_type_id) ;
0066 #endif
0067 extern Boolean XmRepTypeValidValue(
0068 #if NeedWidePrototypes
0069 int rep_type_id,
0070 unsigned int test_value,
0071 #else
0072 XmRepTypeId rep_type_id,
0073 unsigned char test_value,
0074 #endif
0075 Widget enable_default_warning) ;
0076 extern XmRepTypeList XmRepTypeGetRegistered( void ) ;
0077 extern XmRepTypeEntry XmRepTypeGetRecord(
0078 #if NeedWidePrototypes
0079 int rep_type_id) ;
0080 #else
0081 XmRepTypeId rep_type_id) ;
0082 #endif
0083 extern XmRepTypeId XmRepTypeGetId(
0084 String rep_type) ;
0085 extern String * XmRepTypeGetNameList(
0086 #if NeedWidePrototypes
0087 int rep_type_id,
0088 int use_uppercase_format) ;
0089 #else
0090 XmRepTypeId rep_type_id,
0091 Boolean use_uppercase_format) ;
0092 #endif
0093 extern void XmRepTypeInstallTearOffModelConverter( void ) ;
0094
0095
0096
0097
0098
0099 #ifdef __cplusplus
0100 }
0101 #endif
0102
0103 #endif
0104