Back to index

bamf  0.2.120
bamf-gdbus-indicator-source-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_INDICATOR_SOURCE_GENERATED_H__
00008 #define __BAMF_GDBUS_INDICATOR_SOURCE_GENERATED_H__
00009 
00010 #include <gio/gio.h>
00011 
00012 G_BEGIN_DECLS
00013 
00014 
00015 /* ------------------------------------------------------------------------ */
00016 /* Declarations for com.canonical.StatusNotifierApprover */
00017 
00018 #define STATUS_NOTIFIER_APPROVER_TYPE_ (status_notifier_approver__get_type ())
00019 #define STATUS_NOTIFIER_APPROVER_(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), STATUS_NOTIFIER_APPROVER_TYPE_, StatusNotifierApprover))
00020 #define STATUS_NOTIFIER_APPROVER_IS_(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), STATUS_NOTIFIER_APPROVER_TYPE_))
00021 #define STATUS_NOTIFIER_APPROVER__GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), STATUS_NOTIFIER_APPROVER_TYPE_, StatusNotifierApproverIface))
00022 
00023 struct _StatusNotifierApprover;
00024 typedef struct _StatusNotifierApprover StatusNotifierApprover;
00025 typedef struct _StatusNotifierApproverIface StatusNotifierApproverIface;
00026 
00027 struct _StatusNotifierApproverIface
00028 {
00029   GTypeInterface parent_iface;
00030 
00031 
00032   gboolean (*handle_approve_item) (
00033     StatusNotifierApprover *object,
00034     GDBusMethodInvocation *invocation,
00035     const gchar *arg_id,
00036     const gchar *arg_category,
00037     guint arg_pid,
00038     const gchar *arg_address,
00039     const gchar *arg_path);
00040 
00041   void (*revise_judgement) (
00042     StatusNotifierApprover *object,
00043     gboolean arg_approved,
00044     const gchar *arg_address,
00045     const gchar *arg_path);
00046 
00047 };
00048 
00049 GType status_notifier_approver__get_type (void) G_GNUC_CONST;
00050 
00051 GDBusInterfaceInfo *status_notifier_approver__interface_info (void);
00052 guint status_notifier_approver__override_properties (GObjectClass *klass, guint property_id_begin);
00053 
00054 
00055 /* D-Bus method call completion functions: */
00056 void status_notifier_approver__complete_approve_item (
00057     StatusNotifierApprover *object,
00058     GDBusMethodInvocation *invocation,
00059     gboolean approved);
00060 
00061 
00062 
00063 /* D-Bus signal emissions functions: */
00064 void status_notifier_approver__emit_revise_judgement (
00065     StatusNotifierApprover *object,
00066     gboolean arg_approved,
00067     const gchar *arg_address,
00068     const gchar *arg_path);
00069 
00070 
00071 
00072 /* D-Bus method calls: */
00073 void status_notifier_approver__call_approve_item (
00074     StatusNotifierApprover *proxy,
00075     const gchar *arg_id,
00076     const gchar *arg_category,
00077     guint arg_pid,
00078     const gchar *arg_address,
00079     const gchar *arg_path,
00080     GCancellable *cancellable,
00081     GAsyncReadyCallback callback,
00082     gpointer user_data);
00083 
00084 gboolean status_notifier_approver__call_approve_item_finish (
00085     StatusNotifierApprover *proxy,
00086     gboolean *out_approved,
00087     GAsyncResult *res,
00088     GError **error);
00089 
00090 gboolean status_notifier_approver__call_approve_item_sync (
00091     StatusNotifierApprover *proxy,
00092     const gchar *arg_id,
00093     const gchar *arg_category,
00094     guint arg_pid,
00095     const gchar *arg_address,
00096     const gchar *arg_path,
00097     gboolean *out_approved,
00098     GCancellable *cancellable,
00099     GError **error);
00100 
00101 
00102 
00103 /* ---- */
00104 
00105 #define STATUS_NOTIFIER_APPROVER_TYPE__PROXY (status_notifier_approver__proxy_get_type ())
00106 #define STATUS_NOTIFIER_APPROVER__PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), STATUS_NOTIFIER_APPROVER_TYPE__PROXY, StatusNotifierApproverProxy))
00107 #define STATUS_NOTIFIER_APPROVER__PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), STATUS_NOTIFIER_APPROVER_TYPE__PROXY, StatusNotifierApproverProxyClass))
00108 #define STATUS_NOTIFIER_APPROVER__PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), STATUS_NOTIFIER_APPROVER_TYPE__PROXY, StatusNotifierApproverProxyClass))
00109 #define STATUS_NOTIFIER_APPROVER_IS__PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), STATUS_NOTIFIER_APPROVER_TYPE__PROXY))
00110 #define STATUS_NOTIFIER_APPROVER_IS__PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), STATUS_NOTIFIER_APPROVER_TYPE__PROXY))
00111 
00112 typedef struct _StatusNotifierApproverProxy StatusNotifierApproverProxy;
00113 typedef struct _StatusNotifierApproverProxyClass StatusNotifierApproverProxyClass;
00114 typedef struct _StatusNotifierApproverProxyPrivate StatusNotifierApproverProxyPrivate;
00115 
00116 struct _StatusNotifierApproverProxy
00117 {
00118   /*< private >*/
00119   GDBusProxy parent_instance;
00120   StatusNotifierApproverProxyPrivate *priv;
00121 };
00122 
00123 struct _StatusNotifierApproverProxyClass
00124 {
00125   GDBusProxyClass parent_class;
00126 };
00127 
00128 GType status_notifier_approver__proxy_get_type (void) G_GNUC_CONST;
00129 
00130 void status_notifier_approver__proxy_new (
00131     GDBusConnection     *connection,
00132     GDBusProxyFlags      flags,
00133     const gchar         *name,
00134     const gchar         *object_path,
00135     GCancellable        *cancellable,
00136     GAsyncReadyCallback  callback,
00137     gpointer             user_data);
00138 StatusNotifierApprover *status_notifier_approver__proxy_new_finish (
00139     GAsyncResult        *res,
00140     GError             **error);
00141 StatusNotifierApprover *status_notifier_approver__proxy_new_sync (
00142     GDBusConnection     *connection,
00143     GDBusProxyFlags      flags,
00144     const gchar         *name,
00145     const gchar         *object_path,
00146     GCancellable        *cancellable,
00147     GError             **error);
00148 
00149 void status_notifier_approver__proxy_new_for_bus (
00150     GBusType             bus_type,
00151     GDBusProxyFlags      flags,
00152     const gchar         *name,
00153     const gchar         *object_path,
00154     GCancellable        *cancellable,
00155     GAsyncReadyCallback  callback,
00156     gpointer             user_data);
00157 StatusNotifierApprover *status_notifier_approver__proxy_new_for_bus_finish (
00158     GAsyncResult        *res,
00159     GError             **error);
00160 StatusNotifierApprover *status_notifier_approver__proxy_new_for_bus_sync (
00161     GBusType             bus_type,
00162     GDBusProxyFlags      flags,
00163     const gchar         *name,
00164     const gchar         *object_path,
00165     GCancellable        *cancellable,
00166     GError             **error);
00167 
00168 
00169 /* ---- */
00170 
00171 #define STATUS_NOTIFIER_APPROVER_TYPE__SKELETON (status_notifier_approver__skeleton_get_type ())
00172 #define STATUS_NOTIFIER_APPROVER__SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), STATUS_NOTIFIER_APPROVER_TYPE__SKELETON, StatusNotifierApproverSkeleton))
00173 #define STATUS_NOTIFIER_APPROVER__SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), STATUS_NOTIFIER_APPROVER_TYPE__SKELETON, StatusNotifierApproverSkeletonClass))
00174 #define STATUS_NOTIFIER_APPROVER__SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), STATUS_NOTIFIER_APPROVER_TYPE__SKELETON, StatusNotifierApproverSkeletonClass))
00175 #define STATUS_NOTIFIER_APPROVER_IS__SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), STATUS_NOTIFIER_APPROVER_TYPE__SKELETON))
00176 #define STATUS_NOTIFIER_APPROVER_IS__SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), STATUS_NOTIFIER_APPROVER_TYPE__SKELETON))
00177 
00178 typedef struct _StatusNotifierApproverSkeleton StatusNotifierApproverSkeleton;
00179 typedef struct _StatusNotifierApproverSkeletonClass StatusNotifierApproverSkeletonClass;
00180 typedef struct _StatusNotifierApproverSkeletonPrivate StatusNotifierApproverSkeletonPrivate;
00181 
00182 struct _StatusNotifierApproverSkeleton
00183 {
00184   /*< private >*/
00185   GDBusInterfaceSkeleton parent_instance;
00186   StatusNotifierApproverSkeletonPrivate *priv;
00187 };
00188 
00189 struct _StatusNotifierApproverSkeletonClass
00190 {
00191   GDBusInterfaceSkeletonClass parent_class;
00192 };
00193 
00194 GType status_notifier_approver__skeleton_get_type (void) G_GNUC_CONST;
00195 
00196 StatusNotifierApprover *status_notifier_approver__skeleton_new (void);
00197 
00198 
00199 G_END_DECLS
00200 
00201 #endif /* __BAMF_GDBUS_INDICATOR_SOURCE_GENERATED_H__ */