aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/Evolution-Composer-common.c
blob: 971d8f132072d29ba72db990ac06374f2e1dcbdb (plain) (blame)
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
/*
 * This file was generated by orbit-idl - DO NOT EDIT!
 */

#include <string.h>
#include "Evolution-Composer.h"

#if ( (TC_IMPL_TC_Evolution_Composer_0 == 'E') \
&& (TC_IMPL_TC_Evolution_Composer_1 == 'v') \
&& (TC_IMPL_TC_Evolution_Composer_2 == 'o') \
&& (TC_IMPL_TC_Evolution_Composer_3 == 'l') \
&& (TC_IMPL_TC_Evolution_Composer_4 == 'u') \
&& (TC_IMPL_TC_Evolution_Composer_5 == 't') \
&& (TC_IMPL_TC_Evolution_Composer_6 == 'i') \
&& (TC_IMPL_TC_Evolution_Composer_7 == 'o') \
&& (TC_IMPL_TC_Evolution_Composer_8 == 'n') \
&& (TC_IMPL_TC_Evolution_Composer_9 == '_') \
&& (TC_IMPL_TC_Evolution_Composer_10 == 'C') \
&& (TC_IMPL_TC_Evolution_Composer_11 == 'o') \
&& (TC_IMPL_TC_Evolution_Composer_12 == 'm') \
&& (TC_IMPL_TC_Evolution_Composer_13 == 'p') \
&& (TC_IMPL_TC_Evolution_Composer_14 == 'o') \
&& (TC_IMPL_TC_Evolution_Composer_15 == 's') \
&& (TC_IMPL_TC_Evolution_Composer_16 == 'e') \
&& (TC_IMPL_TC_Evolution_Composer_17 == 'r') \
) && !defined(TC_DEF_TC_Evolution_Composer)
#define TC_DEF_TC_Evolution_Composer 1
const struct CORBA_TypeCode_struct TC_Evolution_Composer_struct = {
   
      {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1},
    ORBIT_PSEUDO_TYPECODE},

   CORBA_tk_objref, "Composer", "IDL:Evolution/Composer:1.0",
   0, 0,
   NULL,
   NULL,
   NULL,
   CORBA_OBJECT_NIL, 0, -1, 0, 0
};
#endif
#if ( (TC_IMPL_TC_Evolution_Composer_Recipient_0 == 'E') \
&& (TC_IMPL_TC_Evolution_Composer_Recipient_1 == 'v') \
&& (TC_IMPL_TC_Evolution_Composer_Recipient_2 == 'o') \
&& (TC_IMPL_TC_Evolution_Composer_Recipient_3 == 'l') \
&& (TC_IMPL_TC_Evolution_Composer_Recipient_4 == 'u') \
&& (TC_IMPL_TC_Evolution_Composer_Recipient_5 == 't') \
&& (TC_IMPL_TC_Evolution_Composer_Recipient_6 == 'i') \
&& (TC_IMPL_TC_Evolution_Composer_Recipient_7 == 'o') \
&& (TC_IMPL_TC_Evolution_Composer_Recipient_8 == 'n') \
&& (TC_IMPL_TC_Evolution_Composer_Recipient_9 == '_') \
&& (TC_IMPL_TC_Evolution_Composer_Recipient_10 == 'C') \
&& (TC_IMPL_TC_Evolution_Composer_Recipient_11 == 'o') \
&& (TC_IMPL_TC_Evolution_Composer_Recipient_12 == 'm') \
&& (TC_IMPL_TC_Evolution_Composer_Recipient_13 == 'p') \
&& (TC_IMPL_TC_Evolution_Composer_Recipient_14 == 'o') \
&& (TC_IMPL_TC_Evolution_Composer_Recipient_15 == 's') \
&& (TC_IMPL_TC_Evolution_Composer_Recipient_16 == 'e') \
&& (TC_IMPL_TC_Evolution_Composer_Recipient_17 == 'r') \
) && !defined(TC_DEF_TC_Evolution_Composer_Recipient)
#define TC_DEF_TC_Evolution_Composer_Recipient 1
static const char *anon_subnames_array5[] = { "name", "address" };
static const CORBA_TypeCode anon_subtypes_array6[] =
   { (CORBA_TypeCode) & TC_CORBA_string_struct,
      (CORBA_TypeCode) & TC_CORBA_string_struct };
const struct CORBA_TypeCode_struct TC_Evolution_Composer_Recipient_struct = {
   
      {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1},
    ORBIT_PSEUDO_TYPECODE},

   CORBA_tk_struct, "Recipient", "IDL:Evolution/Composer/Recipient:1.0",
   0, 2,
   (const char **) anon_subnames_array5,
   (CORBA_TypeCode *) anon_subtypes_array6,
   NULL,
   CORBA_OBJECT_NIL, 0, -1, 0, 0
};
#endif
#if ( (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_0 == 'E') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_1 == 'v') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_2 == 'o') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_3 == 'l') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_4 == 'u') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_5 == 't') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_6 == 'i') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_7 == 'o') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_8 == 'n') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_9 == '_') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_10 == 'C') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_11 == 'o') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_12 == 'm') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_13 == 'p') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_14 == 'o') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_15 == 's') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_16 == 'e') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_17 == 'r') \
) && !defined(TC_DEF_TC_CORBA_sequence_Evolution_Composer_Recipient)
#define TC_DEF_TC_CORBA_sequence_Evolution_Composer_Recipient 1
static const CORBA_TypeCode anon_subtypes_array10[] =
   { (CORBA_TypeCode) & TC_Evolution_Composer_Recipient_struct };
const struct CORBA_TypeCode_struct
   TC_CORBA_sequence_Evolution_Composer_Recipient_struct = {
   {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1},
    ORBIT_PSEUDO_TYPECODE},
   CORBA_tk_sequence, NULL, NULL,
   0, 1,
   NULL,
   (CORBA_TypeCode *) anon_subtypes_array10,
   NULL,
   CORBA_OBJECT_NIL, 0, -1, 0, 0
};
#endif
#if ( (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_0 == 'E') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_1 == 'v') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_2 == 'o') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_3 == 'l') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_4 == 'u') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_5 == 't') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_6 == 'i') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_7 == 'o') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_8 == 'n') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_9 == '_') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_10 == 'C') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_11 == 'o') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_12 == 'm') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_13 == 'p') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_14 == 'o') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_15 == 's') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_16 == 'e') \
&& (TC_IMPL_TC_CORBA_sequence_Evolution_Composer_Recipient_17 == 'r') \
) && !defined(TC_DEF_TC_CORBA_sequence_Evolution_Composer_Recipient)
#define TC_DEF_TC_CORBA_sequence_Evolution_Composer_Recipient 1
static const CORBA_TypeCode anon_subtypes_array19[] =
   { (CORBA_TypeCode) & TC_Evolution_Composer_Recipient_struct };
const struct CORBA_TypeCode_struct
   TC_CORBA_sequence_Evolution_Composer_Recipient_struct = {
   {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1},
    ORBIT_PSEUDO_TYPECODE},
   CORBA_tk_sequence, NULL, NULL,
   0, 1,
   NULL,
   (CORBA_TypeCode *) anon_subtypes_array19,
   NULL,
   CORBA_OBJECT_NIL, 0, -1, 0, 0
};
#endif
#if ( (TC_IMPL_TC_Evolution_Composer_RecipientList_0 == 'E') \
&& (TC_IMPL_TC_Evolution_Composer_RecipientList_1 == 'v') \
&& (TC_IMPL_TC_Evolution_Composer_RecipientList_2 == 'o') \
&& (TC_IMPL_TC_Evolution_Composer_RecipientList_3 == 'l') \
&& (TC_IMPL_TC_Evolution_Composer_RecipientList_4 == 'u') \
&& (TC_IMPL_TC_Evolution_Composer_RecipientList_5 == 't') \
&& (TC_IMPL_TC_Evolution_Composer_RecipientList_6 == 'i') \
&& (TC_IMPL_TC_Evolution_Composer_RecipientList_7 == 'o') \
&& (TC_IMPL_TC_Evolution_Composer_RecipientList_8 == 'n') \
&& (TC_IMPL_TC_Evolution_Composer_RecipientList_9 == '_') \
&& (TC_IMPL_TC_Evolution_Composer_RecipientList_10 == 'C') \
&& (TC_IMPL_TC_Evolution_Composer_RecipientList_11 == 'o') \
&& (TC_IMPL_TC_Evolution_Composer_RecipientList_12 == 'm') \
&& (TC_IMPL_TC_Evolution_Composer_RecipientList_13 == 'p') \
&& (TC_IMPL_TC_Evolution_Composer_RecipientList_14 == 'o') \
&& (TC_IMPL_TC_Evolution_Composer_RecipientList_15 == 's') \
&& (TC_IMPL_TC_Evolution_Composer_RecipientList_16 == 'e') \
&& (TC_IMPL_TC_Evolution_Composer_RecipientList_17 == 'r') \
) && !defined(TC_DEF_TC_Evolution_Composer_RecipientList)
#define TC_DEF_TC_Evolution_Composer_RecipientList 1
static const CORBA_TypeCode anon_subtypes_array23[] =
   { (CORBA_TypeCode) & TC_CORBA_sequence_Evolution_Composer_Recipient_struct

   };
const struct CORBA_TypeCode_struct TC_Evolution_Composer_RecipientList_struct
   = {
   {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1},
    ORBIT_PSEUDO_TYPECODE},
   CORBA_tk_alias, "RecipientList",
      "IDL:Evolution/Composer/RecipientList:1.0",

   0, 1,
   NULL,
   (CORBA_TypeCode *) anon_subtypes_array23,
   NULL,
   CORBA_OBJECT_NIL, 0, -1, 0, 0
};
#endif
#if ( (TC_IMPL_TC_Evolution_Composer_CouldNotParse_0 == 'E') \
&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_1 == 'v') \
&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_2 == 'o') \
&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_3 == 'l') \
&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_4 == 'u') \
&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_5 == 't') \
&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_6 == 'i') \
&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_7 == 'o') \
&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_8 == 'n') \
&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_9 == '_') \
&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_10 == 'C') \
&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_11 == 'o') \
&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_12 == 'm') \
&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_13 == 'p') \
&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_14 == 'o') \
&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_15 == 's') \
&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_16 == 'e') \
&& (TC_IMPL_TC_Evolution_Composer_CouldNotParse_17 == 'r') \
) && !defined(TC_DEF_TC_Evolution_Composer_CouldNotParse)
#define TC_DEF_TC_Evolution_Composer_CouldNotParse 1
const struct CORBA_TypeCode_struct TC_Evolution_Composer_CouldNotParse_struct
   = {
   {{(ORBit_RootObject_Interface *) & ORBit_TypeCode_epv, TRUE, -1},
    ORBIT_PSEUDO_TYPECODE},
   CORBA_tk_except, "CouldNotParse",
      "IDL:Evolution/Composer/CouldNotParse:1.0",
   0, 0,
   NULL,
   NULL,
   NULL,
   CORBA_OBJECT_NIL, 0, -1, 0, 0
};
#endif
gpointer
Evolution_Composer_Recipient__free(gpointer mem, gpointer dat,
                   CORBA_boolean free_strings)
{
   Evolution_Composer_Recipient *var = mem;

   if (free_strings) {
      CORBA_string__free(&(var->name), NULL, free_strings);
   }
   if (free_strings) {
      CORBA_string__free(&(var->address), NULL, free_strings);
   }
   return (gpointer) (var + 1);
}

Evolution_Composer_Recipient *
Evolution_Composer_Recipient__alloc(void)
{
   Evolution_Composer_Recipient *retval;

   retval =
      ORBit_alloc(sizeof(Evolution_Composer_Recipient),
          (ORBit_free_childvals) Evolution_Composer_Recipient__free,
          GUINT_TO_POINTER(1));
   memset(&(retval->name), '\0', sizeof(retval->name));
   memset(&(retval->address), '\0', sizeof(retval->address));
   return retval;
}

#if ( (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_0 == 'E') \
&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_1 == 'v') \
&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_2 == 'o') \
&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_3 == 'l') \
&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_4 == 'u') \
&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_5 == 't') \
&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_6 == 'i') \
&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_7 == 'o') \
&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_8 == 'n') \
&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_9 == '_') \
&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_10 == 'C') \
&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_11 == 'o') \
&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_12 == 'm') \
&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_13 == 'p') \
&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_14 == 'o') \
&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_15 == 's') \
&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_16 == 'e') \
&& (ORBIT_IMPL_CORBA_sequence_Evolution_Composer_Recipient_17 == 'r') \
) && !defined(ORBIT_DEF_CORBA_sequence_Evolution_Composer_Recipient)
#define ORBIT_DEF_CORBA_sequence_Evolution_Composer_Recipient 1

gpointer
CORBA_sequence_Evolution_Composer_Recipient__free(gpointer mem, gpointer dat,
                          CORBA_boolean free_strings)
{
   CORBA_sequence_Evolution_Composer_Recipient *val = mem;

   if (val->_release)
      ORBit_free(val->_buffer, free_strings);
   return (gpointer) (val + 1);
}

CORBA_sequence_Evolution_Composer_Recipient *
CORBA_sequence_Evolution_Composer_Recipient__alloc(void)
{
   CORBA_sequence_Evolution_Composer_Recipient *retval;

   retval =
      ORBit_alloc(sizeof(CORBA_sequence_Evolution_Composer_Recipient),
          (ORBit_free_childvals)
          CORBA_sequence_Evolution_Composer_Recipient__free,
          GUINT_TO_POINTER(1));
   retval->_maximum = 0;
   retval->_length = 0;
   retval->_buffer = NULL;
   retval->_release = CORBA_FALSE;
   return retval;
}

Evolution_Composer_Recipient *
CORBA_sequence_Evolution_Composer_Recipient_allocbuf(CORBA_unsigned_long len)
{
   Evolution_Composer_Recipient *retval =
      ORBit_alloc(sizeof(Evolution_Composer_Recipient) * len,
          (ORBit_free_childvals) Evolution_Composer_Recipient__free,
          GUINT_TO_POINTER(len));

   memset(retval, '\0', sizeof(Evolution_Composer_Recipient) * len);
   return retval;
}
#endif

gpointer
Evolution_Composer_RecipientList__free(gpointer mem, gpointer dat,
                       CORBA_boolean free_strings)
{
   return CORBA_sequence_Evolution_Composer_Recipient__free(mem, dat,
                                free_strings);
}

Evolution_Composer_RecipientList *
Evolution_Composer_RecipientList__alloc(void)
{
   return CORBA_sequence_Evolution_Composer_Recipient__alloc();
}

gpointer
Evolution_Composer_CouldNotParse__free(gpointer mem, gpointer dat,
                       CORBA_boolean free_strings)
{
   Evolution_Composer_CouldNotParse *var = mem;

   return (gpointer) (var + 1);
}

CORBA_unsigned_long Evolution_Composer__classid = 0;