2 |
7u83 |
1 |
/*
|
|
|
2 |
COPYRIGHT NOTICE
|
|
|
3 |
|
|
|
4 |
This program is the proprietary property of IXI Ltd, a subsidiary
|
|
|
5 |
of the Santa Cruz Operation (SCO). Use, reproduction, production
|
|
|
6 |
of amended versions and/or transfer of this program is permitted
|
|
|
7 |
PROVIDED THAT:
|
|
|
8 |
|
|
|
9 |
(a) This legend be preserved on any such reproduction and amended
|
|
|
10 |
version.
|
|
|
11 |
|
|
|
12 |
(b) Any recipient of such reproduction or amended version accept
|
|
|
13 |
the conditions set out in this legend.
|
|
|
14 |
|
|
|
15 |
IXI accepts no liability whatsoever in relation to any use to
|
|
|
16 |
which this program may be put and gives no warranty as to the
|
|
|
17 |
program's suitability for any purpose.
|
|
|
18 |
|
|
|
19 |
All rights reserved.
|
|
|
20 |
|
|
|
21 |
Copyright (c) 1995, 1996
|
|
|
22 |
|
|
|
23 |
*/
|
|
|
24 |
|
|
|
25 |
/*
|
|
|
26 |
Copyright (c) 1996 Open Software Foundation, Inc.
|
|
|
27 |
|
|
|
28 |
All Rights Reserved
|
|
|
29 |
|
|
|
30 |
Permission to use, copy, modify, and distribute this software and its
|
|
|
31 |
documentation for any purpose and without fee is hereby granted, provided
|
|
|
32 |
that the above copyright notice appears in all copies and that both the
|
|
|
33 |
copyright notice and this permission notice appear in supporting
|
|
|
34 |
documentation.
|
|
|
35 |
|
|
|
36 |
OSF DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE
|
|
|
37 |
INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
|
|
38 |
FOR A PARTICULAR PURPOSE.
|
|
|
39 |
|
|
|
40 |
IN NO EVENT SHALL OSF BE LIABLE FOR ANY SPECIAL, INDIRECT, OR
|
|
|
41 |
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
42 |
LOSS OF USE, DATA OR PROFITS, WHETHER IN ACTION OF CONTRACT,
|
|
|
43 |
NEGLIGENCE, OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
|
|
44 |
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
45 |
*/
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
/* SCO CID (IXI) RepType.h,v 1.1 1996/08/08 14:13:17 wendland Exp */
|
|
|
50 |
/* TOG CID (osf_ri) RepType.h,v 1.1 1996/08/08 14:13:17 wendland Exp */
|
|
|
51 |
|
|
|
52 |
+USE "motif/1_2","Xm/Xm.h";
|
|
|
53 |
|
|
|
54 |
+CONST int XmREP_TYPE_INVALID;
|
|
|
55 |
|
|
|
56 |
# osf_ri [fdf] 17/04/96:
|
|
|
57 |
# XmRepType needs to be same size as XtPointer on DEC Alpha / Motif 1.2.3|4
|
|
|
58 |
|
|
|
59 |
+IF %% __STRICT_MOTIF_1_2 %%
|
|
|
60 |
+TYPEDEF unsigned short XmRepTypeId;
|
|
|
61 |
+ELSE
|
|
|
62 |
+TYPE (unsigned) XmRepTypeId.1;
|
|
|
63 |
+ENDIF
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
+FIELD (struct) XmRepTypeEntryRec := {
|
|
|
67 |
String rep_type_name;
|
|
|
68 |
String *value_names;
|
|
|
69 |
unsigned char *values;
|
|
|
70 |
unsigned char num_values;
|
|
|
71 |
Boolean reverse_installed;
|
|
|
72 |
XmRepTypeId rep_type_id;
|
|
|
73 |
};
|
|
|
74 |
|
|
|
75 |
+TYPEDEF XmRepTypeEntryRec *XmRepTypeEntry;
|
|
|
76 |
+TYPEDEF XmRepTypeEntryRec XmRepTypeListRec;
|
|
|
77 |
+TYPEDEF XmRepTypeEntryRec *XmRepTypeList ;
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
+FUNC void XmRepTypeAddReverse(XmRepTypeId);
|
|
|
81 |
+FUNC XmRepTypeId XmRepTypeGetId(String);
|
|
|
82 |
+FUNC String *XmRepTypeGetNameList(XmRepTypeId, Boolean);
|
|
|
83 |
+FUNC XmRepTypeEntry XmRepTypeGetRecord(XmRepTypeId);
|
|
|
84 |
+FUNC XmRepTypeList XmRepTypeGetRegistered(void);
|
|
|
85 |
+FUNC void XmRepTypeInstallTearOffModelConverter(void);
|
|
|
86 |
+FUNC XmRepTypeId XmRepTypeRegister(String, String *, unsigned char *, unsigned char);
|
|
|
87 |
+FUNC Boolean XmRepTypeValidValue(XmRepTypeId, unsigned char, Widget);
|