Back to index

bamf  0.2.120
bamf-gdbus-browser-generated.h
Go to the documentation of this file.
00001 /*
00002  * Generated by gdbus-codegen 2.32.3. DO NOT EDIT.
00003  *
00004  * The license of this code is the same as for the source it was derived from.
00005  */
00006 
00007 #ifndef __BAMF_GDBUS_BROWSER_GENERATED_H__
00008 #define __BAMF_GDBUS_BROWSER_GENERATED_H__
00009 
00010 #include <gio/gio.h>
00011 
00012 G_BEGIN_DECLS
00013 
00014 
00015 /* ------------------------------------------------------------------------ */
00016 /* Declarations for org.ayatana.bamf.browser */
00017 
00018 #define BAMF_DBUS_BROWSER_TYPE_ (bamf_dbus_browser__get_type ())
00019 #define BAMF_DBUS_BROWSER_(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), BAMF_DBUS_BROWSER_TYPE_, BamfDBusBrowser))
00020 #define BAMF_DBUS_BROWSER_IS_(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), BAMF_DBUS_BROWSER_TYPE_))
00021 #define BAMF_DBUS_BROWSER__GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), BAMF_DBUS_BROWSER_TYPE_, BamfDBusBrowserIface))
00022 
00023 struct _BamfDBusBrowser;
00024 typedef struct _BamfDBusBrowser BamfDBusBrowser;
00025 typedef struct _BamfDBusBrowserIface BamfDBusBrowserIface;
00026 
00027 struct _BamfDBusBrowserIface
00028 {
00029   GTypeInterface parent_iface;
00030 
00031 
00032   gboolean (*handle_show_tab) (
00033     BamfDBusBrowser *object,
00034     GDBusMethodInvocation *invocation,
00035     const gchar *arg_id);
00036 
00037   gboolean (*handle_tab_ids) (
00038     BamfDBusBrowser *object,
00039     GDBusMethodInvocation *invocation);
00040 
00041   gboolean (*handle_tab_preview) (
00042     BamfDBusBrowser *object,
00043     GDBusMethodInvocation *invocation,
00044     const gchar *arg_id);
00045 
00046   gboolean (*handle_tab_uri) (
00047     BamfDBusBrowser *object,
00048     GDBusMethodInvocation *invocation,
00049     const gchar *arg_id);
00050 
00051   gboolean (*handle_tab_xid) (
00052     BamfDBusBrowser *object,
00053     GDBusMethodInvocation *invocation,
00054     const gchar *arg_id);
00055 
00056   void (*tab_closed) (
00057     BamfDBusBrowser *object,
00058     const gchar *arg_id);
00059 
00060   void (*tab_opened) (
00061     BamfDBusBrowser *object,
00062     const gchar *arg_id);
00063 
00064   void (*tab_uri_changed) (
00065     BamfDBusBrowser *object,
00066     const gchar *arg_id,
00067     const gchar *arg_old_uri,
00068     const gchar *arg_new_uri);
00069 
00070 };
00071 
00072 GType bamf_dbus_browser__get_type (void) G_GNUC_CONST;
00073 
00074 GDBusInterfaceInfo *bamf_dbus_browser__interface_info (void);
00075 guint bamf_dbus_browser__override_properties (GObjectClass *klass, guint property_id_begin);
00076 
00077 
00078 /* D-Bus method call completion functions: */
00079 void bamf_dbus_browser__complete_tab_ids (
00080     BamfDBusBrowser *object,
00081     GDBusMethodInvocation *invocation,
00082     const gchar *const *ids);
00083 
00084 void bamf_dbus_browser__complete_show_tab (
00085     BamfDBusBrowser *object,
00086     GDBusMethodInvocation *invocation);
00087 
00088 void bamf_dbus_browser__complete_tab_uri (
00089     BamfDBusBrowser *object,
00090     GDBusMethodInvocation *invocation,
00091     const gchar *uri);
00092 
00093 void bamf_dbus_browser__complete_tab_preview (
00094     BamfDBusBrowser *object,
00095     GDBusMethodInvocation *invocation,
00096     const gchar *preview);
00097 
00098 void bamf_dbus_browser__complete_tab_xid (
00099     BamfDBusBrowser *object,
00100     GDBusMethodInvocation *invocation,
00101     guint xid);
00102 
00103 
00104 
00105 /* D-Bus signal emissions functions: */
00106 void bamf_dbus_browser__emit_tab_opened (
00107     BamfDBusBrowser *object,
00108     const gchar *arg_id);
00109 
00110 void bamf_dbus_browser__emit_tab_closed (
00111     BamfDBusBrowser *object,
00112     const gchar *arg_id);
00113 
00114 void bamf_dbus_browser__emit_tab_uri_changed (
00115     BamfDBusBrowser *object,
00116     const gchar *arg_id,
00117     const gchar *arg_old_uri,
00118     const gchar *arg_new_uri);
00119 
00120 
00121 
00122 /* D-Bus method calls: */
00123 void bamf_dbus_browser__call_tab_ids (
00124     BamfDBusBrowser *proxy,
00125     GCancellable *cancellable,
00126     GAsyncReadyCallback callback,
00127     gpointer user_data);
00128 
00129 gboolean bamf_dbus_browser__call_tab_ids_finish (
00130     BamfDBusBrowser *proxy,
00131     gchar ***out_ids,
00132     GAsyncResult *res,
00133     GError **error);
00134 
00135 gboolean bamf_dbus_browser__call_tab_ids_sync (
00136     BamfDBusBrowser *proxy,
00137     gchar ***out_ids,
00138     GCancellable *cancellable,
00139     GError **error);
00140 
00141 void bamf_dbus_browser__call_show_tab (
00142     BamfDBusBrowser *proxy,
00143     const gchar *arg_id,
00144     GCancellable *cancellable,
00145     GAsyncReadyCallback callback,
00146     gpointer user_data);
00147 
00148 gboolean bamf_dbus_browser__call_show_tab_finish (
00149     BamfDBusBrowser *proxy,
00150     GAsyncResult *res,
00151     GError **error);
00152 
00153 gboolean bamf_dbus_browser__call_show_tab_sync (
00154     BamfDBusBrowser *proxy,
00155     const gchar *arg_id,
00156     GCancellable *cancellable,
00157     GError **error);
00158 
00159 void bamf_dbus_browser__call_tab_uri (
00160     BamfDBusBrowser *proxy,
00161     const gchar *arg_id,
00162     GCancellable *cancellable,
00163     GAsyncReadyCallback callback,
00164     gpointer user_data);
00165 
00166 gboolean bamf_dbus_browser__call_tab_uri_finish (
00167     BamfDBusBrowser *proxy,
00168     gchar **out_uri,
00169     GAsyncResult *res,
00170     GError **error);
00171 
00172 gboolean bamf_dbus_browser__call_tab_uri_sync (
00173     BamfDBusBrowser *proxy,
00174     const gchar *arg_id,
00175     gchar **out_uri,
00176     GCancellable *cancellable,
00177     GError **error);
00178 
00179 void bamf_dbus_browser__call_tab_preview (
00180     BamfDBusBrowser *proxy,
00181     const gchar *arg_id,
00182     GCancellable *cancellable,
00183     GAsyncReadyCallback callback,
00184     gpointer user_data);
00185 
00186 gboolean bamf_dbus_browser__call_tab_preview_finish (
00187     BamfDBusBrowser *proxy,
00188     gchar **out_preview,
00189     GAsyncResult *res,
00190     GError **error);
00191 
00192 gboolean bamf_dbus_browser__call_tab_preview_sync (
00193     BamfDBusBrowser *proxy,
00194     const gchar *arg_id,
00195     gchar **out_preview,
00196     GCancellable *cancellable,
00197     GError **error);
00198 
00199 void bamf_dbus_browser__call_tab_xid (
00200     BamfDBusBrowser *proxy,
00201     const gchar *arg_id,
00202     GCancellable *cancellable,
00203     GAsyncReadyCallback callback,
00204     gpointer user_data);
00205 
00206 gboolean bamf_dbus_browser__call_tab_xid_finish (
00207     BamfDBusBrowser *proxy,
00208     guint *out_xid,
00209     GAsyncResult *res,
00210     GError **error);
00211 
00212 gboolean bamf_dbus_browser__call_tab_xid_sync (
00213     BamfDBusBrowser *proxy,
00214     const gchar *arg_id,
00215     guint *out_xid,
00216     GCancellable *cancellable,
00217     GError **error);
00218 
00219 
00220 
00221 /* ---- */
00222 
00223 #define BAMF_DBUS_BROWSER_TYPE__PROXY (bamf_dbus_browser__proxy_get_type ())
00224 #define BAMF_DBUS_BROWSER__PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), BAMF_DBUS_BROWSER_TYPE__PROXY, BamfDBusBrowserProxy))
00225 #define BAMF_DBUS_BROWSER__PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), BAMF_DBUS_BROWSER_TYPE__PROXY, BamfDBusBrowserProxyClass))
00226 #define BAMF_DBUS_BROWSER__PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), BAMF_DBUS_BROWSER_TYPE__PROXY, BamfDBusBrowserProxyClass))
00227 #define BAMF_DBUS_BROWSER_IS__PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), BAMF_DBUS_BROWSER_TYPE__PROXY))
00228 #define BAMF_DBUS_BROWSER_IS__PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), BAMF_DBUS_BROWSER_TYPE__PROXY))
00229 
00230 typedef struct _BamfDBusBrowserProxy BamfDBusBrowserProxy;
00231 typedef struct _BamfDBusBrowserProxyClass BamfDBusBrowserProxyClass;
00232 typedef struct _BamfDBusBrowserProxyPrivate BamfDBusBrowserProxyPrivate;
00233 
00234 struct _BamfDBusBrowserProxy
00235 {
00236   /*< private >*/
00237   GDBusProxy parent_instance;
00238   BamfDBusBrowserProxyPrivate *priv;
00239 };
00240 
00241 struct _BamfDBusBrowserProxyClass
00242 {
00243   GDBusProxyClass parent_class;
00244 };
00245 
00246 GType bamf_dbus_browser__proxy_get_type (void) G_GNUC_CONST;
00247 
00248 void bamf_dbus_browser__proxy_new (
00249     GDBusConnection     *connection,
00250     GDBusProxyFlags      flags,
00251     const gchar         *name,
00252     const gchar         *object_path,
00253     GCancellable        *cancellable,
00254     GAsyncReadyCallback  callback,
00255     gpointer             user_data);
00256 BamfDBusBrowser *bamf_dbus_browser__proxy_new_finish (
00257     GAsyncResult        *res,
00258     GError             **error);
00259 BamfDBusBrowser *bamf_dbus_browser__proxy_new_sync (
00260     GDBusConnection     *connection,
00261     GDBusProxyFlags      flags,
00262     const gchar         *name,
00263     const gchar         *object_path,
00264     GCancellable        *cancellable,
00265     GError             **error);
00266 
00267 void bamf_dbus_browser__proxy_new_for_bus (
00268     GBusType             bus_type,
00269     GDBusProxyFlags      flags,
00270     const gchar         *name,
00271     const gchar         *object_path,
00272     GCancellable        *cancellable,
00273     GAsyncReadyCallback  callback,
00274     gpointer             user_data);
00275 BamfDBusBrowser *bamf_dbus_browser__proxy_new_for_bus_finish (
00276     GAsyncResult        *res,
00277     GError             **error);
00278 BamfDBusBrowser *bamf_dbus_browser__proxy_new_for_bus_sync (
00279     GBusType             bus_type,
00280     GDBusProxyFlags      flags,
00281     const gchar         *name,
00282     const gchar         *object_path,
00283     GCancellable        *cancellable,
00284     GError             **error);
00285 
00286 
00287 /* ---- */
00288 
00289 #define BAMF_DBUS_BROWSER_TYPE__SKELETON (bamf_dbus_browser__skeleton_get_type ())
00290 #define BAMF_DBUS_BROWSER__SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), BAMF_DBUS_BROWSER_TYPE__SKELETON, BamfDBusBrowserSkeleton))
00291 #define BAMF_DBUS_BROWSER__SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), BAMF_DBUS_BROWSER_TYPE__SKELETON, BamfDBusBrowserSkeletonClass))
00292 #define BAMF_DBUS_BROWSER__SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), BAMF_DBUS_BROWSER_TYPE__SKELETON, BamfDBusBrowserSkeletonClass))
00293 #define BAMF_DBUS_BROWSER_IS__SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), BAMF_DBUS_BROWSER_TYPE__SKELETON))
00294 #define BAMF_DBUS_BROWSER_IS__SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), BAMF_DBUS_BROWSER_TYPE__SKELETON))
00295 
00296 typedef struct _BamfDBusBrowserSkeleton BamfDBusBrowserSkeleton;
00297 typedef struct _BamfDBusBrowserSkeletonClass BamfDBusBrowserSkeletonClass;
00298 typedef struct _BamfDBusBrowserSkeletonPrivate BamfDBusBrowserSkeletonPrivate;
00299 
00300 struct _BamfDBusBrowserSkeleton
00301 {
00302   /*< private >*/
00303   GDBusInterfaceSkeleton parent_instance;
00304   BamfDBusBrowserSkeletonPrivate *priv;
00305 };
00306 
00307 struct _BamfDBusBrowserSkeletonClass
00308 {
00309   GDBusInterfaceSkeletonClass parent_class;
00310 };
00311 
00312 GType bamf_dbus_browser__skeleton_get_type (void) G_GNUC_CONST;
00313 
00314 BamfDBusBrowser *bamf_dbus_browser__skeleton_new (void);
00315 
00316 
00317 G_END_DECLS
00318 
00319 #endif /* __BAMF_GDBUS_BROWSER_GENERATED_H__ */