~ubuntu-branches/ubuntu/natty/xfce4-panel/natty

« back to all changes in this revision

Viewing changes to wrapper/wrapper-dbus-client-infos.h

  • Committer: Bazaar Package Importer
  • Author(s): Lionel Le Folgoc
  • Date: 2010-12-04 15:45:53 UTC
  • mfrom: (1.1.25 upstream)
  • Revision ID: james.westby@ubuntu.com-20101204154553-c1k0n2p2j83chld0
Tags: 4.7.5-0ubuntu1
Upload to natty (pkg-xfce svn r4611).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Generated by dbus-binding-tool; do not edit! */
 
2
 
 
3
#include <glib.h>
 
4
#include <dbus/dbus-glib.h>
 
5
 
 
6
G_BEGIN_DECLS
 
7
 
 
8
#ifndef _DBUS_GLIB_ASYNC_DATA_FREE
 
9
#define _DBUS_GLIB_ASYNC_DATA_FREE
 
10
static
 
11
#ifdef G_HAVE_INLINE
 
12
inline
 
13
#endif
 
14
void
 
15
_dbus_glib_async_data_free (gpointer stuff)
 
16
{
 
17
        g_slice_free (DBusGAsyncData, stuff);
 
18
}
 
19
#endif
 
20
 
 
21
#ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_xfce_Panel_Wrapper
 
22
#define DBUS_GLIB_CLIENT_WRAPPERS_org_xfce_Panel_Wrapper
 
23
 
 
24
static
 
25
#ifdef G_HAVE_INLINE
 
26
inline
 
27
#endif
 
28
gboolean
 
29
wrapper_dbus_provider_signal (DBusGProxy *proxy, const guint IN_signal, GError **error)
 
30
 
 
31
{
 
32
  dbus_g_proxy_call_no_reply (proxy, "ProviderSignal", G_TYPE_UINT, IN_signal, G_TYPE_INVALID, G_TYPE_INVALID);
 
33
  return TRUE;
 
34
}
 
35
 
 
36
typedef void (*wrapper_dbus_provider_signal_reply) (DBusGProxy *proxy, GError *error, gpointer userdata);
 
37
 
 
38
static void
 
39
wrapper_dbus_provider_signal_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
 
40
{
 
41
  DBusGAsyncData *data = (DBusGAsyncData*) user_data;
 
42
  GError *error = NULL;
 
43
  dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID);
 
44
  (*(wrapper_dbus_provider_signal_reply)data->cb) (proxy, error, data->userdata);
 
45
  return;
 
46
}
 
47
 
 
48
static
 
49
#ifdef G_HAVE_INLINE
 
50
inline
 
51
#endif
 
52
DBusGProxyCall*
 
53
wrapper_dbus_provider_signal_async (DBusGProxy *proxy, const guint IN_signal, wrapper_dbus_provider_signal_reply callback, gpointer userdata)
 
54
 
 
55
{
 
56
  DBusGAsyncData *stuff;
 
57
  stuff = g_slice_new (DBusGAsyncData);
 
58
  stuff->cb = G_CALLBACK (callback);
 
59
  stuff->userdata = userdata;
 
60
  return dbus_g_proxy_begin_call (proxy, "ProviderSignal", wrapper_dbus_provider_signal_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_UINT, IN_signal, G_TYPE_INVALID);
 
61
}
 
62
static
 
63
#ifdef G_HAVE_INLINE
 
64
inline
 
65
#endif
 
66
gboolean
 
67
wrapper_dbus_remote_event_result (DBusGProxy *proxy, const guint IN_handle, const gboolean IN_result, GError **error)
 
68
 
 
69
{
 
70
  dbus_g_proxy_call_no_reply (proxy, "RemoteEventResult", G_TYPE_UINT, IN_handle, G_TYPE_BOOLEAN, IN_result, G_TYPE_INVALID, G_TYPE_INVALID);
 
71
  return TRUE;
 
72
}
 
73
 
 
74
typedef void (*wrapper_dbus_remote_event_result_reply) (DBusGProxy *proxy, GError *error, gpointer userdata);
 
75
 
 
76
static void
 
77
wrapper_dbus_remote_event_result_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
 
78
{
 
79
  DBusGAsyncData *data = (DBusGAsyncData*) user_data;
 
80
  GError *error = NULL;
 
81
  dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID);
 
82
  (*(wrapper_dbus_remote_event_result_reply)data->cb) (proxy, error, data->userdata);
 
83
  return;
 
84
}
 
85
 
 
86
static
 
87
#ifdef G_HAVE_INLINE
 
88
inline
 
89
#endif
 
90
DBusGProxyCall*
 
91
wrapper_dbus_remote_event_result_async (DBusGProxy *proxy, const guint IN_handle, const gboolean IN_result, wrapper_dbus_remote_event_result_reply callback, gpointer userdata)
 
92
 
 
93
{
 
94
  DBusGAsyncData *stuff;
 
95
  stuff = g_slice_new (DBusGAsyncData);
 
96
  stuff->cb = G_CALLBACK (callback);
 
97
  stuff->userdata = userdata;
 
98
  return dbus_g_proxy_begin_call (proxy, "RemoteEventResult", wrapper_dbus_remote_event_result_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_UINT, IN_handle, G_TYPE_BOOLEAN, IN_result, G_TYPE_INVALID);
 
99
}
 
100
#endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_xfce_Panel_Wrapper */
 
101
 
 
102
G_END_DECLS