1 /**
2 * This file is a part of the Cairo-Dock project
3 *
4 * Copyright : (C) see the 'copyright' file.
5 * E-mail    : see the 'copyright' file.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 3
10 * of the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
18 */
19 
20 #ifndef __APPLET_DBUS__
21 #define  __APPLET_DBUS__
22 
23 #include <cairo-dock.h>
24 #include "applet-struct.h"
25 
26 
27 void cd_dbus_clean_up_processes (gboolean bAll);
28 
29 void cd_dbus_launch_service (void);
30 
31 
32 gboolean cd_dbus_register_module_in_dir (const gchar *cModuleName, const gchar *cThirdPartyPath);
33 
34 
35 void cd_dbus_marshal_VOID__INT_STRING (GClosure *closure,
36 	GValue *return_value,
37 	guint n_param_values,
38 	const GValue *param_values,
39 	gpointer invocation_hint,
40 	gpointer marshal_data);
41 
42 void cd_dbus_marshal_VOID__BOOLEAN_STRING (GClosure *closure,
43 	GValue *return_value,
44 	guint n_param_values,
45 	const GValue *param_values,
46 	gpointer invocation_hint,
47 	gpointer marshal_data);
48 
49 void cd_dbus_marshal_VOID__STRING_STRING (GClosure *closure,
50 	GValue *return_value,
51 	guint n_param_values,
52 	const GValue *param_values,
53 	gpointer invocation_hint,
54 	gpointer marshal_data);
55 
56 void cd_dbus_marshal_VOID__VALUE (GClosure *closure,
57 	GValue *return_value,
58 	guint n_param_values,
59 	const GValue *param_values,
60 	gpointer invocation_hint,
61 	gpointer marshal_data);
62 
63 void cd_dbus_marshal_VOID__INT_VALUE (GClosure *closure,
64 	GValue *return_value,
65 	guint n_param_values,
66 	const GValue *param_values,
67 	gpointer invocation_hint,
68 	gpointer marshal_data);
69 
70 void cd_dbus_marshal_VOID__VALUE_STRING (GClosure *closure,
71 	GValue *return_value,
72 	guint n_param_values,
73 	const GValue *param_values,
74 	gpointer invocation_hint,
75 	gpointer marshal_data);
76 
77 #define cd_dbus_marshal_VOID__INT g_cclosure_marshal_VOID__INT
78 #define cd_dbus_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN
79 #define cd_dbus_marshal_VOID__STRING g_cclosure_marshal_VOID__STRING
80 #define cd_dbus_marshal_VOID__VOID g_cclosure_marshal_VOID__VOID
81 
82 #endif
83