~ubuntu-branches/ubuntu/quantal/libtelepathy/quantal

« back to all changes in this revision

Viewing changes to src/tp-ice-session-handler-gen.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2006-09-11 11:14:54 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060911111454-7lovmhmqqo0mee1x
Tags: 0.0.33-0ubuntu1
* New upstream release.
* debian/*: make changes for soname change.

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/gtypes.h>
4
 
#include <glib/gerror.h>
5
 
#include <dbus/dbus-glib.h>
6
 
 
7
 
G_BEGIN_DECLS
8
 
 
9
 
#ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Ice_SessionHandler
10
 
#define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Ice_SessionHandler
11
 
 
12
 
static
13
 
#ifdef G_HAVE_INLINE
14
 
inline
15
 
#endif
16
 
gboolean
17
 
tp_ice_session_handler_error (DBusGProxy *proxy, const guint IN_errno, const char * IN_message, GError **error)
18
 
 
19
 
{
20
 
  return dbus_g_proxy_call (proxy, "Error", error, G_TYPE_UINT, IN_errno, G_TYPE_STRING, IN_message, G_TYPE_INVALID, G_TYPE_INVALID);
21
 
}
22
 
 
23
 
typedef void (*tp_ice_session_handler_error_reply) (DBusGProxy *proxy, GError *error, gpointer userdata);
24
 
 
25
 
static void
26
 
tp_ice_session_handler_error_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
27
 
{
28
 
  DBusGAsyncData *data = user_data;
29
 
  GError *error = NULL;
30
 
  dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID);
31
 
  (*(tp_ice_session_handler_error_reply)data->cb) (proxy, error, data->userdata);
32
 
  return;
33
 
}
34
 
 
35
 
static
36
 
#ifdef G_HAVE_INLINE
37
 
inline
38
 
#endif
39
 
DBusGProxyCall*
40
 
tp_ice_session_handler_error_async (DBusGProxy *proxy, const guint IN_errno, const char * IN_message, tp_ice_session_handler_error_reply callback, gpointer userdata)
41
 
 
42
 
{
43
 
  DBusGAsyncData *stuff;
44
 
  stuff = g_new (DBusGAsyncData, 1);
45
 
  stuff->cb = G_CALLBACK (callback);
46
 
  stuff->userdata = userdata;
47
 
  return dbus_g_proxy_begin_call (proxy, "Error", tp_ice_session_handler_error_async_callback, stuff, g_free, G_TYPE_UINT, IN_errno, G_TYPE_STRING, IN_message, G_TYPE_INVALID);
48
 
}
49
 
static
50
 
#ifdef G_HAVE_INLINE
51
 
inline
52
 
#endif
53
 
gboolean
54
 
tp_ice_session_handler_ready (DBusGProxy *proxy, GError **error)
55
 
 
56
 
{
57
 
  return dbus_g_proxy_call (proxy, "Ready", error, G_TYPE_INVALID, G_TYPE_INVALID);
58
 
}
59
 
 
60
 
typedef void (*tp_ice_session_handler_ready_reply) (DBusGProxy *proxy, GError *error, gpointer userdata);
61
 
 
62
 
static void
63
 
tp_ice_session_handler_ready_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
64
 
{
65
 
  DBusGAsyncData *data = user_data;
66
 
  GError *error = NULL;
67
 
  dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID);
68
 
  (*(tp_ice_session_handler_ready_reply)data->cb) (proxy, error, data->userdata);
69
 
  return;
70
 
}
71
 
 
72
 
static
73
 
#ifdef G_HAVE_INLINE
74
 
inline
75
 
#endif
76
 
DBusGProxyCall*
77
 
tp_ice_session_handler_ready_async (DBusGProxy *proxy, tp_ice_session_handler_ready_reply callback, gpointer userdata)
78
 
 
79
 
{
80
 
  DBusGAsyncData *stuff;
81
 
  stuff = g_new (DBusGAsyncData, 1);
82
 
  stuff->cb = G_CALLBACK (callback);
83
 
  stuff->userdata = userdata;
84
 
  return dbus_g_proxy_begin_call (proxy, "Ready", tp_ice_session_handler_ready_async_callback, stuff, g_free, G_TYPE_INVALID);
85
 
}
86
 
#endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Ice_SessionHandler */
87
 
 
88
 
G_END_DECLS