libtelepathy/inc/tp-conn-iface-avatars-gen.h
changeset 10 59927b2d3b75
parent 0 d0f3a028347a
equal deleted inserted replaced
0:d0f3a028347a 10:59927b2d3b75
     1 /* tp-conn-iface-avatars-gen.h
       
     2  *
       
     3  * Copyright (C) 2005 Collabora Ltd.
       
     4  * 
       
     5  *
       
     6  * This library is free software; you can redistribute it and/or
       
     7  * modify it under the terms of the GNU Lesser General Public
       
     8  * License as published by the Free Software Foundation; either
       
     9  * version 2.1 of the License, or (at your option) any later version.
       
    10  *
       
    11  * This library is distributed in the hope that it will be useful,
       
    12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
       
    14  * Lesser General Public License for more details.
       
    15  *
       
    16  * You should have received a copy of the GNU Lesser General Public
       
    17  * License along with this library; if not, write to the Free Software
       
    18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
       
    19  *
       
    20  */
       
    21 /* Generated by dbus-binding-tool; do not edit! */
       
    22 
       
    23 #include <glib/gtypes.h>
       
    24 #include <glib/gerror.h>
       
    25 #include <dbus/dbus-glib.h>
       
    26 
       
    27 G_BEGIN_DECLS
       
    28 
       
    29 #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection_Interface_Avatars
       
    30 #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection_Interface_Avatars
       
    31 
       
    32 static
       
    33 #ifdef G_HAVE_INLINE
       
    34 inline
       
    35 #endif
       
    36 gboolean
       
    37 tp_conn_iface_avatars_get_avatar_requirements (DBusGProxy *proxy, char *** OUT_arg0, GError **error)
       
    38 
       
    39 {
       
    40   return dbus_g_proxy_call (proxy, "GetAvatarRequirements", error, G_TYPE_INVALID, G_TYPE_STRV, OUT_arg0, G_TYPE_INVALID);
       
    41 }
       
    42 
       
    43 typedef void (*tp_conn_iface_avatars_get_avatar_requirements_reply) (DBusGProxy *proxy, char * *OUT_arg0, GError *error, gpointer userdata);
       
    44 
       
    45 static void
       
    46 tp_conn_iface_avatars_get_avatar_requirements_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
       
    47 {
       
    48   DBusGAsyncData *data = (DBusGAsyncData*) user_data;
       
    49   GError *error = NULL;
       
    50   char ** OUT_arg0;
       
    51   dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_arg0, G_TYPE_INVALID);
       
    52   (*(tp_conn_iface_avatars_get_avatar_requirements_reply)data->cb) (proxy, OUT_arg0, error, data->userdata);
       
    53   return;
       
    54 }
       
    55 
       
    56 static
       
    57 #ifdef G_HAVE_INLINE
       
    58 inline
       
    59 #endif
       
    60 DBusGProxyCall*
       
    61 tp_conn_iface_avatars_get_avatar_requirements_async (DBusGProxy *proxy, tp_conn_iface_avatars_get_avatar_requirements_reply callback, gpointer userdata)
       
    62 
       
    63 {
       
    64   DBusGAsyncData *stuff;
       
    65   stuff = g_new (DBusGAsyncData, 1);
       
    66   stuff->cb = G_CALLBACK (callback);
       
    67   stuff->userdata = userdata;
       
    68   return dbus_g_proxy_begin_call (proxy, "GetAvatarRequirements", tp_conn_iface_avatars_get_avatar_requirements_async_callback, stuff, g_free, G_TYPE_INVALID);
       
    69 }
       
    70 static
       
    71 #ifdef G_HAVE_INLINE
       
    72 inline
       
    73 #endif
       
    74 gboolean
       
    75 tp_conn_iface_avatars_get_known_avatar_tokens (DBusGProxy *proxy, const GArray* IN_contacts, GHashTable** OUT_arg1, GError **error)
       
    76 
       
    77 {
       
    78   return dbus_g_proxy_call (proxy, "GetKnownAvatarTokens", error, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_INVALID, dbus_g_type_get_map ("GHashTable", G_TYPE_UINT, G_TYPE_STRING), OUT_arg1, G_TYPE_INVALID);
       
    79 }
       
    80 
       
    81 typedef void (*tp_conn_iface_avatars_get_known_avatar_tokens_reply) (DBusGProxy *proxy, GHashTable *OUT_arg1, GError *error, gpointer userdata);
       
    82 
       
    83 static void
       
    84 tp_conn_iface_avatars_get_known_avatar_tokens_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
       
    85 {
       
    86   DBusGAsyncData *data = (DBusGAsyncData*) user_data;
       
    87   GError *error = NULL;
       
    88   GHashTable* OUT_arg1;
       
    89   dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_map ("GHashTable", G_TYPE_UINT, G_TYPE_STRING), &OUT_arg1, G_TYPE_INVALID);
       
    90   (*(tp_conn_iface_avatars_get_known_avatar_tokens_reply)data->cb) (proxy, OUT_arg1, error, data->userdata);
       
    91   return;
       
    92 }
       
    93 
       
    94 static
       
    95 #ifdef G_HAVE_INLINE
       
    96 inline
       
    97 #endif
       
    98 DBusGProxyCall*
       
    99 tp_conn_iface_avatars_get_known_avatar_tokens_async (DBusGProxy *proxy, const GArray* IN_contacts, tp_conn_iface_avatars_get_known_avatar_tokens_reply callback, gpointer userdata)
       
   100 
       
   101 {
       
   102   DBusGAsyncData *stuff;
       
   103   stuff = g_new (DBusGAsyncData, 1);
       
   104   stuff->cb = G_CALLBACK (callback);
       
   105   stuff->userdata = userdata;
       
   106   return dbus_g_proxy_begin_call (proxy, "GetKnownAvatarTokens", tp_conn_iface_avatars_get_known_avatar_tokens_async_callback, stuff, g_free, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_contacts, G_TYPE_INVALID);
       
   107 }
       
   108 static
       
   109 #ifdef G_HAVE_INLINE
       
   110 inline
       
   111 #endif
       
   112 gboolean
       
   113 tp_conn_iface_avatars_request_avatars (DBusGProxy *proxy, const GArray* IN_contact, GError **error)
       
   114 
       
   115 {
       
   116   return dbus_g_proxy_call (proxy, "RequestAvatars", error, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_contact, G_TYPE_INVALID, G_TYPE_INVALID);
       
   117 }
       
   118 
       
   119 typedef void (*tp_conn_iface_avatars_request_avatars_reply) (DBusGProxy *proxy, GError *error, gpointer userdata);
       
   120 
       
   121 static void
       
   122 tp_conn_iface_avatars_request_avatars_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
       
   123 {
       
   124   DBusGAsyncData *data = (DBusGAsyncData*) user_data;
       
   125   GError *error = NULL;
       
   126   dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID);
       
   127   (*(tp_conn_iface_avatars_request_avatars_reply)data->cb) (proxy, error, data->userdata);
       
   128   return;
       
   129 }
       
   130 
       
   131 static
       
   132 #ifdef G_HAVE_INLINE
       
   133 inline
       
   134 #endif
       
   135 DBusGProxyCall*
       
   136 tp_conn_iface_avatars_request_avatars_async (DBusGProxy *proxy, const GArray* IN_contact, tp_conn_iface_avatars_request_avatars_reply callback, gpointer userdata)
       
   137 
       
   138 {
       
   139   DBusGAsyncData *stuff;
       
   140   stuff = g_new (DBusGAsyncData, 1);
       
   141   stuff->cb = G_CALLBACK (callback);
       
   142   stuff->userdata = userdata;
       
   143   return dbus_g_proxy_begin_call (proxy, "RequestAvatars", tp_conn_iface_avatars_request_avatars_async_callback, stuff, g_free, dbus_g_type_get_collection ("GArray", G_TYPE_UINT), IN_contact, G_TYPE_INVALID);
       
   144 }
       
   145 static
       
   146 #ifdef G_HAVE_INLINE
       
   147 inline
       
   148 #endif
       
   149 gboolean
       
   150 tp_conn_iface_avatars_set_avatar (DBusGProxy *proxy, const GArray* IN_avatar, const char * IN_mime_type, char ** OUT_arg2, GError **error)
       
   151 
       
   152 {
       
   153   return dbus_g_proxy_call (proxy, "SetAvatar", error, dbus_g_type_get_collection ("GArray", G_TYPE_UCHAR), IN_avatar, G_TYPE_STRING, IN_mime_type, G_TYPE_INVALID, G_TYPE_STRING, OUT_arg2, G_TYPE_INVALID);
       
   154 }
       
   155 
       
   156 typedef void (*tp_conn_iface_avatars_set_avatar_reply) (DBusGProxy *proxy, char * OUT_arg2, GError *error, gpointer userdata);
       
   157 
       
   158 static void
       
   159 tp_conn_iface_avatars_set_avatar_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
       
   160 {
       
   161   DBusGAsyncData *data = (DBusGAsyncData*) user_data;
       
   162   GError *error = NULL;
       
   163   char * OUT_arg2;
       
   164   dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &OUT_arg2, G_TYPE_INVALID);
       
   165   (*(tp_conn_iface_avatars_set_avatar_reply)data->cb) (proxy, OUT_arg2, error, data->userdata);
       
   166   return;
       
   167 }
       
   168 
       
   169 static
       
   170 #ifdef G_HAVE_INLINE
       
   171 inline
       
   172 #endif
       
   173 DBusGProxyCall*
       
   174 tp_conn_iface_avatars_set_avatar_async (DBusGProxy *proxy, const GArray* IN_avatar, const char * IN_mime_type, tp_conn_iface_avatars_set_avatar_reply callback, gpointer userdata)
       
   175 
       
   176 {
       
   177   DBusGAsyncData *stuff;
       
   178   stuff = g_new (DBusGAsyncData, 1);
       
   179   stuff->cb = G_CALLBACK (callback);
       
   180   stuff->userdata = userdata;
       
   181   return dbus_g_proxy_begin_call (proxy, "SetAvatar", tp_conn_iface_avatars_set_avatar_async_callback, stuff, g_free, dbus_g_type_get_collection ("GArray", G_TYPE_UCHAR), IN_avatar, G_TYPE_STRING, IN_mime_type, G_TYPE_INVALID);
       
   182 }
       
   183 static
       
   184 #ifdef G_HAVE_INLINE
       
   185 inline
       
   186 #endif
       
   187 gboolean
       
   188 tp_conn_iface_avatars_clear_avatar (DBusGProxy *proxy, GError **error)
       
   189 
       
   190 {
       
   191   return dbus_g_proxy_call (proxy, "ClearAvatar", error, G_TYPE_INVALID, G_TYPE_INVALID);
       
   192 }
       
   193 
       
   194 typedef void (*tp_conn_iface_avatars_clear_avatar_reply) (DBusGProxy *proxy, GError *error, gpointer userdata);
       
   195 
       
   196 static void
       
   197 tp_conn_iface_avatars_clear_avatar_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
       
   198 {
       
   199   DBusGAsyncData *data = (DBusGAsyncData*) user_data;
       
   200   GError *error = NULL;
       
   201   dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID);
       
   202   (*(tp_conn_iface_avatars_clear_avatar_reply)data->cb) (proxy, error, data->userdata);
       
   203   return;
       
   204 }
       
   205 
       
   206 static
       
   207 #ifdef G_HAVE_INLINE
       
   208 inline
       
   209 #endif
       
   210 DBusGProxyCall*
       
   211 tp_conn_iface_avatars_clear_avatar_async (DBusGProxy *proxy, tp_conn_iface_avatars_clear_avatar_reply callback, gpointer userdata)
       
   212 
       
   213 {
       
   214   DBusGAsyncData *stuff;
       
   215   stuff = g_new (DBusGAsyncData, 1);
       
   216   stuff->cb = G_CALLBACK (callback);
       
   217   stuff->userdata = userdata;
       
   218   return dbus_g_proxy_begin_call (proxy, "ClearAvatar", tp_conn_iface_avatars_clear_avatar_async_callback, stuff, g_free, G_TYPE_INVALID);
       
   219 }
       
   220 #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Telepathy_Connection_Interface_Avatars */
       
   221 
       
   222 G_END_DECLS