1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
|
/*
* This file was generated by orbit-idl-2 - DO NOT EDIT!
*/
#include <string.h>
#define ORBIT2_STUBS_API
#define ORBIT_IDL_C_COMMON
#define nitpicker_COMMON
#include "nitpicker.h"
static const CORBA_unsigned_long ORBit_zero_int = 0;
#ifndef ORBIT_IDL_C_IMODULE_nitpicker
void _ORBIT_skel_small_nitpicker_alive(POA_nitpicker *_o_servant, gpointer _o_retval,gpointer *_o_args,CORBA_Context _o_ctx,CORBA_Environment *_o_ev,
CORBA_long (*_impl_alive)(PortableServer_Servant _servant, CORBA_Environment *ev)) {
*(CORBA_long *)_o_retval = _impl_alive (_o_servant, _o_ev);
}
void _ORBIT_skel_small_nitpicker_donate_memory(POA_nitpicker *_o_servant, gpointer _o_retval,gpointer *_o_args,CORBA_Context _o_ctx,CORBA_Environment *_o_ev,
CORBA_long (*_impl_donate_memory)(PortableServer_Servant _servant, const shared_buffer_info_t* ds, const CORBA_long max_views, const CORBA_long max_buffers, CORBA_Environment *ev)) {
*(CORBA_long *)_o_retval = _impl_donate_memory (_o_servant, (const shared_buffer_info_t*)_o_args[0], *(const CORBA_long *)_o_args[1], *(const CORBA_long *)_o_args[2], _o_ev);
}
void _ORBIT_skel_small_nitpicker_get_screen_info(POA_nitpicker *_o_servant, gpointer _o_retval,gpointer *_o_args,CORBA_Context _o_ctx,CORBA_Environment *_o_ev,
CORBA_long (*_impl_get_screen_info)(PortableServer_Servant _servant, CORBA_long* w, CORBA_long* h, CORBA_long* mode, CORBA_Environment *ev)) {
*(CORBA_long *)_o_retval = _impl_get_screen_info (_o_servant, *(CORBA_long* *)_o_args[0], *(CORBA_long* *)_o_args[1], *(CORBA_long* *)_o_args[2], _o_ev);
}
void _ORBIT_skel_small_nitpicker_import_buffer(POA_nitpicker *_o_servant, gpointer _o_retval,gpointer *_o_args,CORBA_Context _o_ctx,CORBA_Environment *_o_ev,
CORBA_long (*_impl_import_buffer)(PortableServer_Servant _servant, const shared_buffer_info_t* ds, const CORBA_long w, const CORBA_long h, CORBA_Environment *ev)) {
*(CORBA_long *)_o_retval = _impl_import_buffer (_o_servant, (const shared_buffer_info_t*)_o_args[0], *(const CORBA_long *)_o_args[1], *(const CORBA_long *)_o_args[2], _o_ev);
}
void _ORBIT_skel_small_nitpicker_remove_buffer(POA_nitpicker *_o_servant, gpointer _o_retval,gpointer *_o_args,CORBA_Context _o_ctx,CORBA_Environment *_o_ev,
void (*_impl_remove_buffer)(PortableServer_Servant _servant, const CORBA_long buf_id, CORBA_Environment *ev)) {
_impl_remove_buffer (_o_servant, *(const CORBA_long *)_o_args[0], _o_ev);
}
void _ORBIT_skel_small_nitpicker_refresh(POA_nitpicker *_o_servant, gpointer _o_retval,gpointer *_o_args,CORBA_Context _o_ctx,CORBA_Environment *_o_ev,
void (*_impl_refresh)(PortableServer_Servant _servant, const CORBA_long buf_id, const CORBA_long x, const CORBA_long y, const CORBA_long w, const CORBA_long h, CORBA_Environment *ev)) {
_impl_refresh (_o_servant, *(const CORBA_long *)_o_args[0], *(const CORBA_long *)_o_args[1], *(const CORBA_long *)_o_args[2], *(const CORBA_long *)_o_args[3], *(const CORBA_long *)_o_args[4], _o_ev);
}
void _ORBIT_skel_small_nitpicker_new_view(POA_nitpicker *_o_servant, gpointer _o_retval,gpointer *_o_args,CORBA_Context _o_ctx,CORBA_Environment *_o_ev,
CORBA_long (*_impl_new_view)(PortableServer_Servant _servant, const CORBA_long buf_id, const Nitevent listener, CORBA_Environment *ev)) {
*(CORBA_long *)_o_retval = _impl_new_view (_o_servant, *(const CORBA_long *)_o_args[0], *(const Nitevent *)_o_args[1], _o_ev);
}
void _ORBIT_skel_small_nitpicker_destroy_view(POA_nitpicker *_o_servant, gpointer _o_retval,gpointer *_o_args,CORBA_Context _o_ctx,CORBA_Environment *_o_ev,
void (*_impl_destroy_view)(PortableServer_Servant _servant, const CORBA_long view_id, CORBA_Environment *ev)) {
_impl_destroy_view (_o_servant, *(const CORBA_long *)_o_args[0], _o_ev);
}
void _ORBIT_skel_small_nitpicker_set_view_port(POA_nitpicker *_o_servant, gpointer _o_retval,gpointer *_o_args,CORBA_Context _o_ctx,CORBA_Environment *_o_ev,
CORBA_long (*_impl_set_view_port)(PortableServer_Servant _servant, const CORBA_long view_id, const CORBA_long buf_x, const CORBA_long buf_y, const CORBA_long x, const CORBA_long y, const CORBA_long w, const CORBA_long h, const CORBA_long do_redraw, CORBA_Environment *ev)) {
*(CORBA_long *)_o_retval = _impl_set_view_port (_o_servant, *(const CORBA_long *)_o_args[0], *(const CORBA_long *)_o_args[1], *(const CORBA_long *)_o_args[2], *(const CORBA_long *)_o_args[3], *(const CORBA_long *)_o_args[4], *(const CORBA_long *)_o_args[5], *(const CORBA_long *)_o_args[6], *(const CORBA_long *)_o_args[7], _o_ev);
}
void _ORBIT_skel_small_nitpicker_stack_view(POA_nitpicker *_o_servant, gpointer _o_retval,gpointer *_o_args,CORBA_Context _o_ctx,CORBA_Environment *_o_ev,
CORBA_long (*_impl_stack_view)(PortableServer_Servant _servant, const CORBA_long view_id, const CORBA_long neighbor_id, const CORBA_long behind, const CORBA_long do_redraw, CORBA_Environment *ev)) {
*(CORBA_long *)_o_retval = _impl_stack_view (_o_servant, *(const CORBA_long *)_o_args[0], *(const CORBA_long *)_o_args[1], *(const CORBA_long *)_o_args[2], *(const CORBA_long *)_o_args[3], _o_ev);
}
void _ORBIT_skel_small_nitpicker_set_view_title(POA_nitpicker *_o_servant, gpointer _o_retval,gpointer *_o_args,CORBA_Context _o_ctx,CORBA_Environment *_o_ev,
CORBA_long (*_impl_set_view_title)(PortableServer_Servant _servant, const CORBA_long view_id, const CORBA_char * title, CORBA_Environment *ev)) {
*(CORBA_long *)_o_retval = _impl_set_view_title (_o_servant, *(const CORBA_long *)_o_args[0], *(const CORBA_char * *)_o_args[1], _o_ev);
}
void _ORBIT_skel_small_nitpicker_set_background(POA_nitpicker *_o_servant, gpointer _o_retval,gpointer *_o_args,CORBA_Context _o_ctx,CORBA_Environment *_o_ev,
CORBA_long (*_impl_set_background)(PortableServer_Servant _servant, const CORBA_long view_id, CORBA_Environment *ev)) {
*(CORBA_long *)_o_retval = _impl_set_background (_o_servant, *(const CORBA_long *)_o_args[0], _o_ev);
}
void _ORBIT_skel_small_nitpicker_set_mousemode(POA_nitpicker *_o_servant, gpointer _o_retval,gpointer *_o_args,CORBA_Context _o_ctx,CORBA_Environment *_o_ev,
CORBA_long (*_impl_set_mousemode)(PortableServer_Servant _servant, const CORBA_long view_id, const CORBA_long mode, CORBA_Environment *ev)) {
*(CORBA_long *)_o_retval = _impl_set_mousemode (_o_servant, *(const CORBA_long *)_o_args[0], *(const CORBA_long *)_o_args[1], _o_ev);
}
#endif
#if ( (TC_IMPL_TC_shared_buffer_info_t_0 == 'n') \
&& (TC_IMPL_TC_shared_buffer_info_t_1 == 'i') \
&& (TC_IMPL_TC_shared_buffer_info_t_2 == 't') \
&& (TC_IMPL_TC_shared_buffer_info_t_3 == 'p') \
&& (TC_IMPL_TC_shared_buffer_info_t_4 == 'i') \
&& (TC_IMPL_TC_shared_buffer_info_t_5 == 'c') \
&& (TC_IMPL_TC_shared_buffer_info_t_6 == 'k') \
&& (TC_IMPL_TC_shared_buffer_info_t_7 == 'e') \
&& (TC_IMPL_TC_shared_buffer_info_t_8 == 'r') \
) && !defined(TC_DEF_TC_shared_buffer_info_t)
#define TC_DEF_TC_shared_buffer_info_t 1
static const char *anon_subnames_array0[] = {"name"};
static ORBIT2_MAYBE_CONST CORBA_TypeCode anon_subtypes_array1[] = {(CORBA_TypeCode)&TC_CORBA_char_struct};
#ifdef ORBIT_IDL_C_IMODULE_nitpicker
static
#endif
ORBIT2_MAYBE_CONST struct CORBA_TypeCode_struct TC_shared_buffer_info_t_struct = {
{&ORBit_TypeCode_epv, ORBIT_REFCOUNT_STATIC},
CORBA_tk_struct,
0,
0,
ORBIT_ALIGNOF_CORBA_CHAR,
0,
1
,
(CORBA_TypeCode *)anon_subtypes_array1,
CORBA_OBJECT_NIL,
"shared_buffer_info_t",
"IDL:shared_buffer_info_t:1.0",
(char **)anon_subnames_array0,
NULL,
-1,
0,
0, 0
};
#endif
#if ( (TC_IMPL_TC_Nitevent_0 == 'n') \
&& (TC_IMPL_TC_Nitevent_1 == 'i') \
&& (TC_IMPL_TC_Nitevent_2 == 't') \
&& (TC_IMPL_TC_Nitevent_3 == 'p') \
&& (TC_IMPL_TC_Nitevent_4 == 'i') \
&& (TC_IMPL_TC_Nitevent_5 == 'c') \
&& (TC_IMPL_TC_Nitevent_6 == 'k') \
&& (TC_IMPL_TC_Nitevent_7 == 'e') \
&& (TC_IMPL_TC_Nitevent_8 == 'r') \
) && !defined(TC_DEF_TC_Nitevent)
#define TC_DEF_TC_Nitevent 1
#ifdef ORBIT_IDL_C_IMODULE_nitpicker
static
#endif
ORBIT2_MAYBE_CONST struct CORBA_TypeCode_struct TC_Nitevent_struct = {
{&ORBit_TypeCode_epv, ORBIT_REFCOUNT_STATIC},
CORBA_tk_objref,
0,
0,
ORBIT_ALIGNOF_CORBA_POINTER,
0,
0
,
NULL,
CORBA_OBJECT_NIL,
"Nitevent",
"IDL:Nitevent:1.0",
NULL,
NULL,
-1,
0,
0, 0
};
#endif
#if ( (TC_IMPL_TC_nitpicker_0 == 'n') \
&& (TC_IMPL_TC_nitpicker_1 == 'i') \
&& (TC_IMPL_TC_nitpicker_2 == 't') \
&& (TC_IMPL_TC_nitpicker_3 == 'p') \
&& (TC_IMPL_TC_nitpicker_4 == 'i') \
&& (TC_IMPL_TC_nitpicker_5 == 'c') \
&& (TC_IMPL_TC_nitpicker_6 == 'k') \
&& (TC_IMPL_TC_nitpicker_7 == 'e') \
&& (TC_IMPL_TC_nitpicker_8 == 'r') \
) && !defined(TC_DEF_TC_nitpicker)
#define TC_DEF_TC_nitpicker 1
#ifdef ORBIT_IDL_C_IMODULE_nitpicker
static
#endif
ORBIT2_MAYBE_CONST struct CORBA_TypeCode_struct TC_nitpicker_struct = {
{&ORBit_TypeCode_epv, ORBIT_REFCOUNT_STATIC},
CORBA_tk_objref,
0,
0,
ORBIT_ALIGNOF_CORBA_POINTER,
0,
0
,
NULL,
CORBA_OBJECT_NIL,
"nitpicker",
"IDL:nitpicker:1.0",
NULL,
NULL,
-1,
0,
0, 0
};
#endif
#ifndef ORBIT_IDL_C_IMODULE_nitpicker
CORBA_unsigned_long Nitevent__classid = 0;
#endif
#ifndef ORBIT_IDL_C_IMODULE_nitpicker
CORBA_unsigned_long nitpicker__classid = 0;
#endif
/* Interface type data */
static CORBA_string Nitevent__base_itypes[] = {
"IDL:omg.org/CORBA/Object:1.0"
};
#ifdef ORBIT_IDL_C_IMODULE_nitpicker
static
#endif
ORBit_IInterface Nitevent__iinterface = {
TC_Nitevent,{0, 0, Nitevent__imethods, FALSE},
{1, 1, Nitevent__base_itypes, FALSE}
};
static ORBit_IArg nitpicker_donate_memory__arginfo [] = {
{ TC_shared_buffer_info_t, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "ds" },
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "max_views" },
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "max_buffers" }
};
static ORBit_IArg nitpicker_get_screen_info__arginfo [] = {
{ TC_CORBA_long, ORBit_I_ARG_OUT | ORBit_I_COMMON_FIXED_SIZE, "w" },
{ TC_CORBA_long, ORBit_I_ARG_OUT | ORBit_I_COMMON_FIXED_SIZE, "h" },
{ TC_CORBA_long, ORBit_I_ARG_OUT | ORBit_I_COMMON_FIXED_SIZE, "mode" }
};
static ORBit_IArg nitpicker_import_buffer__arginfo [] = {
{ TC_shared_buffer_info_t, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "ds" },
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "w" },
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "h" }
};
static ORBit_IArg nitpicker_remove_buffer__arginfo [] = {
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "buf_id" }
};
static ORBit_IArg nitpicker_refresh__arginfo [] = {
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "buf_id" },
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "x" },
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "y" },
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "w" },
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "h" }
};
static ORBit_IArg nitpicker_new_view__arginfo [] = {
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "buf_id" },
{ TC_Nitevent, ORBit_I_ARG_IN , "listener" }
};
static ORBit_IArg nitpicker_destroy_view__arginfo [] = {
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "view_id" }
};
static ORBit_IArg nitpicker_set_view_port__arginfo [] = {
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "view_id" },
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "buf_x" },
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "buf_y" },
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "x" },
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "y" },
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "w" },
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "h" },
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "do_redraw" }
};
static ORBit_IArg nitpicker_stack_view__arginfo [] = {
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "view_id" },
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "neighbor_id" },
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "behind" },
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "do_redraw" }
};
static ORBit_IArg nitpicker_set_view_title__arginfo [] = {
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "view_id" },
{ TC_CORBA_string, ORBit_I_ARG_IN , "title" }
};
static ORBit_IArg nitpicker_set_background__arginfo [] = {
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "view_id" }
};
static ORBit_IArg nitpicker_set_mousemode__arginfo [] = {
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "view_id" },
{ TC_CORBA_long, ORBit_I_ARG_IN | ORBit_I_COMMON_FIXED_SIZE, "mode" }
};
#ifdef ORBIT_IDL_C_IMODULE_nitpicker
static
#endif
ORBit_IMethod nitpicker__imethods [] = {
{
{ 0, 0, NULL, FALSE },
{ 0, 0, NULL, FALSE },
{ 0, 0, NULL, FALSE },
TC_CORBA_long, "alive", 5,
0| ORBit_I_COMMON_FIXED_SIZE
}
, {
{ 3, 3, nitpicker_donate_memory__arginfo, FALSE },
{ 0, 0, NULL, FALSE },
{ 0, 0, NULL, FALSE },
TC_CORBA_long, "donate_memory", 13,
0| ORBit_I_COMMON_FIXED_SIZE
}
, {
{ 3, 3, nitpicker_get_screen_info__arginfo, FALSE },
{ 0, 0, NULL, FALSE },
{ 0, 0, NULL, FALSE },
TC_CORBA_long, "get_screen_info", 15,
0| ORBit_I_COMMON_FIXED_SIZE
}
, {
{ 3, 3, nitpicker_import_buffer__arginfo, FALSE },
{ 0, 0, NULL, FALSE },
{ 0, 0, NULL, FALSE },
TC_CORBA_long, "import_buffer", 13,
0| ORBit_I_COMMON_FIXED_SIZE
}
, {
{ 1, 1, nitpicker_remove_buffer__arginfo, FALSE },
{ 0, 0, NULL, FALSE },
{ 0, 0, NULL, FALSE },
TC_void, "remove_buffer", 13,
0
}
, {
{ 5, 5, nitpicker_refresh__arginfo, FALSE },
{ 0, 0, NULL, FALSE },
{ 0, 0, NULL, FALSE },
TC_void, "refresh", 7,
0
}
, {
{ 2, 2, nitpicker_new_view__arginfo, FALSE },
{ 0, 0, NULL, FALSE },
{ 0, 0, NULL, FALSE },
TC_CORBA_long, "new_view", 8,
0| ORBit_I_COMMON_FIXED_SIZE
}
, {
{ 1, 1, nitpicker_destroy_view__arginfo, FALSE },
{ 0, 0, NULL, FALSE },
{ 0, 0, NULL, FALSE },
TC_void, "destroy_view", 12,
0
}
, {
{ 8, 8, nitpicker_set_view_port__arginfo, FALSE },
{ 0, 0, NULL, FALSE },
{ 0, 0, NULL, FALSE },
TC_CORBA_long, "set_view_port", 13,
0| ORBit_I_COMMON_FIXED_SIZE
}
, {
{ 4, 4, nitpicker_stack_view__arginfo, FALSE },
{ 0, 0, NULL, FALSE },
{ 0, 0, NULL, FALSE },
TC_CORBA_long, "stack_view", 10,
0| ORBit_I_COMMON_FIXED_SIZE
}
, {
{ 2, 2, nitpicker_set_view_title__arginfo, FALSE },
{ 0, 0, NULL, FALSE },
{ 0, 0, NULL, FALSE },
TC_CORBA_long, "set_view_title", 14,
0| ORBit_I_COMMON_FIXED_SIZE
}
, {
{ 1, 1, nitpicker_set_background__arginfo, FALSE },
{ 0, 0, NULL, FALSE },
{ 0, 0, NULL, FALSE },
TC_CORBA_long, "set_background", 14,
0| ORBit_I_COMMON_FIXED_SIZE
}
, {
{ 2, 2, nitpicker_set_mousemode__arginfo, FALSE },
{ 0, 0, NULL, FALSE },
{ 0, 0, NULL, FALSE },
TC_CORBA_long, "set_mousemode", 13,
0| ORBit_I_COMMON_FIXED_SIZE
}
};static CORBA_string nitpicker__base_itypes[] = {
"IDL:omg.org/CORBA/Object:1.0"
};
#ifdef ORBIT_IDL_C_IMODULE_nitpicker
static
#endif
ORBit_IInterface nitpicker__iinterface = {
TC_nitpicker,{13, 13, nitpicker__imethods, FALSE},
{1, 1, nitpicker__base_itypes, FALSE}
};
|