Subversion Repositories tendra.SVN

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
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
/* SCO CID (IXI) ProtocolsP.h,v 1.1 1996/08/08 14:13:12 wendland Exp */
27
 
28
%%
29
#ifndef __MOTIF_P_HEADERS
30
#error Unexpected access to Motif P headers
31
#endif
32
%%
33
 
34
+USE "motif/1_2", "Xm/Protocols.h";
35
+USE "motif/1_2", "Xm/ExtObjectP.h";
36
 
37
+FIELD (struct) _XmProtocolClassPart := {
38
 
39
	XtPointer	extension;
40
};
41
 
42
+TYPEDEF _XmProtocolClassPart XmProtocolClassPart;
43
 
44
+FIELD (struct) _XmProtocolClassRec := { 
45
 
46
	ObjectClassPart		object_class;
47
	XmExtClassPart		ext_class;
48
	XmProtocolClassPart	protocol_class;
49
};
50
 
51
+TYPEDEF _XmProtocolClassRec XmProtocolClassRec;
52
+TYPEDEF _XmProtocolClassRec *XmProtocolObjectClass;
53
 
54
+FIELD (struct) _XmProtocolPart := { 
55
 
56
	XtCallbackRec		pre_hook;
57
	XtCallbackRec		post_hook;
58
	XtCallbackList		callbacks;
59
	Atom			atom;
60
	Boolean			active;
61
};
62
 
63
+TYPEDEF _XmProtocolPart XmProtocolPart;
64
+TYPEDEF _XmProtocolPart *XmProtocolPartPtr;
65
 
66
+FIELD (struct) _XmProtocolRec := { 
67
 
68
	ObjectPart		object;
69
	XmExtPart		ext;
70
	XmProtocolPart		protocol;
71
};
72
 
73
+TYPEDEF _XmProtocolRec XmProtocolRec;
74
+TYPEDEF _XmProtocolRec *XmProtocol;
75
+TYPEDEF _XmProtocolRec **XmProtocolList;
76
 
77
+IFNDEF XmIsProtocol
78
+DEFINE XmIsProtocol(w) %% XtIsSubclass(w, xmProtocolObjectClass) %%;
79
+ENDIF
80
 
81
+EXP lvalue XmProtocolClassRec xmProtocolClassRec;
82
+EXP lvalue WidgetClass xmProtocolObjectClass;
83
 
84
+FIELD (struct) _XmProtocolMgrRec := { 
85
 
86
	Atom			property;
87
	XmProtocolList		protocols;
88
	Cardinal		num_protocols;
89
	Cardinal		max_protocols;
90
};
91
 
92
+TYPEDEF _XmProtocolMgrRec XmProtocolMgrRec;
93
+TYPEDEF _XmProtocolMgrRec *XmProtocolMgr;
94
+TYPEDEF _XmProtocolMgrRec **XmProtocolMgrList;
95
 
96
+FIELD (struct) _XmAllProtocolsMgrRec :={ 
97
 
98
	XmProtocolMgrList	protocol_mgrs;
99
	Cardinal		num_protocol_mgrs;
100
	Cardinal		max_protocol_mgrs;
101
	Widget			shell;
102
};
103
 
104
+TYPEDEF _XmAllProtocolsMgrRec XmAllProtocolsMgrRec;
105
+TYPEDEF _XmAllProtocolsMgrRec *XmAllProtocolsMgr;
106
 
107
+FUNC void _XmInstallProtocols(Widget);
108
 
109