1 /* 2 * Generated by gdbus-codegen 2.42.0. DO NOT EDIT. 3 * 4 * The license of this code is the same as for the source it was derived from. 5 */ 6 7 #ifndef __GCA_SERVICE_H__ 8 #define __GCA_SERVICE_H__ 9 10 #include <gio/gio.h> 11 12 G_BEGIN_DECLS 13 14 15 /* ------------------------------------------------------------------------ */ 16 /* Declarations for org.gnome.CodeAssist.v1.Service */ 17 18 #define GCA_TYPE_SERVICE (gca_service_get_type ()) 19 #define GCA_SERVICE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GCA_TYPE_SERVICE, GcaService)) 20 #define GCA_IS_SERVICE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GCA_TYPE_SERVICE)) 21 #define GCA_SERVICE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GCA_TYPE_SERVICE, GcaServiceIface)) 22 23 struct _GcaService; 24 typedef struct _GcaService GcaService; 25 typedef struct _GcaServiceIface GcaServiceIface; 26 27 struct _GcaServiceIface 28 { 29 GTypeInterface parent_iface; 30 31 gboolean (*handle_dispose) ( 32 GcaService *object, 33 GDBusMethodInvocation *invocation, 34 const gchar *arg_path); 35 36 gboolean (*handle_parse) ( 37 GcaService *object, 38 GDBusMethodInvocation *invocation, 39 const gchar *arg_path, 40 const gchar *arg_data_path, 41 GVariant *arg_cursor, 42 GVariant *arg_options); 43 44 }; 45 46 GType gca_service_get_type (void); 47 48 GDBusInterfaceInfo *gca_service_interface_info (void); 49 guint gca_service_override_properties (GObjectClass *klass, guint property_id_begin); 50 51 52 /* D-Bus method call completion functions: */ 53 void gca_service_complete_dispose ( 54 GcaService *object, 55 GDBusMethodInvocation *invocation); 56 57 void gca_service_complete_parse ( 58 GcaService *object, 59 GDBusMethodInvocation *invocation, 60 const gchar *unnamed_arg4); 61 62 63 64 /* D-Bus method calls: */ 65 void gca_service_call_dispose ( 66 GcaService *proxy, 67 const gchar *arg_path, 68 GCancellable *cancellable, 69 GAsyncReadyCallback callback, 70 gpointer user_data); 71 72 gboolean gca_service_call_dispose_finish ( 73 GcaService *proxy, 74 GAsyncResult *res, 75 GError **error); 76 77 gboolean gca_service_call_dispose_sync ( 78 GcaService *proxy, 79 const gchar *arg_path, 80 GCancellable *cancellable, 81 GError **error); 82 83 void gca_service_call_parse ( 84 GcaService *proxy, 85 const gchar *arg_path, 86 const gchar *arg_data_path, 87 GVariant *arg_cursor, 88 GVariant *arg_options, 89 GCancellable *cancellable, 90 GAsyncReadyCallback callback, 91 gpointer user_data); 92 93 gboolean gca_service_call_parse_finish ( 94 GcaService *proxy, 95 gchar **out_unnamed_arg4, 96 GAsyncResult *res, 97 GError **error); 98 99 gboolean gca_service_call_parse_sync ( 100 GcaService *proxy, 101 const gchar *arg_path, 102 const gchar *arg_data_path, 103 GVariant *arg_cursor, 104 GVariant *arg_options, 105 gchar **out_unnamed_arg4, 106 GCancellable *cancellable, 107 GError **error); 108 109 110 111 /* ---- */ 112 113 #define GCA_TYPE_SERVICE_PROXY (gca_service_proxy_get_type ()) 114 #define GCA_SERVICE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GCA_TYPE_SERVICE_PROXY, GcaServiceProxy)) 115 #define GCA_SERVICE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GCA_TYPE_SERVICE_PROXY, GcaServiceProxyClass)) 116 #define GCA_SERVICE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GCA_TYPE_SERVICE_PROXY, GcaServiceProxyClass)) 117 #define GCA_IS_SERVICE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GCA_TYPE_SERVICE_PROXY)) 118 #define GCA_IS_SERVICE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GCA_TYPE_SERVICE_PROXY)) 119 120 typedef struct _GcaServiceProxy GcaServiceProxy; 121 typedef struct _GcaServiceProxyClass GcaServiceProxyClass; 122 typedef struct _GcaServiceProxyPrivate GcaServiceProxyPrivate; 123 124 struct _GcaServiceProxy 125 { 126 /*< private >*/ 127 GDBusProxy parent_instance; 128 GcaServiceProxyPrivate *priv; 129 }; 130 131 struct _GcaServiceProxyClass 132 { 133 GDBusProxyClass parent_class; 134 }; 135 136 GType gca_service_proxy_get_type (void); 137 138 void gca_service_proxy_new ( 139 GDBusConnection *connection, 140 GDBusProxyFlags flags, 141 const gchar *name, 142 const gchar *object_path, 143 GCancellable *cancellable, 144 GAsyncReadyCallback callback, 145 gpointer user_data); 146 GcaService *gca_service_proxy_new_finish ( 147 GAsyncResult *res, 148 GError **error); 149 GcaService *gca_service_proxy_new_sync ( 150 GDBusConnection *connection, 151 GDBusProxyFlags flags, 152 const gchar *name, 153 const gchar *object_path, 154 GCancellable *cancellable, 155 GError **error); 156 157 void gca_service_proxy_new_for_bus ( 158 GBusType bus_type, 159 GDBusProxyFlags flags, 160 const gchar *name, 161 const gchar *object_path, 162 GCancellable *cancellable, 163 GAsyncReadyCallback callback, 164 gpointer user_data); 165 GcaService *gca_service_proxy_new_for_bus_finish ( 166 GAsyncResult *res, 167 GError **error); 168 GcaService *gca_service_proxy_new_for_bus_sync ( 169 GBusType bus_type, 170 GDBusProxyFlags flags, 171 const gchar *name, 172 const gchar *object_path, 173 GCancellable *cancellable, 174 GError **error); 175 176 177 /* ---- */ 178 179 #define GCA_TYPE_SERVICE_SKELETON (gca_service_skeleton_get_type ()) 180 #define GCA_SERVICE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GCA_TYPE_SERVICE_SKELETON, GcaServiceSkeleton)) 181 #define GCA_SERVICE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GCA_TYPE_SERVICE_SKELETON, GcaServiceSkeletonClass)) 182 #define GCA_SERVICE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GCA_TYPE_SERVICE_SKELETON, GcaServiceSkeletonClass)) 183 #define GCA_IS_SERVICE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GCA_TYPE_SERVICE_SKELETON)) 184 #define GCA_IS_SERVICE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GCA_TYPE_SERVICE_SKELETON)) 185 186 typedef struct _GcaServiceSkeleton GcaServiceSkeleton; 187 typedef struct _GcaServiceSkeletonClass GcaServiceSkeletonClass; 188 typedef struct _GcaServiceSkeletonPrivate GcaServiceSkeletonPrivate; 189 190 struct _GcaServiceSkeleton 191 { 192 /*< private >*/ 193 GDBusInterfaceSkeleton parent_instance; 194 GcaServiceSkeletonPrivate *priv; 195 }; 196 197 struct _GcaServiceSkeletonClass 198 { 199 GDBusInterfaceSkeletonClass parent_class; 200 }; 201 202 GType gca_service_skeleton_get_type (void); 203 204 GcaService *gca_service_skeleton_new (void); 205 206 207 G_END_DECLS 208 209 #endif /* __GCA_SERVICE_H__ */ 210