2 * Generated by gdbus-codegen 2.50.3. DO NOT EDIT.
4 * The license of this code is the same as for the source it was derived from.
7 #ifndef __OFONO_VOICECALL_INTERFACE_H__
8 #define __OFONO_VOICECALL_INTERFACE_H__
15 /* ------------------------------------------------------------------------ */
16 /* Declarations for org.ofono.VoiceCall */
18 #define TYPE_ORG_OFONO_VOICE_CALL (org_ofono_voice_call_get_type ())
19 #define ORG_OFONO_VOICE_CALL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_OFONO_VOICE_CALL, OrgOfonoVoiceCall))
20 #define IS_ORG_OFONO_VOICE_CALL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_OFONO_VOICE_CALL))
21 #define ORG_OFONO_VOICE_CALL_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_OFONO_VOICE_CALL, OrgOfonoVoiceCallIface))
23 struct _OrgOfonoVoiceCall;
24 typedef struct _OrgOfonoVoiceCall OrgOfonoVoiceCall;
25 typedef struct _OrgOfonoVoiceCallIface OrgOfonoVoiceCallIface;
27 struct _OrgOfonoVoiceCallIface
29 GTypeInterface parent_iface;
32 gboolean (*handle_answer) (
33 OrgOfonoVoiceCall *object,
34 GDBusMethodInvocation *invocation);
36 gboolean (*handle_deflect) (
37 OrgOfonoVoiceCall *object,
38 GDBusMethodInvocation *invocation,
39 const gchar *arg_unnamed_arg0);
41 gboolean (*handle_get_properties) (
42 OrgOfonoVoiceCall *object,
43 GDBusMethodInvocation *invocation);
45 gboolean (*handle_hangup) (
46 OrgOfonoVoiceCall *object,
47 GDBusMethodInvocation *invocation);
49 gboolean (*handle_set_property) (
50 OrgOfonoVoiceCall *object,
51 GDBusMethodInvocation *invocation,
52 const gchar *arg_unnamed_arg0,
53 GVariant *arg_unnamed_arg1);
55 void (*disconnect_reason) (
56 OrgOfonoVoiceCall *object,
57 const gchar *arg_unnamed_arg0);
59 void (*property_changed) (
60 OrgOfonoVoiceCall *object,
61 const gchar *arg_unnamed_arg0,
62 GVariant *arg_unnamed_arg1);
66 GType org_ofono_voice_call_get_type (void) G_GNUC_CONST;
68 GDBusInterfaceInfo *org_ofono_voice_call_interface_info (void);
69 guint org_ofono_voice_call_override_properties (GObjectClass *klass, guint property_id_begin);
72 /* D-Bus method call completion functions: */
73 void org_ofono_voice_call_complete_get_properties (
74 OrgOfonoVoiceCall *object,
75 GDBusMethodInvocation *invocation,
76 GVariant *unnamed_arg0);
78 void org_ofono_voice_call_complete_set_property (
79 OrgOfonoVoiceCall *object,
80 GDBusMethodInvocation *invocation);
82 void org_ofono_voice_call_complete_answer (
83 OrgOfonoVoiceCall *object,
84 GDBusMethodInvocation *invocation);
86 void org_ofono_voice_call_complete_hangup (
87 OrgOfonoVoiceCall *object,
88 GDBusMethodInvocation *invocation);
90 void org_ofono_voice_call_complete_deflect (
91 OrgOfonoVoiceCall *object,
92 GDBusMethodInvocation *invocation);
96 /* D-Bus signal emissions functions: */
97 void org_ofono_voice_call_emit_property_changed (
98 OrgOfonoVoiceCall *object,
99 const gchar *arg_unnamed_arg0,
100 GVariant *arg_unnamed_arg1);
102 void org_ofono_voice_call_emit_disconnect_reason (
103 OrgOfonoVoiceCall *object,
104 const gchar *arg_unnamed_arg0);
108 /* D-Bus method calls: */
109 void org_ofono_voice_call_call_get_properties (
110 OrgOfonoVoiceCall *proxy,
111 GCancellable *cancellable,
112 GAsyncReadyCallback callback,
115 gboolean org_ofono_voice_call_call_get_properties_finish (
116 OrgOfonoVoiceCall *proxy,
117 GVariant **out_unnamed_arg0,
121 gboolean org_ofono_voice_call_call_get_properties_sync (
122 OrgOfonoVoiceCall *proxy,
123 GVariant **out_unnamed_arg0,
124 GCancellable *cancellable,
127 void org_ofono_voice_call_call_set_property (
128 OrgOfonoVoiceCall *proxy,
129 const gchar *arg_unnamed_arg0,
130 GVariant *arg_unnamed_arg1,
131 GCancellable *cancellable,
132 GAsyncReadyCallback callback,
135 gboolean org_ofono_voice_call_call_set_property_finish (
136 OrgOfonoVoiceCall *proxy,
140 gboolean org_ofono_voice_call_call_set_property_sync (
141 OrgOfonoVoiceCall *proxy,
142 const gchar *arg_unnamed_arg0,
143 GVariant *arg_unnamed_arg1,
144 GCancellable *cancellable,
147 void org_ofono_voice_call_call_answer (
148 OrgOfonoVoiceCall *proxy,
149 GCancellable *cancellable,
150 GAsyncReadyCallback callback,
153 gboolean org_ofono_voice_call_call_answer_finish (
154 OrgOfonoVoiceCall *proxy,
158 gboolean org_ofono_voice_call_call_answer_sync (
159 OrgOfonoVoiceCall *proxy,
160 GCancellable *cancellable,
163 void org_ofono_voice_call_call_hangup (
164 OrgOfonoVoiceCall *proxy,
165 GCancellable *cancellable,
166 GAsyncReadyCallback callback,
169 gboolean org_ofono_voice_call_call_hangup_finish (
170 OrgOfonoVoiceCall *proxy,
174 gboolean org_ofono_voice_call_call_hangup_sync (
175 OrgOfonoVoiceCall *proxy,
176 GCancellable *cancellable,
179 void org_ofono_voice_call_call_deflect (
180 OrgOfonoVoiceCall *proxy,
181 const gchar *arg_unnamed_arg0,
182 GCancellable *cancellable,
183 GAsyncReadyCallback callback,
186 gboolean org_ofono_voice_call_call_deflect_finish (
187 OrgOfonoVoiceCall *proxy,
191 gboolean org_ofono_voice_call_call_deflect_sync (
192 OrgOfonoVoiceCall *proxy,
193 const gchar *arg_unnamed_arg0,
194 GCancellable *cancellable,
201 #define TYPE_ORG_OFONO_VOICE_CALL_PROXY (org_ofono_voice_call_proxy_get_type ())
202 #define ORG_OFONO_VOICE_CALL_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_OFONO_VOICE_CALL_PROXY, OrgOfonoVoiceCallProxy))
203 #define ORG_OFONO_VOICE_CALL_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_OFONO_VOICE_CALL_PROXY, OrgOfonoVoiceCallProxyClass))
204 #define ORG_OFONO_VOICE_CALL_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_OFONO_VOICE_CALL_PROXY, OrgOfonoVoiceCallProxyClass))
205 #define IS_ORG_OFONO_VOICE_CALL_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_OFONO_VOICE_CALL_PROXY))
206 #define IS_ORG_OFONO_VOICE_CALL_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_OFONO_VOICE_CALL_PROXY))
208 typedef struct _OrgOfonoVoiceCallProxy OrgOfonoVoiceCallProxy;
209 typedef struct _OrgOfonoVoiceCallProxyClass OrgOfonoVoiceCallProxyClass;
210 typedef struct _OrgOfonoVoiceCallProxyPrivate OrgOfonoVoiceCallProxyPrivate;
212 struct _OrgOfonoVoiceCallProxy
215 GDBusProxy parent_instance;
216 OrgOfonoVoiceCallProxyPrivate *priv;
219 struct _OrgOfonoVoiceCallProxyClass
221 GDBusProxyClass parent_class;
224 GType org_ofono_voice_call_proxy_get_type (void) G_GNUC_CONST;
226 #if GLIB_CHECK_VERSION(2, 44, 0)
227 G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgOfonoVoiceCallProxy, g_object_unref)
230 void org_ofono_voice_call_proxy_new (
231 GDBusConnection *connection,
232 GDBusProxyFlags flags,
234 const gchar *object_path,
235 GCancellable *cancellable,
236 GAsyncReadyCallback callback,
238 OrgOfonoVoiceCall *org_ofono_voice_call_proxy_new_finish (
241 OrgOfonoVoiceCall *org_ofono_voice_call_proxy_new_sync (
242 GDBusConnection *connection,
243 GDBusProxyFlags flags,
245 const gchar *object_path,
246 GCancellable *cancellable,
249 void org_ofono_voice_call_proxy_new_for_bus (
251 GDBusProxyFlags flags,
253 const gchar *object_path,
254 GCancellable *cancellable,
255 GAsyncReadyCallback callback,
257 OrgOfonoVoiceCall *org_ofono_voice_call_proxy_new_for_bus_finish (
260 OrgOfonoVoiceCall *org_ofono_voice_call_proxy_new_for_bus_sync (
262 GDBusProxyFlags flags,
264 const gchar *object_path,
265 GCancellable *cancellable,
271 #define TYPE_ORG_OFONO_VOICE_CALL_SKELETON (org_ofono_voice_call_skeleton_get_type ())
272 #define ORG_OFONO_VOICE_CALL_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_OFONO_VOICE_CALL_SKELETON, OrgOfonoVoiceCallSkeleton))
273 #define ORG_OFONO_VOICE_CALL_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_OFONO_VOICE_CALL_SKELETON, OrgOfonoVoiceCallSkeletonClass))
274 #define ORG_OFONO_VOICE_CALL_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_OFONO_VOICE_CALL_SKELETON, OrgOfonoVoiceCallSkeletonClass))
275 #define IS_ORG_OFONO_VOICE_CALL_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_OFONO_VOICE_CALL_SKELETON))
276 #define IS_ORG_OFONO_VOICE_CALL_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_OFONO_VOICE_CALL_SKELETON))
278 typedef struct _OrgOfonoVoiceCallSkeleton OrgOfonoVoiceCallSkeleton;
279 typedef struct _OrgOfonoVoiceCallSkeletonClass OrgOfonoVoiceCallSkeletonClass;
280 typedef struct _OrgOfonoVoiceCallSkeletonPrivate OrgOfonoVoiceCallSkeletonPrivate;
282 struct _OrgOfonoVoiceCallSkeleton
285 GDBusInterfaceSkeleton parent_instance;
286 OrgOfonoVoiceCallSkeletonPrivate *priv;
289 struct _OrgOfonoVoiceCallSkeletonClass
291 GDBusInterfaceSkeletonClass parent_class;
294 GType org_ofono_voice_call_skeleton_get_type (void) G_GNUC_CONST;
296 #if GLIB_CHECK_VERSION(2, 44, 0)
297 G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgOfonoVoiceCallSkeleton, g_object_unref)
300 OrgOfonoVoiceCall *org_ofono_voice_call_skeleton_new (void);
305 #endif /* __OFONO_VOICECALL_INTERFACE_H__ */