1
/* Generated by dbus-binding-tool; do not edit! */
4
#ifndef __dbus_glib_marshal_cd_dbus_main_MARSHAL_H__
5
#define __dbus_glib_marshal_cd_dbus_main_MARSHAL_H__
7
#include <glib-object.h>
12
#define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
13
#define g_marshal_value_peek_char(v) g_value_get_char (v)
14
#define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
15
#define g_marshal_value_peek_int(v) g_value_get_int (v)
16
#define g_marshal_value_peek_uint(v) g_value_get_uint (v)
17
#define g_marshal_value_peek_long(v) g_value_get_long (v)
18
#define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
19
#define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
20
#define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
21
#define g_marshal_value_peek_enum(v) g_value_get_enum (v)
22
#define g_marshal_value_peek_flags(v) g_value_get_flags (v)
23
#define g_marshal_value_peek_float(v) g_value_get_float (v)
24
#define g_marshal_value_peek_double(v) g_value_get_double (v)
25
#define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
26
#define g_marshal_value_peek_param(v) g_value_get_param (v)
27
#define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
28
#define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
29
#define g_marshal_value_peek_object(v) g_value_get_object (v)
30
#else /* !G_ENABLE_DEBUG */
31
/* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
32
* Do not access GValues directly in your code. Instead, use the
33
* g_value_get_*() functions
35
#define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
36
#define g_marshal_value_peek_char(v) (v)->data[0].v_int
37
#define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
38
#define g_marshal_value_peek_int(v) (v)->data[0].v_int
39
#define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
40
#define g_marshal_value_peek_long(v) (v)->data[0].v_long
41
#define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
42
#define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
43
#define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
44
#define g_marshal_value_peek_enum(v) (v)->data[0].v_long
45
#define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
46
#define g_marshal_value_peek_float(v) (v)->data[0].v_float
47
#define g_marshal_value_peek_double(v) (v)->data[0].v_double
48
#define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
49
#define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
50
#define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
51
#define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
52
#define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
53
#endif /* !G_ENABLE_DEBUG */
56
/* BOOLEAN:STRING,INT,STRING,STRING,STRING,POINTER */
57
extern void dbus_glib_marshal_cd_dbus_main_BOOLEAN__STRING_INT_STRING_STRING_STRING_POINTER (GClosure *closure,
60
const GValue *param_values,
61
gpointer invocation_hint,
62
gpointer marshal_data);
64
dbus_glib_marshal_cd_dbus_main_BOOLEAN__STRING_INT_STRING_STRING_STRING_POINTER (GClosure *closure,
65
GValue *return_value G_GNUC_UNUSED,
67
const GValue *param_values,
68
gpointer invocation_hint G_GNUC_UNUSED,
69
gpointer marshal_data)
71
typedef gboolean (*GMarshalFunc_BOOLEAN__STRING_INT_STRING_STRING_STRING_POINTER) (gpointer data1,
79
register GMarshalFunc_BOOLEAN__STRING_INT_STRING_STRING_STRING_POINTER callback;
80
register GCClosure *cc = (GCClosure*) closure;
81
register gpointer data1, data2;
84
g_return_if_fail (return_value != NULL);
85
g_return_if_fail (n_param_values == 7);
87
if (G_CCLOSURE_SWAP_DATA (closure))
89
data1 = closure->data;
90
data2 = g_value_peek_pointer (param_values + 0);
94
data1 = g_value_peek_pointer (param_values + 0);
95
data2 = closure->data;
97
callback = (GMarshalFunc_BOOLEAN__STRING_INT_STRING_STRING_STRING_POINTER) (marshal_data ? marshal_data : cc->callback);
99
v_return = callback (data1,
100
g_marshal_value_peek_string (param_values + 1),
101
g_marshal_value_peek_int (param_values + 2),
102
g_marshal_value_peek_string (param_values + 3),
103
g_marshal_value_peek_string (param_values + 4),
104
g_marshal_value_peek_string (param_values + 5),
105
g_marshal_value_peek_pointer (param_values + 6),
108
g_value_set_boolean (return_value, v_return);
111
/* BOOLEAN:STRING,BOOLEAN,POINTER */
112
extern void dbus_glib_marshal_cd_dbus_main_BOOLEAN__STRING_BOOLEAN_POINTER (GClosure *closure,
113
GValue *return_value,
114
guint n_param_values,
115
const GValue *param_values,
116
gpointer invocation_hint,
117
gpointer marshal_data);
119
dbus_glib_marshal_cd_dbus_main_BOOLEAN__STRING_BOOLEAN_POINTER (GClosure *closure,
120
GValue *return_value G_GNUC_UNUSED,
121
guint n_param_values,
122
const GValue *param_values,
123
gpointer invocation_hint G_GNUC_UNUSED,
124
gpointer marshal_data)
126
typedef gboolean (*GMarshalFunc_BOOLEAN__STRING_BOOLEAN_POINTER) (gpointer data1,
131
register GMarshalFunc_BOOLEAN__STRING_BOOLEAN_POINTER callback;
132
register GCClosure *cc = (GCClosure*) closure;
133
register gpointer data1, data2;
136
g_return_if_fail (return_value != NULL);
137
g_return_if_fail (n_param_values == 4);
139
if (G_CCLOSURE_SWAP_DATA (closure))
141
data1 = closure->data;
142
data2 = g_value_peek_pointer (param_values + 0);
146
data1 = g_value_peek_pointer (param_values + 0);
147
data2 = closure->data;
149
callback = (GMarshalFunc_BOOLEAN__STRING_BOOLEAN_POINTER) (marshal_data ? marshal_data : cc->callback);
151
v_return = callback (data1,
152
g_marshal_value_peek_string (param_values + 1),
153
g_marshal_value_peek_boolean (param_values + 2),
154
g_marshal_value_peek_pointer (param_values + 3),
157
g_value_set_boolean (return_value, v_return);
160
/* BOOLEAN:POINTER */
161
extern void dbus_glib_marshal_cd_dbus_main_BOOLEAN__POINTER (GClosure *closure,
162
GValue *return_value,
163
guint n_param_values,
164
const GValue *param_values,
165
gpointer invocation_hint,
166
gpointer marshal_data);
168
dbus_glib_marshal_cd_dbus_main_BOOLEAN__POINTER (GClosure *closure,
169
GValue *return_value G_GNUC_UNUSED,
170
guint n_param_values,
171
const GValue *param_values,
172
gpointer invocation_hint G_GNUC_UNUSED,
173
gpointer marshal_data)
175
typedef gboolean (*GMarshalFunc_BOOLEAN__POINTER) (gpointer data1,
178
register GMarshalFunc_BOOLEAN__POINTER callback;
179
register GCClosure *cc = (GCClosure*) closure;
180
register gpointer data1, data2;
183
g_return_if_fail (return_value != NULL);
184
g_return_if_fail (n_param_values == 2);
186
if (G_CCLOSURE_SWAP_DATA (closure))
188
data1 = closure->data;
189
data2 = g_value_peek_pointer (param_values + 0);
193
data1 = g_value_peek_pointer (param_values + 0);
194
data2 = closure->data;
196
callback = (GMarshalFunc_BOOLEAN__POINTER) (marshal_data ? marshal_data : cc->callback);
198
v_return = callback (data1,
199
g_marshal_value_peek_pointer (param_values + 1),
202
g_value_set_boolean (return_value, v_return);
205
/* BOOLEAN:BOOLEAN,POINTER */
206
extern void dbus_glib_marshal_cd_dbus_main_BOOLEAN__BOOLEAN_POINTER (GClosure *closure,
207
GValue *return_value,
208
guint n_param_values,
209
const GValue *param_values,
210
gpointer invocation_hint,
211
gpointer marshal_data);
213
dbus_glib_marshal_cd_dbus_main_BOOLEAN__BOOLEAN_POINTER (GClosure *closure,
214
GValue *return_value G_GNUC_UNUSED,
215
guint n_param_values,
216
const GValue *param_values,
217
gpointer invocation_hint G_GNUC_UNUSED,
218
gpointer marshal_data)
220
typedef gboolean (*GMarshalFunc_BOOLEAN__BOOLEAN_POINTER) (gpointer data1,
224
register GMarshalFunc_BOOLEAN__BOOLEAN_POINTER callback;
225
register GCClosure *cc = (GCClosure*) closure;
226
register gpointer data1, data2;
229
g_return_if_fail (return_value != NULL);
230
g_return_if_fail (n_param_values == 3);
232
if (G_CCLOSURE_SWAP_DATA (closure))
234
data1 = closure->data;
235
data2 = g_value_peek_pointer (param_values + 0);
239
data1 = g_value_peek_pointer (param_values + 0);
240
data2 = closure->data;
242
callback = (GMarshalFunc_BOOLEAN__BOOLEAN_POINTER) (marshal_data ? marshal_data : cc->callback);
244
v_return = callback (data1,
245
g_marshal_value_peek_boolean (param_values + 1),
246
g_marshal_value_peek_pointer (param_values + 2),
249
g_value_set_boolean (return_value, v_return);
252
/* BOOLEAN:STRING,POINTER */
253
extern void dbus_glib_marshal_cd_dbus_main_BOOLEAN__STRING_POINTER (GClosure *closure,
254
GValue *return_value,
255
guint n_param_values,
256
const GValue *param_values,
257
gpointer invocation_hint,
258
gpointer marshal_data);
260
dbus_glib_marshal_cd_dbus_main_BOOLEAN__STRING_POINTER (GClosure *closure,
261
GValue *return_value G_GNUC_UNUSED,
262
guint n_param_values,
263
const GValue *param_values,
264
gpointer invocation_hint G_GNUC_UNUSED,
265
gpointer marshal_data)
267
typedef gboolean (*GMarshalFunc_BOOLEAN__STRING_POINTER) (gpointer data1,
271
register GMarshalFunc_BOOLEAN__STRING_POINTER callback;
272
register GCClosure *cc = (GCClosure*) closure;
273
register gpointer data1, data2;
276
g_return_if_fail (return_value != NULL);
277
g_return_if_fail (n_param_values == 3);
279
if (G_CCLOSURE_SWAP_DATA (closure))
281
data1 = closure->data;
282
data2 = g_value_peek_pointer (param_values + 0);
286
data1 = g_value_peek_pointer (param_values + 0);
287
data2 = closure->data;
289
callback = (GMarshalFunc_BOOLEAN__STRING_POINTER) (marshal_data ? marshal_data : cc->callback);
291
v_return = callback (data1,
292
g_marshal_value_peek_string (param_values + 1),
293
g_marshal_value_peek_pointer (param_values + 2),
296
g_value_set_boolean (return_value, v_return);
299
/* BOOLEAN:STRING,STRING,STRING,STRING,POINTER */
300
extern void dbus_glib_marshal_cd_dbus_main_BOOLEAN__STRING_STRING_STRING_STRING_POINTER (GClosure *closure,
301
GValue *return_value,
302
guint n_param_values,
303
const GValue *param_values,
304
gpointer invocation_hint,
305
gpointer marshal_data);
307
dbus_glib_marshal_cd_dbus_main_BOOLEAN__STRING_STRING_STRING_STRING_POINTER (GClosure *closure,
308
GValue *return_value G_GNUC_UNUSED,
309
guint n_param_values,
310
const GValue *param_values,
311
gpointer invocation_hint G_GNUC_UNUSED,
312
gpointer marshal_data)
314
typedef gboolean (*GMarshalFunc_BOOLEAN__STRING_STRING_STRING_STRING_POINTER) (gpointer data1,
321
register GMarshalFunc_BOOLEAN__STRING_STRING_STRING_STRING_POINTER callback;
322
register GCClosure *cc = (GCClosure*) closure;
323
register gpointer data1, data2;
326
g_return_if_fail (return_value != NULL);
327
g_return_if_fail (n_param_values == 6);
329
if (G_CCLOSURE_SWAP_DATA (closure))
331
data1 = closure->data;
332
data2 = g_value_peek_pointer (param_values + 0);
336
data1 = g_value_peek_pointer (param_values + 0);
337
data2 = closure->data;
339
callback = (GMarshalFunc_BOOLEAN__STRING_STRING_STRING_STRING_POINTER) (marshal_data ? marshal_data : cc->callback);
341
v_return = callback (data1,
342
g_marshal_value_peek_string (param_values + 1),
343
g_marshal_value_peek_string (param_values + 2),
344
g_marshal_value_peek_string (param_values + 3),
345
g_marshal_value_peek_string (param_values + 4),
346
g_marshal_value_peek_pointer (param_values + 5),
349
g_value_set_boolean (return_value, v_return);
354
#endif /* __dbus_glib_marshal_cd_dbus_main_MARSHAL_H__ */
356
#include <dbus/dbus-glib.h>
357
static const DBusGMethodInfo dbus_glib_cd_dbus_main_methods[] = {
358
{ (GCallback) cd_dbus_main_reboot, dbus_glib_marshal_cd_dbus_main_BOOLEAN__POINTER, 0 },
359
{ (GCallback) cd_dbus_main_quit, dbus_glib_marshal_cd_dbus_main_BOOLEAN__POINTER, 34 },
360
{ (GCallback) cd_dbus_main_show_desklet, dbus_glib_marshal_cd_dbus_main_BOOLEAN__BOOLEAN_POINTER, 66 },
361
{ (GCallback) cd_dbus_main_reload_module, dbus_glib_marshal_cd_dbus_main_BOOLEAN__STRING_POINTER, 121 },
362
{ (GCallback) cd_dbus_main_activate_module, dbus_glib_marshal_cd_dbus_main_BOOLEAN__STRING_BOOLEAN_POINTER, 177 },
363
{ (GCallback) cd_dbus_main_show_dock, dbus_glib_marshal_cd_dbus_main_BOOLEAN__BOOLEAN_POINTER, 249 },
364
{ (GCallback) cd_dbus_main_create_launcher_from_scratch, dbus_glib_marshal_cd_dbus_main_BOOLEAN__STRING_STRING_STRING_STRING_POINTER, 294 },
365
{ (GCallback) cd_dbus_main_load_launcher_from_file, dbus_glib_marshal_cd_dbus_main_BOOLEAN__STRING_POINTER, 405 },
366
{ (GCallback) cd_dbus_main_reload_launcher, dbus_glib_marshal_cd_dbus_main_BOOLEAN__STRING_POINTER, 470 },
367
{ (GCallback) cd_dbus_main_remove_launcher, dbus_glib_marshal_cd_dbus_main_BOOLEAN__STRING_POINTER, 529 },
368
{ (GCallback) cd_dbus_main_set_quick_info, dbus_glib_marshal_cd_dbus_main_BOOLEAN__STRING_STRING_STRING_STRING_POINTER, 588 },
369
{ (GCallback) cd_dbus_main_set_label, dbus_glib_marshal_cd_dbus_main_BOOLEAN__STRING_STRING_STRING_STRING_POINTER, 690 },
370
{ (GCallback) cd_dbus_main_set_icon, dbus_glib_marshal_cd_dbus_main_BOOLEAN__STRING_STRING_STRING_STRING_POINTER, 784 },
371
{ (GCallback) cd_dbus_main_set_emblem, dbus_glib_marshal_cd_dbus_main_BOOLEAN__STRING_INT_STRING_STRING_STRING_POINTER, 877 },
372
{ (GCallback) cd_dbus_main_animate, dbus_glib_marshal_cd_dbus_main_BOOLEAN__STRING_INT_STRING_STRING_STRING_POINTER, 986 },
373
{ (GCallback) cd_dbus_main_show_dialog, dbus_glib_marshal_cd_dbus_main_BOOLEAN__STRING_INT_STRING_STRING_STRING_POINTER, 1097 },
376
const DBusGObjectInfo dbus_glib_cd_dbus_main_object_info = {
378
dbus_glib_cd_dbus_main_methods,
380
"org.cairodock.CairoDock\0Reboot\0S\0\0org.cairodock.CairoDock\0Quit\0S\0\0org.cairodock.CairoDock\0ShowDesklet\0S\0widgetLayer\0I\0b\0\0org.cairodock.CairoDock\0ReloadModule\0S\0cModuleName\0I\0s\0\0org.cairodock.CairoDock\0ActivateModule\0S\0cModuleName\0I\0s\0bActivate\0I\0b\0\0org.cairodock.CairoDock\0ShowDock\0S\0show\0I\0b\0\0org.cairodock.CairoDock\0CreateLauncherFromScratch\0S\0cIconFile\0I\0s\0cLabel\0I\0s\0cCommand\0I\0s\0cParentDockName\0I\0s\0\0org.cairodock.CairoDock\0LoadLauncherFromFile\0S\0cDesktopFile\0I\0s\0\0org.cairodock.CairoDock\0ReloadLauncher\0S\0cDesktopFile\0I\0s\0\0org.cairodock.CairoDock\0RemoveLauncher\0S\0cDesktopFile\0I\0s\0\0org.cairodock.CairoDock\0SetQuickInfo\0S\0cQuickInfo\0I\0s\0cIconName\0I\0s\0cIconCommand\0I\0s\0cModuleName\0I\0s\0\0org.cairodock.CairoDock\0SetLabel\0S\0cLabel\0I\0s\0cIconName\0I\0s\0cIconCommand\0I\0s\0cModuleName\0I\0s\0\0org.cairodock.CairoDock\0SetIcon\0S\0cImage\0I\0s\0cIconName\0I\0s\0cIconCommand\0I\0s\0cModuleName\0I\0s\0\0org.cairodock.CairoDock\0SetEmblem\0S\0cImage\0I\0s\0iPosition\0I\0i\0cIconName\0I\0s\0cIconCommand\0I\0s\0cModuleName\0I\0s\0\0org.cairodock.CairoDock\0Animate\0S\0cAnimation\0I\0s\0iNbRounds\0I\0i\0cIconName\0I\0s\0cIconCommand\0I\0s\0cModuleName\0I\0s\0\0org.cairodock.CairoDock\0ShowDialog\0S\0message\0I\0s\0iDuration\0I\0i\0cIconName\0I\0s\0cIconCommand\0I\0s\0cModuleName\0I\0s\0\0\0",