Back to index

bamf  0.2.120
bamf-tab-source-glue.h
Go to the documentation of this file.
00001 /* Generated by dbus-binding-tool; do not edit! */
00002 
00003 
00004 #ifndef __dbus_glib_marshal_bamf_tab_source_MARSHAL_H__
00005 #define __dbus_glib_marshal_bamf_tab_source_MARSHAL_H__
00006 
00007 #include      <glib-object.h>
00008 
00009 G_BEGIN_DECLS
00010 
00011 #ifdef G_ENABLE_DEBUG
00012 #define g_marshal_value_peek_boolean(v)  g_value_get_boolean (v)
00013 #define g_marshal_value_peek_char(v)     g_value_get_schar (v)
00014 #define g_marshal_value_peek_uchar(v)    g_value_get_uchar (v)
00015 #define g_marshal_value_peek_int(v)      g_value_get_int (v)
00016 #define g_marshal_value_peek_uint(v)     g_value_get_uint (v)
00017 #define g_marshal_value_peek_long(v)     g_value_get_long (v)
00018 #define g_marshal_value_peek_ulong(v)    g_value_get_ulong (v)
00019 #define g_marshal_value_peek_int64(v)    g_value_get_int64 (v)
00020 #define g_marshal_value_peek_uint64(v)   g_value_get_uint64 (v)
00021 #define g_marshal_value_peek_enum(v)     g_value_get_enum (v)
00022 #define g_marshal_value_peek_flags(v)    g_value_get_flags (v)
00023 #define g_marshal_value_peek_float(v)    g_value_get_float (v)
00024 #define g_marshal_value_peek_double(v)   g_value_get_double (v)
00025 #define g_marshal_value_peek_string(v)   (char*) g_value_get_string (v)
00026 #define g_marshal_value_peek_param(v)    g_value_get_param (v)
00027 #define g_marshal_value_peek_boxed(v)    g_value_get_boxed (v)
00028 #define g_marshal_value_peek_pointer(v)  g_value_get_pointer (v)
00029 #define g_marshal_value_peek_object(v)   g_value_get_object (v)
00030 #define g_marshal_value_peek_variant(v)  g_value_get_variant (v)
00031 #else /* !G_ENABLE_DEBUG */
00032 /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
00033  *          Do not access GValues directly in your code. Instead, use the
00034  *          g_value_get_*() functions
00035  */
00036 #define g_marshal_value_peek_boolean(v)  (v)->data[0].v_int
00037 #define g_marshal_value_peek_char(v)     (v)->data[0].v_int
00038 #define g_marshal_value_peek_uchar(v)    (v)->data[0].v_uint
00039 #define g_marshal_value_peek_int(v)      (v)->data[0].v_int
00040 #define g_marshal_value_peek_uint(v)     (v)->data[0].v_uint
00041 #define g_marshal_value_peek_long(v)     (v)->data[0].v_long
00042 #define g_marshal_value_peek_ulong(v)    (v)->data[0].v_ulong
00043 #define g_marshal_value_peek_int64(v)    (v)->data[0].v_int64
00044 #define g_marshal_value_peek_uint64(v)   (v)->data[0].v_uint64
00045 #define g_marshal_value_peek_enum(v)     (v)->data[0].v_long
00046 #define g_marshal_value_peek_flags(v)    (v)->data[0].v_ulong
00047 #define g_marshal_value_peek_float(v)    (v)->data[0].v_float
00048 #define g_marshal_value_peek_double(v)   (v)->data[0].v_double
00049 #define g_marshal_value_peek_string(v)   (v)->data[0].v_pointer
00050 #define g_marshal_value_peek_param(v)    (v)->data[0].v_pointer
00051 #define g_marshal_value_peek_boxed(v)    (v)->data[0].v_pointer
00052 #define g_marshal_value_peek_pointer(v)  (v)->data[0].v_pointer
00053 #define g_marshal_value_peek_object(v)   (v)->data[0].v_pointer
00054 #define g_marshal_value_peek_variant(v)  (v)->data[0].v_pointer
00055 #endif /* !G_ENABLE_DEBUG */
00056 
00057 
00058 /* BOXED:STRING */
00059 extern void dbus_glib_marshal_bamf_tab_source_BOXED__STRING (GClosure     *closure,
00060                                                              GValue       *return_value,
00061                                                              guint         n_param_values,
00062                                                              const GValue *param_values,
00063                                                              gpointer      invocation_hint,
00064                                                              gpointer      marshal_data);
00065 void
00066 dbus_glib_marshal_bamf_tab_source_BOXED__STRING (GClosure     *closure,
00067                                                  GValue       *return_value G_GNUC_UNUSED,
00068                                                  guint         n_param_values,
00069                                                  const GValue *param_values,
00070                                                  gpointer      invocation_hint G_GNUC_UNUSED,
00071                                                  gpointer      marshal_data)
00072 {
00073   typedef gpointer (*GMarshalFunc_BOXED__STRING) (gpointer     data1,
00074                                                   gpointer     arg_1,
00075                                                   gpointer     data2);
00076   register GMarshalFunc_BOXED__STRING callback;
00077   register GCClosure *cc = (GCClosure*) closure;
00078   register gpointer data1, data2;
00079   gpointer v_return;
00080 
00081   g_return_if_fail (return_value != NULL);
00082   g_return_if_fail (n_param_values == 2);
00083 
00084   if (G_CCLOSURE_SWAP_DATA (closure))
00085     {
00086       data1 = closure->data;
00087       data2 = g_value_peek_pointer (param_values + 0);
00088     }
00089   else
00090     {
00091       data1 = g_value_peek_pointer (param_values + 0);
00092       data2 = closure->data;
00093     }
00094   callback = (GMarshalFunc_BOXED__STRING) (marshal_data ? marshal_data : cc->callback);
00095 
00096   v_return = callback (data1,
00097                        g_marshal_value_peek_string (param_values + 1),
00098                        data2);
00099 
00100   g_value_take_boxed (return_value, v_return);
00101 }
00102 
00103 /* BOOLEAN:STRING,POINTER */
00104 extern void dbus_glib_marshal_bamf_tab_source_BOOLEAN__STRING_POINTER (GClosure     *closure,
00105                                                                        GValue       *return_value,
00106                                                                        guint         n_param_values,
00107                                                                        const GValue *param_values,
00108                                                                        gpointer      invocation_hint,
00109                                                                        gpointer      marshal_data);
00110 void
00111 dbus_glib_marshal_bamf_tab_source_BOOLEAN__STRING_POINTER (GClosure     *closure,
00112                                                            GValue       *return_value G_GNUC_UNUSED,
00113                                                            guint         n_param_values,
00114                                                            const GValue *param_values,
00115                                                            gpointer      invocation_hint G_GNUC_UNUSED,
00116                                                            gpointer      marshal_data)
00117 {
00118   typedef gboolean (*GMarshalFunc_BOOLEAN__STRING_POINTER) (gpointer     data1,
00119                                                             gpointer     arg_1,
00120                                                             gpointer     arg_2,
00121                                                             gpointer     data2);
00122   register GMarshalFunc_BOOLEAN__STRING_POINTER callback;
00123   register GCClosure *cc = (GCClosure*) closure;
00124   register gpointer data1, data2;
00125   gboolean v_return;
00126 
00127   g_return_if_fail (return_value != NULL);
00128   g_return_if_fail (n_param_values == 3);
00129 
00130   if (G_CCLOSURE_SWAP_DATA (closure))
00131     {
00132       data1 = closure->data;
00133       data2 = g_value_peek_pointer (param_values + 0);
00134     }
00135   else
00136     {
00137       data1 = g_value_peek_pointer (param_values + 0);
00138       data2 = closure->data;
00139     }
00140   callback = (GMarshalFunc_BOOLEAN__STRING_POINTER) (marshal_data ? marshal_data : cc->callback);
00141 
00142   v_return = callback (data1,
00143                        g_marshal_value_peek_string (param_values + 1),
00144                        g_marshal_value_peek_pointer (param_values + 2),
00145                        data2);
00146 
00147   g_value_set_boolean (return_value, v_return);
00148 }
00149 
00150 /* UINT:STRING */
00151 extern void dbus_glib_marshal_bamf_tab_source_UINT__STRING (GClosure     *closure,
00152                                                             GValue       *return_value,
00153                                                             guint         n_param_values,
00154                                                             const GValue *param_values,
00155                                                             gpointer      invocation_hint,
00156                                                             gpointer      marshal_data);
00157 void
00158 dbus_glib_marshal_bamf_tab_source_UINT__STRING (GClosure     *closure,
00159                                                 GValue       *return_value G_GNUC_UNUSED,
00160                                                 guint         n_param_values,
00161                                                 const GValue *param_values,
00162                                                 gpointer      invocation_hint G_GNUC_UNUSED,
00163                                                 gpointer      marshal_data)
00164 {
00165   typedef guint (*GMarshalFunc_UINT__STRING) (gpointer     data1,
00166                                               gpointer     arg_1,
00167                                               gpointer     data2);
00168   register GMarshalFunc_UINT__STRING callback;
00169   register GCClosure *cc = (GCClosure*) closure;
00170   register gpointer data1, data2;
00171   guint v_return;
00172 
00173   g_return_if_fail (return_value != NULL);
00174   g_return_if_fail (n_param_values == 2);
00175 
00176   if (G_CCLOSURE_SWAP_DATA (closure))
00177     {
00178       data1 = closure->data;
00179       data2 = g_value_peek_pointer (param_values + 0);
00180     }
00181   else
00182     {
00183       data1 = g_value_peek_pointer (param_values + 0);
00184       data2 = closure->data;
00185     }
00186   callback = (GMarshalFunc_UINT__STRING) (marshal_data ? marshal_data : cc->callback);
00187 
00188   v_return = callback (data1,
00189                        g_marshal_value_peek_string (param_values + 1),
00190                        data2);
00191 
00192   g_value_set_uint (return_value, v_return);
00193 }
00194 
00195 /* BOXED:NONE */
00196 extern void dbus_glib_marshal_bamf_tab_source_BOXED__VOID (GClosure     *closure,
00197                                                            GValue       *return_value,
00198                                                            guint         n_param_values,
00199                                                            const GValue *param_values,
00200                                                            gpointer      invocation_hint,
00201                                                            gpointer      marshal_data);
00202 void
00203 dbus_glib_marshal_bamf_tab_source_BOXED__VOID (GClosure     *closure,
00204                                                GValue       *return_value G_GNUC_UNUSED,
00205                                                guint         n_param_values,
00206                                                const GValue *param_values,
00207                                                gpointer      invocation_hint G_GNUC_UNUSED,
00208                                                gpointer      marshal_data)
00209 {
00210   typedef gpointer (*GMarshalFunc_BOXED__VOID) (gpointer     data1,
00211                                                 gpointer     data2);
00212   register GMarshalFunc_BOXED__VOID callback;
00213   register GCClosure *cc = (GCClosure*) closure;
00214   register gpointer data1, data2;
00215   gpointer v_return;
00216 
00217   g_return_if_fail (return_value != NULL);
00218   g_return_if_fail (n_param_values == 1);
00219 
00220   if (G_CCLOSURE_SWAP_DATA (closure))
00221     {
00222       data1 = closure->data;
00223       data2 = g_value_peek_pointer (param_values + 0);
00224     }
00225   else
00226     {
00227       data1 = g_value_peek_pointer (param_values + 0);
00228       data2 = closure->data;
00229     }
00230   callback = (GMarshalFunc_BOXED__VOID) (marshal_data ? marshal_data : cc->callback);
00231 
00232   v_return = callback (data1,
00233                        data2);
00234 
00235   g_value_take_boxed (return_value, v_return);
00236 }
00237 #define dbus_glib_marshal_bamf_tab_source_BOXED__NONE   dbus_glib_marshal_bamf_tab_source_BOXED__VOID
00238 
00239 /* STRING:STRING */
00240 extern void dbus_glib_marshal_bamf_tab_source_STRING__STRING (GClosure     *closure,
00241                                                               GValue       *return_value,
00242                                                               guint         n_param_values,
00243                                                               const GValue *param_values,
00244                                                               gpointer      invocation_hint,
00245                                                               gpointer      marshal_data);
00246 void
00247 dbus_glib_marshal_bamf_tab_source_STRING__STRING (GClosure     *closure,
00248                                                   GValue       *return_value G_GNUC_UNUSED,
00249                                                   guint         n_param_values,
00250                                                   const GValue *param_values,
00251                                                   gpointer      invocation_hint G_GNUC_UNUSED,
00252                                                   gpointer      marshal_data)
00253 {
00254   typedef gchar* (*GMarshalFunc_STRING__STRING) (gpointer     data1,
00255                                                  gpointer     arg_1,
00256                                                  gpointer     data2);
00257   register GMarshalFunc_STRING__STRING callback;
00258   register GCClosure *cc = (GCClosure*) closure;
00259   register gpointer data1, data2;
00260   gchar* v_return;
00261 
00262   g_return_if_fail (return_value != NULL);
00263   g_return_if_fail (n_param_values == 2);
00264 
00265   if (G_CCLOSURE_SWAP_DATA (closure))
00266     {
00267       data1 = closure->data;
00268       data2 = g_value_peek_pointer (param_values + 0);
00269     }
00270   else
00271     {
00272       data1 = g_value_peek_pointer (param_values + 0);
00273       data2 = closure->data;
00274     }
00275   callback = (GMarshalFunc_STRING__STRING) (marshal_data ? marshal_data : cc->callback);
00276 
00277   v_return = callback (data1,
00278                        g_marshal_value_peek_string (param_values + 1),
00279                        data2);
00280 
00281   g_value_take_string (return_value, v_return);
00282 }
00283 
00284 G_END_DECLS
00285 
00286 #endif /* __dbus_glib_marshal_bamf_tab_source_MARSHAL_H__ */
00287 
00288 #include <dbus/dbus-glib.h>
00289 static const DBusGMethodInfo dbus_glib_bamf_tab_source_methods[] = {
00290   { (GCallback) bamf_tab_source_show_tab, dbus_glib_marshal_bamf_tab_source_BOOLEAN__STRING_POINTER, 0 },
00291   { (GCallback) bamf_tab_source_get_tab_ids, dbus_glib_marshal_bamf_tab_source_BOXED__NONE, 49 },
00292   { (GCallback) bamf_tab_source_get_tab_preview, dbus_glib_marshal_bamf_tab_source_BOXED__STRING, 103 },
00293   { (GCallback) bamf_tab_source_get_tab_uri, dbus_glib_marshal_bamf_tab_source_STRING__STRING, 169 },
00294   { (GCallback) bamf_tab_source_get_tab_xid, dbus_glib_marshal_bamf_tab_source_UINT__STRING, 229 },
00295 };
00296 
00297 const DBusGObjectInfo dbus_glib_bamf_tab_source_object_info = {  1,
00298   dbus_glib_bamf_tab_source_methods,
00299   5,
00300 "org.ayatana.bamf.tabsource\0ShowTab\0S\0tab_id\0I\0s\0\0org.ayatana.bamf.tabsource\0TabIds\0S\0tab_ids\0O\0F\0R\0as\0\0org.ayatana.bamf.tabsource\0TabPreview\0S\0tab_id\0I\0s\0data\0O\0F\0R\0ay\0\0org.ayatana.bamf.tabsource\0TabUri\0S\0tab_id\0I\0s\0uri\0O\0F\0R\0s\0\0org.ayatana.bamf.tabsource\0TabXid\0S\0tab_id\0I\0s\0xid\0O\0F\0R\0u\0\0\0",
00301 "org.ayatana.bamf.tabsource\0TabOpened\0org.ayatana.bamf.tabsource\0TabClosed\0org.ayatana.bamf.tabsource\0TabUriChanged\0\0",
00302 "\0"
00303 };
00304