ofdbus/tsrc/nft/g_N_messages1/inc/dbus_glib1-bindings.h
changeset 0 e4d67989cc36
equal deleted inserted replaced
-1:000000000000 0:e4d67989cc36
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 /* Generated by dbus-binding-tool; do not edit! */
       
    20 
       
    21 #include <glib/gtypes.h>
       
    22 #include <glib/gerror.h>
       
    23 #include <dbus/dbus-glib.h>
       
    24 
       
    25 G_BEGIN_DECLS
       
    26 
       
    27 #ifndef DBUS_GLIB_CLIENT_WRAPPERS_com_example_DBusGlibObject1
       
    28 #define DBUS_GLIB_CLIENT_WRAPPERS_com_example_DBusGlibObject1
       
    29 
       
    30 static
       
    31 #ifdef G_HAVE_INLINE
       
    32 inline
       
    33 #endif
       
    34 gboolean
       
    35 com_example_DBusGlibObject1_variable_args_method (DBusGProxy *proxy, const gboolean IN_b, const gint IN_n, const gint IN_i, const gint64 IN_x, const gint IN_q, const guint IN_u, const guint64 IN_t, const gdouble IN_d, const char * IN_s, const GArray* IN_a, gint* OUT_r, GError **error)
       
    36 
       
    37 {
       
    38   return dbus_g_proxy_call (proxy, "Variable_args_method", error, G_TYPE_BOOLEAN, IN_b, G_TYPE_INT, IN_n, G_TYPE_INT, IN_i, G_TYPE_INT64, IN_x, G_TYPE_INT, IN_q, G_TYPE_UINT, IN_u, G_TYPE_UINT64, IN_t, G_TYPE_DOUBLE, IN_d, G_TYPE_STRING, IN_s, dbus_g_type_get_collection ("GArray", G_TYPE_INT), IN_a, G_TYPE_INVALID, G_TYPE_INT, OUT_r, G_TYPE_INVALID);
       
    39 }
       
    40 
       
    41 typedef void (*com_example_DBusGlibObject1_variable_args_method_reply) (DBusGProxy *proxy, gint OUT_r, GError *error, gpointer userdata);
       
    42 
       
    43 static void
       
    44 com_example_DBusGlibObject1_variable_args_method_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
       
    45 {
       
    46   DBusGAsyncData *data = (DBusGAsyncData*) user_data;
       
    47   GError *error = NULL;
       
    48   gint OUT_r;
       
    49   dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INT, &OUT_r, G_TYPE_INVALID);
       
    50   (*(com_example_DBusGlibObject1_variable_args_method_reply)data->cb) (proxy, OUT_r, error, data->userdata);
       
    51   return;
       
    52 }
       
    53 
       
    54 static
       
    55 #ifdef G_HAVE_INLINE
       
    56 inline
       
    57 #endif
       
    58 DBusGProxyCall*
       
    59 com_example_DBusGlibObject1_variable_args_method_async (DBusGProxy *proxy, const gboolean IN_b, const gint IN_n, const gint IN_i, const gint64 IN_x, const gint IN_q, const guint IN_u, const guint64 IN_t, const gdouble IN_d, const char * IN_s, const GArray* IN_a, com_example_DBusGlibObject1_variable_args_method_reply callback, gpointer userdata)
       
    60 
       
    61 {
       
    62   DBusGAsyncData *stuff;
       
    63   stuff = g_new (DBusGAsyncData, 1);
       
    64   stuff->cb = G_CALLBACK (callback);
       
    65   stuff->userdata = userdata;
       
    66   return dbus_g_proxy_begin_call (proxy, "Variable_args_method", com_example_DBusGlibObject1_variable_args_method_async_callback, stuff, g_free, G_TYPE_BOOLEAN, IN_b, G_TYPE_INT, IN_n, G_TYPE_INT, IN_i, G_TYPE_INT64, IN_x, G_TYPE_INT, IN_q, G_TYPE_UINT, IN_u, G_TYPE_UINT64, IN_t, G_TYPE_DOUBLE, IN_d, G_TYPE_STRING, IN_s, dbus_g_type_get_collection ("GArray", G_TYPE_INT), IN_a, G_TYPE_INVALID);
       
    67 }
       
    68 static
       
    69 #ifdef G_HAVE_INLINE
       
    70 inline
       
    71 #endif
       
    72 gboolean
       
    73 com_example_DBusGlibObject1_simple_method (DBusGProxy *proxy, const gint IN_in_num, gint* OUT_out_num, GError **error)
       
    74 
       
    75 {
       
    76   return dbus_g_proxy_call (proxy, "Simple_method", error, G_TYPE_INT, IN_in_num, G_TYPE_INVALID, G_TYPE_INT, OUT_out_num, G_TYPE_INVALID);
       
    77 }
       
    78 
       
    79 typedef void (*com_example_DBusGlibObject1_simple_method_reply) (DBusGProxy *proxy, gint OUT_out_num, GError *error, gpointer userdata);
       
    80 
       
    81 static void
       
    82 com_example_DBusGlibObject1_simple_method_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
       
    83 {
       
    84   DBusGAsyncData *data = (DBusGAsyncData*) user_data;
       
    85   GError *error = NULL;
       
    86   gint OUT_out_num;
       
    87   dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INT, &OUT_out_num, G_TYPE_INVALID);
       
    88   (*(com_example_DBusGlibObject1_simple_method_reply)data->cb) (proxy, OUT_out_num, error, data->userdata);
       
    89   return;
       
    90 }
       
    91 
       
    92 static
       
    93 #ifdef G_HAVE_INLINE
       
    94 inline
       
    95 #endif
       
    96 DBusGProxyCall*
       
    97 com_example_DBusGlibObject1_simple_method_async (DBusGProxy *proxy, const gint IN_in_num, com_example_DBusGlibObject1_simple_method_reply callback, gpointer userdata)
       
    98 
       
    99 {
       
   100   DBusGAsyncData *stuff;
       
   101   stuff = g_new (DBusGAsyncData, 1);
       
   102   stuff->cb = G_CALLBACK (callback);
       
   103   stuff->userdata = userdata;
       
   104   return dbus_g_proxy_begin_call (proxy, "Simple_method", com_example_DBusGlibObject1_simple_method_async_callback, stuff, g_free, G_TYPE_INT, IN_in_num, G_TYPE_INVALID);
       
   105 }
       
   106 static
       
   107 #ifdef G_HAVE_INLINE
       
   108 inline
       
   109 #endif
       
   110 gboolean
       
   111 com_example_DBusGlibObject1_struct_example_method (DBusGProxy *proxy, const GValueArray* IN_st, gint* OUT_ret, GError **error)
       
   112 
       
   113 {
       
   114   return dbus_g_proxy_call (proxy, "Struct_example_method", error, dbus_g_type_get_struct ("GValueArray", G_TYPE_INT, G_TYPE_STRING, G_TYPE_INVALID), IN_st, G_TYPE_INVALID, G_TYPE_INT, OUT_ret, G_TYPE_INVALID);
       
   115 }
       
   116 
       
   117 typedef void (*com_example_DBusGlibObject1_struct_example_method_reply) (DBusGProxy *proxy, gint OUT_ret, GError *error, gpointer userdata);
       
   118 
       
   119 static void
       
   120 com_example_DBusGlibObject1_struct_example_method_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
       
   121 {
       
   122   DBusGAsyncData *data = (DBusGAsyncData*) user_data;
       
   123   GError *error = NULL;
       
   124   gint OUT_ret;
       
   125   dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INT, &OUT_ret, G_TYPE_INVALID);
       
   126   (*(com_example_DBusGlibObject1_struct_example_method_reply)data->cb) (proxy, OUT_ret, error, data->userdata);
       
   127   return;
       
   128 }
       
   129 
       
   130 static
       
   131 #ifdef G_HAVE_INLINE
       
   132 inline
       
   133 #endif
       
   134 DBusGProxyCall*
       
   135 com_example_DBusGlibObject1_struct_example_method_async (DBusGProxy *proxy, const GValueArray* IN_st, com_example_DBusGlibObject1_struct_example_method_reply callback, gpointer userdata)
       
   136 
       
   137 {
       
   138   DBusGAsyncData *stuff;
       
   139   stuff = g_new (DBusGAsyncData, 1);
       
   140   stuff->cb = G_CALLBACK (callback);
       
   141   stuff->userdata = userdata;
       
   142   return dbus_g_proxy_begin_call (proxy, "Struct_example_method", com_example_DBusGlibObject1_struct_example_method_async_callback, stuff, g_free, dbus_g_type_get_struct ("GValueArray", G_TYPE_INT, G_TYPE_STRING, G_TYPE_INVALID), IN_st, G_TYPE_INVALID);
       
   143 }
       
   144 static
       
   145 #ifdef G_HAVE_INLINE
       
   146 inline
       
   147 #endif
       
   148 gboolean
       
   149 com_example_DBusGlibObject1_variant_send_method (DBusGProxy *proxy, const GValue* IN_in_var, GValue* OUT_out_var, GError **error)
       
   150 
       
   151 {
       
   152   return dbus_g_proxy_call (proxy, "Variant_send_method", error, G_TYPE_VALUE, IN_in_var, G_TYPE_INVALID, G_TYPE_VALUE, OUT_out_var, G_TYPE_INVALID);
       
   153 }
       
   154 
       
   155 typedef void (*com_example_DBusGlibObject1_variant_send_method_reply) (DBusGProxy *proxy, GValue OUT_out_var, GError *error, gpointer userdata);
       
   156 
       
   157 static void
       
   158 com_example_DBusGlibObject1_variant_send_method_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
       
   159 {
       
   160   DBusGAsyncData *data = (DBusGAsyncData*) user_data;
       
   161   GError *error = NULL;
       
   162   GValue OUT_out_var;
       
   163   dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_VALUE, &OUT_out_var, G_TYPE_INVALID);
       
   164   (*(com_example_DBusGlibObject1_variant_send_method_reply)data->cb) (proxy, OUT_out_var, error, data->userdata);
       
   165   return;
       
   166 }
       
   167 
       
   168 static
       
   169 #ifdef G_HAVE_INLINE
       
   170 inline
       
   171 #endif
       
   172 DBusGProxyCall*
       
   173 com_example_DBusGlibObject1_variant_send_method_async (DBusGProxy *proxy, const GValue* IN_in_var, com_example_DBusGlibObject1_variant_send_method_reply callback, gpointer userdata)
       
   174 
       
   175 {
       
   176   DBusGAsyncData *stuff;
       
   177   stuff = g_new (DBusGAsyncData, 1);
       
   178   stuff->cb = G_CALLBACK (callback);
       
   179   stuff->userdata = userdata;
       
   180   return dbus_g_proxy_begin_call (proxy, "Variant_send_method", com_example_DBusGlibObject1_variant_send_method_async_callback, stuff, g_free, G_TYPE_VALUE, IN_in_var, G_TYPE_INVALID);
       
   181 }
       
   182 static
       
   183 #ifdef G_HAVE_INLINE
       
   184 inline
       
   185 #endif
       
   186 gboolean
       
   187 com_example_DBusGlibObject1_dict_send_method (DBusGProxy *proxy, const GHashTable* IN_in_dict, gint* OUT_out_int, GError **error)
       
   188 
       
   189 {
       
   190   return dbus_g_proxy_call (proxy, "Dict_send_method", error, dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_STRING), IN_in_dict, G_TYPE_INVALID, G_TYPE_INT, OUT_out_int, G_TYPE_INVALID);
       
   191 }
       
   192 
       
   193 typedef void (*com_example_DBusGlibObject1_dict_send_method_reply) (DBusGProxy *proxy, gint OUT_out_int, GError *error, gpointer userdata);
       
   194 
       
   195 static void
       
   196 com_example_DBusGlibObject1_dict_send_method_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
       
   197 {
       
   198   DBusGAsyncData *data = (DBusGAsyncData*) user_data;
       
   199   GError *error = NULL;
       
   200   gint OUT_out_int;
       
   201   dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INT, &OUT_out_int, G_TYPE_INVALID);
       
   202   (*(com_example_DBusGlibObject1_dict_send_method_reply)data->cb) (proxy, OUT_out_int, error, data->userdata);
       
   203   return;
       
   204 }
       
   205 
       
   206 static
       
   207 #ifdef G_HAVE_INLINE
       
   208 inline
       
   209 #endif
       
   210 DBusGProxyCall*
       
   211 com_example_DBusGlibObject1_dict_send_method_async (DBusGProxy *proxy, const GHashTable* IN_in_dict, com_example_DBusGlibObject1_dict_send_method_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, "Dict_send_method", com_example_DBusGlibObject1_dict_send_method_async_callback, stuff, g_free, dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_STRING), IN_in_dict, G_TYPE_INVALID);
       
   219 }
       
   220 #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_com_example_DBusGlibObject1 */
       
   221 
       
   222 G_END_DECLS