2 |
7u83 |
1 |
/*
|
|
|
2 |
COPYRIGHT NOTICE
|
|
|
3 |
|
|
|
4 |
This program is the proprietary property of the Secretary of State
|
|
|
5 |
for Defence (United Kingdom) acting through the Defence Research
|
|
|
6 |
Agency (DRA). Use, reproduction, production of amended versions
|
|
|
7 |
and/or transfer of this program is permitted PROVIDED THAT:
|
|
|
8 |
|
|
|
9 |
(a) This legend be preserved on any such reproduction and amended
|
|
|
10 |
version.
|
|
|
11 |
|
|
|
12 |
(b) Any amended version of this program be clearly marked to show
|
|
|
13 |
the nature of the amendment and the name of the amending
|
|
|
14 |
organisation.
|
|
|
15 |
|
|
|
16 |
(c) Any recipient of such reproduction or amended version accept
|
|
|
17 |
the conditions set out in this legend.
|
|
|
18 |
|
|
|
19 |
The DRA accepts no liability whatsoever in relation to any use to
|
|
|
20 |
which this program may be put and gives no warranty as to the
|
|
|
21 |
program's suitability for any purpose.
|
|
|
22 |
|
|
|
23 |
All rights reserved.
|
|
|
24 |
|
|
|
25 |
Crown Copyright (c) 1994.
|
|
|
26 |
*/
|
|
|
27 |
|
|
|
28 |
/*
|
|
|
29 |
COPYRIGHT NOTICE
|
|
|
30 |
|
|
|
31 |
This program contains amendments to Motif 1.1 API headers in
|
|
|
32 |
order to represent the Motif 1.2 API. These amendments are the
|
|
|
33 |
property of IXI Ltd, a subsidiary of the Santa Cruz Operation (SCO).
|
|
|
34 |
Use, reproduction, production of amended versions and/or transfer of
|
|
|
35 |
this program is permitted PROVIDED THAT:
|
|
|
36 |
|
|
|
37 |
(a) This legend be preserved on any such reproduction and amended
|
|
|
38 |
version.
|
|
|
39 |
|
|
|
40 |
(b) Any recipient of such reproduction or amended version accept
|
|
|
41 |
the conditions set out in this legend.
|
|
|
42 |
|
|
|
43 |
IXI accepts no liability whatsoever in relation to any use to
|
|
|
44 |
which this program may be put and gives no warranty as to the
|
|
|
45 |
program's suitability for any purpose.
|
|
|
46 |
|
|
|
47 |
All rights reserved.
|
|
|
48 |
|
|
|
49 |
Copyright (c) 1995, 1996
|
|
|
50 |
*/
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
/* SCO CID (IXI) CutPaste.h,v 1.1 1996/08/08 14:12:26 wendland Exp */
|
|
|
54 |
|
|
|
55 |
+USE "motif/1_2","Xm/Xm.h" ;
|
|
|
56 |
|
|
|
57 |
+CONST int XmClipboardFail;
|
|
|
58 |
+CONST int XmClipboardSuccess;
|
|
|
59 |
+CONST int XmClipboardTruncate;
|
|
|
60 |
+CONST int XmClipboardLocked;
|
|
|
61 |
+CONST int XmClipboardBadFormat;
|
|
|
62 |
+CONST int XmClipboardNoData;
|
|
|
63 |
|
|
|
64 |
/* pre 1.2 definitions */
|
|
|
65 |
+CONST int ClipboardFail;
|
|
|
66 |
+CONST int ClipboardSuccess;
|
|
|
67 |
+CONST int ClipboardTruncate;
|
|
|
68 |
+CONST int ClipboardLocked;
|
|
|
69 |
+CONST int ClipboardBadFormat;
|
|
|
70 |
+CONST int ClipboardNoData;
|
|
|
71 |
|
|
|
72 |
+FIELD (struct) XmClipboardPendingRec := {
|
|
|
73 |
|
|
|
74 |
long DataId;
|
|
|
75 |
long PrivateId;
|
|
|
76 |
};
|
|
|
77 |
|
|
|
78 |
+TYPEDEF XmClipboardPendingRec *XmClipboardPendingList;
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
+TYPEDEF void (*XmCutPasteProc)(Widget, long *, long *, int *);
|
|
|
82 |
+TYPEDEF void (*VoidProc)(Widget, int *, int *, int *);
|
|
|
83 |
|
|
|
84 |
|
|
|
85 |
+FUNC int XmClipboardBeginCopy(
|
|
|
86 |
Display *display,
|
|
|
87 |
Window window,
|
|
|
88 |
XmString label,
|
|
|
89 |
Widget widget,
|
|
|
90 |
VoidProc callback,
|
|
|
91 |
long *itemid) ;
|
|
|
92 |
+FUNC int XmClipboardStartCopy(
|
|
|
93 |
Display *display,
|
|
|
94 |
Window window,
|
|
|
95 |
XmString label,
|
|
|
96 |
Time timestamp,
|
|
|
97 |
Widget widget,
|
|
|
98 |
XmCutPasteProc callback,
|
|
|
99 |
long *itemid) ;
|
|
|
100 |
+FUNC int XmClipboardCopy(
|
|
|
101 |
Display *display,
|
|
|
102 |
Window window,
|
|
|
103 |
long itemid,
|
|
|
104 |
char *format,
|
|
|
105 |
XtPointer buffer,
|
|
|
106 |
unsigned long length,
|
|
|
107 |
long private_id,
|
|
|
108 |
long *dataid) ;
|
|
|
109 |
+FUNC int XmClipboardEndCopy(
|
|
|
110 |
Display *display,
|
|
|
111 |
Window window,
|
|
|
112 |
long itemid) ;
|
|
|
113 |
+FUNC int XmClipboardCancelCopy(
|
|
|
114 |
Display *display,
|
|
|
115 |
Window window,
|
|
|
116 |
long itemid) ;
|
|
|
117 |
+FUNC int XmClipboardWithdrawFormat(
|
|
|
118 |
Display *display,
|
|
|
119 |
Window window,
|
|
|
120 |
long data) ;
|
|
|
121 |
+FUNC int XmClipboardCopyByName(
|
|
|
122 |
Display *display,
|
|
|
123 |
Window window,
|
|
|
124 |
long data,
|
|
|
125 |
XtPointer buffer,
|
|
|
126 |
unsigned long length,
|
|
|
127 |
long private_id) ;
|
|
|
128 |
+FUNC int XmClipboardUndoCopy(
|
|
|
129 |
Display *display,
|
|
|
130 |
Window window) ;
|
|
|
131 |
+FUNC int XmClipboardLock(
|
|
|
132 |
Display *display,
|
|
|
133 |
Window window) ;
|
|
|
134 |
+FUNC int XmClipboardUnlock(
|
|
|
135 |
Display *display,
|
|
|
136 |
Window window,
|
|
|
137 |
Boolean all_levels) ;
|
|
|
138 |
+FUNC int XmClipboardStartRetrieve(
|
|
|
139 |
Display *display,
|
|
|
140 |
Window window,
|
|
|
141 |
Time timestamp) ;
|
|
|
142 |
+FUNC int XmClipboardEndRetrieve(
|
|
|
143 |
Display *display,
|
|
|
144 |
Window window) ;
|
|
|
145 |
+FUNC int XmClipboardRetrieve(
|
|
|
146 |
Display *display,
|
|
|
147 |
Window window,
|
|
|
148 |
char *format,
|
|
|
149 |
XtPointer buffer,
|
|
|
150 |
unsigned long length,
|
|
|
151 |
unsigned long *outlength,
|
|
|
152 |
long *private_id) ;
|
|
|
153 |
+FUNC int XmClipboardInquireCount(
|
|
|
154 |
Display *display,
|
|
|
155 |
Window window,
|
|
|
156 |
int *count,
|
|
|
157 |
unsigned long *maxlength) ;
|
|
|
158 |
+FUNC int XmClipboardInquireFormat(
|
|
|
159 |
Display *display,
|
|
|
160 |
Window window,
|
|
|
161 |
int n,
|
|
|
162 |
XtPointer buffer,
|
|
|
163 |
unsigned long bufferlength,
|
|
|
164 |
unsigned long *outlength) ;
|
|
|
165 |
+FUNC int XmClipboardInquireLength(
|
|
|
166 |
Display *display,
|
|
|
167 |
Window window,
|
|
|
168 |
char *format,
|
|
|
169 |
unsigned long *length) ;
|
|
|
170 |
+FUNC int XmClipboardInquirePendingItems(
|
|
|
171 |
Display *display,
|
|
|
172 |
Window window,
|
|
|
173 |
char *format,
|
|
|
174 |
XmClipboardPendingList *list,
|
|
|
175 |
unsigned long *count) ;
|
|
|
176 |
+FUNC int XmClipboardRegisterFormat(
|
|
|
177 |
Display *display,
|
|
|
178 |
char *format_name,
|
|
|
179 |
int format_length) ;
|
|
|
180 |
|
|
|
181 |
|