2 * Generated by gdbus-codegen 2.34.1. DO NOT EDIT.
4 * The license of this code is the same as for the source it was derived from.
7 #ifndef __UPNP_MEDIACONTAINER2_PROXY_H__
8 #define __UPNP_MEDIACONTAINER2_PROXY_H__
15 /* ------------------------------------------------------------------------ */
16 /* Declarations for org.gnome.UPnP.MediaContainer2 */
18 #define UPN_PCONTAINER2_TYPE_ (upn_pcontainer2__get_type ())
19 #define UPN_PCONTAINER2_(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), UPN_PCONTAINER2_TYPE_, UPnPContainer2))
20 #define UPN_PCONTAINER2_IS_(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), UPN_PCONTAINER2_TYPE_))
21 #define UPN_PCONTAINER2__GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), UPN_PCONTAINER2_TYPE_, UPnPContainer2Iface))
23 struct _UPnPContainer2;
24 typedef struct _UPnPContainer2 UPnPContainer2;
25 typedef struct _UPnPContainer2Iface UPnPContainer2Iface;
27 struct _UPnPContainer2Iface
29 GTypeInterface parent_iface;
32 gboolean (*handle_list_children) (
33 UPnPContainer2 *object,
34 GDBusMethodInvocation *invocation,
37 const gchar *const *arg_Filter);
39 gboolean (*handle_list_children_ex) (
40 UPnPContainer2 *object,
41 GDBusMethodInvocation *invocation,
44 const gchar *const *arg_Filter,
45 const gchar *arg_SortBy);
47 gboolean (*handle_list_containers) (
48 UPnPContainer2 *object,
49 GDBusMethodInvocation *invocation,
52 const gchar *const *arg_Filter);
54 gboolean (*handle_list_containers_ex) (
55 UPnPContainer2 *object,
56 GDBusMethodInvocation *invocation,
59 const gchar *const *arg_Filter,
60 const gchar *arg_SortBy);
62 gboolean (*handle_list_items) (
63 UPnPContainer2 *object,
64 GDBusMethodInvocation *invocation,
67 const gchar *const *arg_Filter);
69 gboolean (*handle_list_items_ex) (
70 UPnPContainer2 *object,
71 GDBusMethodInvocation *invocation,
74 const gchar *const *arg_Filter,
75 const gchar *arg_SortBy);
77 gboolean (*handle_search_objects) (
78 UPnPContainer2 *object,
79 GDBusMethodInvocation *invocation,
80 const gchar *arg_Query,
83 const gchar *const *arg_Filter);
85 gboolean (*handle_search_objects_ex) (
86 UPnPContainer2 *object,
87 GDBusMethodInvocation *invocation,
88 const gchar *arg_Query,
91 const gchar *const *arg_Filter,
92 const gchar *arg_SortBy);
94 guint (*get_child_count) (UPnPContainer2 *object);
96 gboolean (*get_searchable) (UPnPContainer2 *object);
100 GType upn_pcontainer2__get_type (void) G_GNUC_CONST;
102 GDBusInterfaceInfo *upn_pcontainer2__interface_info (void);
103 guint upn_pcontainer2__override_properties (GObjectClass *klass, guint property_id_begin);
106 /* D-Bus method call completion functions: */
107 void upn_pcontainer2__complete_list_children (
108 UPnPContainer2 *object,
109 GDBusMethodInvocation *invocation,
112 void upn_pcontainer2__complete_list_children_ex (
113 UPnPContainer2 *object,
114 GDBusMethodInvocation *invocation,
117 void upn_pcontainer2__complete_list_containers (
118 UPnPContainer2 *object,
119 GDBusMethodInvocation *invocation,
122 void upn_pcontainer2__complete_list_containers_ex (
123 UPnPContainer2 *object,
124 GDBusMethodInvocation *invocation,
127 void upn_pcontainer2__complete_list_items (
128 UPnPContainer2 *object,
129 GDBusMethodInvocation *invocation,
132 void upn_pcontainer2__complete_list_items_ex (
133 UPnPContainer2 *object,
134 GDBusMethodInvocation *invocation,
137 void upn_pcontainer2__complete_search_objects (
138 UPnPContainer2 *object,
139 GDBusMethodInvocation *invocation,
142 void upn_pcontainer2__complete_search_objects_ex (
143 UPnPContainer2 *object,
144 GDBusMethodInvocation *invocation,
149 /* D-Bus method calls: */
150 void upn_pcontainer2__call_list_children (
151 UPnPContainer2 *proxy,
154 const gchar *const *arg_Filter,
155 GCancellable *cancellable,
156 GAsyncReadyCallback callback,
159 gboolean upn_pcontainer2__call_list_children_finish (
160 UPnPContainer2 *proxy,
161 GVariant **out_Children,
165 gboolean upn_pcontainer2__call_list_children_sync (
166 UPnPContainer2 *proxy,
169 const gchar *const *arg_Filter,
170 GVariant **out_Children,
171 GCancellable *cancellable,
174 void upn_pcontainer2__call_list_children_ex (
175 UPnPContainer2 *proxy,
178 const gchar *const *arg_Filter,
179 const gchar *arg_SortBy,
180 GCancellable *cancellable,
181 GAsyncReadyCallback callback,
184 gboolean upn_pcontainer2__call_list_children_ex_finish (
185 UPnPContainer2 *proxy,
186 GVariant **out_Children,
190 gboolean upn_pcontainer2__call_list_children_ex_sync (
191 UPnPContainer2 *proxy,
194 const gchar *const *arg_Filter,
195 const gchar *arg_SortBy,
196 GVariant **out_Children,
197 GCancellable *cancellable,
200 void upn_pcontainer2__call_list_containers (
201 UPnPContainer2 *proxy,
204 const gchar *const *arg_Filter,
205 GCancellable *cancellable,
206 GAsyncReadyCallback callback,
209 gboolean upn_pcontainer2__call_list_containers_finish (
210 UPnPContainer2 *proxy,
211 GVariant **out_Children,
215 gboolean upn_pcontainer2__call_list_containers_sync (
216 UPnPContainer2 *proxy,
219 const gchar *const *arg_Filter,
220 GVariant **out_Children,
221 GCancellable *cancellable,
224 void upn_pcontainer2__call_list_containers_ex (
225 UPnPContainer2 *proxy,
228 const gchar *const *arg_Filter,
229 const gchar *arg_SortBy,
230 GCancellable *cancellable,
231 GAsyncReadyCallback callback,
234 gboolean upn_pcontainer2__call_list_containers_ex_finish (
235 UPnPContainer2 *proxy,
236 GVariant **out_Children,
240 gboolean upn_pcontainer2__call_list_containers_ex_sync (
241 UPnPContainer2 *proxy,
244 const gchar *const *arg_Filter,
245 const gchar *arg_SortBy,
246 GVariant **out_Children,
247 GCancellable *cancellable,
250 void upn_pcontainer2__call_list_items (
251 UPnPContainer2 *proxy,
254 const gchar *const *arg_Filter,
255 GCancellable *cancellable,
256 GAsyncReadyCallback callback,
259 gboolean upn_pcontainer2__call_list_items_finish (
260 UPnPContainer2 *proxy,
261 GVariant **out_Children,
265 gboolean upn_pcontainer2__call_list_items_sync (
266 UPnPContainer2 *proxy,
269 const gchar *const *arg_Filter,
270 GVariant **out_Children,
271 GCancellable *cancellable,
274 void upn_pcontainer2__call_list_items_ex (
275 UPnPContainer2 *proxy,
278 const gchar *const *arg_Filter,
279 const gchar *arg_SortBy,
280 GCancellable *cancellable,
281 GAsyncReadyCallback callback,
284 gboolean upn_pcontainer2__call_list_items_ex_finish (
285 UPnPContainer2 *proxy,
286 GVariant **out_Children,
290 gboolean upn_pcontainer2__call_list_items_ex_sync (
291 UPnPContainer2 *proxy,
294 const gchar *const *arg_Filter,
295 const gchar *arg_SortBy,
296 GVariant **out_Children,
297 GCancellable *cancellable,
300 void upn_pcontainer2__call_search_objects (
301 UPnPContainer2 *proxy,
302 const gchar *arg_Query,
305 const gchar *const *arg_Filter,
306 GCancellable *cancellable,
307 GAsyncReadyCallback callback,
310 gboolean upn_pcontainer2__call_search_objects_finish (
311 UPnPContainer2 *proxy,
312 GVariant **out_Children,
316 gboolean upn_pcontainer2__call_search_objects_sync (
317 UPnPContainer2 *proxy,
318 const gchar *arg_Query,
321 const gchar *const *arg_Filter,
322 GVariant **out_Children,
323 GCancellable *cancellable,
326 void upn_pcontainer2__call_search_objects_ex (
327 UPnPContainer2 *proxy,
328 const gchar *arg_Query,
331 const gchar *const *arg_Filter,
332 const gchar *arg_SortBy,
333 GCancellable *cancellable,
334 GAsyncReadyCallback callback,
337 gboolean upn_pcontainer2__call_search_objects_ex_finish (
338 UPnPContainer2 *proxy,
339 GVariant **out_Children,
343 gboolean upn_pcontainer2__call_search_objects_ex_sync (
344 UPnPContainer2 *proxy,
345 const gchar *arg_Query,
348 const gchar *const *arg_Filter,
349 const gchar *arg_SortBy,
350 GVariant **out_Children,
351 GCancellable *cancellable,
356 /* D-Bus property accessors: */
357 guint upn_pcontainer2__get_child_count (UPnPContainer2 *object);
358 void upn_pcontainer2__set_child_count (UPnPContainer2 *object, guint value);
360 gboolean upn_pcontainer2__get_searchable (UPnPContainer2 *object);
361 void upn_pcontainer2__set_searchable (UPnPContainer2 *object, gboolean value);
366 #define UPN_PCONTAINER2_TYPE__PROXY (upn_pcontainer2__proxy_get_type ())
367 #define UPN_PCONTAINER2__PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), UPN_PCONTAINER2_TYPE__PROXY, UPnPContainer2Proxy))
368 #define UPN_PCONTAINER2__PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), UPN_PCONTAINER2_TYPE__PROXY, UPnPContainer2ProxyClass))
369 #define UPN_PCONTAINER2__PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), UPN_PCONTAINER2_TYPE__PROXY, UPnPContainer2ProxyClass))
370 #define UPN_PCONTAINER2_IS__PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), UPN_PCONTAINER2_TYPE__PROXY))
371 #define UPN_PCONTAINER2_IS__PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), UPN_PCONTAINER2_TYPE__PROXY))
373 typedef struct _UPnPContainer2Proxy UPnPContainer2Proxy;
374 typedef struct _UPnPContainer2ProxyClass UPnPContainer2ProxyClass;
375 typedef struct _UPnPContainer2ProxyPrivate UPnPContainer2ProxyPrivate;
377 struct _UPnPContainer2Proxy
380 GDBusProxy parent_instance;
381 UPnPContainer2ProxyPrivate *priv;
384 struct _UPnPContainer2ProxyClass
386 GDBusProxyClass parent_class;
389 GType upn_pcontainer2__proxy_get_type (void) G_GNUC_CONST;
391 void upn_pcontainer2__proxy_new (
392 GDBusConnection *connection,
393 GDBusProxyFlags flags,
395 const gchar *object_path,
396 GCancellable *cancellable,
397 GAsyncReadyCallback callback,
399 UPnPContainer2 *upn_pcontainer2__proxy_new_finish (
402 UPnPContainer2 *upn_pcontainer2__proxy_new_sync (
403 GDBusConnection *connection,
404 GDBusProxyFlags flags,
406 const gchar *object_path,
407 GCancellable *cancellable,
410 void upn_pcontainer2__proxy_new_for_bus (
412 GDBusProxyFlags flags,
414 const gchar *object_path,
415 GCancellable *cancellable,
416 GAsyncReadyCallback callback,
418 UPnPContainer2 *upn_pcontainer2__proxy_new_for_bus_finish (
421 UPnPContainer2 *upn_pcontainer2__proxy_new_for_bus_sync (
423 GDBusProxyFlags flags,
425 const gchar *object_path,
426 GCancellable *cancellable,
432 #define UPN_PCONTAINER2_TYPE__SKELETON (upn_pcontainer2__skeleton_get_type ())
433 #define UPN_PCONTAINER2__SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), UPN_PCONTAINER2_TYPE__SKELETON, UPnPContainer2Skeleton))
434 #define UPN_PCONTAINER2__SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), UPN_PCONTAINER2_TYPE__SKELETON, UPnPContainer2SkeletonClass))
435 #define UPN_PCONTAINER2__SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), UPN_PCONTAINER2_TYPE__SKELETON, UPnPContainer2SkeletonClass))
436 #define UPN_PCONTAINER2_IS__SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), UPN_PCONTAINER2_TYPE__SKELETON))
437 #define UPN_PCONTAINER2_IS__SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), UPN_PCONTAINER2_TYPE__SKELETON))
439 typedef struct _UPnPContainer2Skeleton UPnPContainer2Skeleton;
440 typedef struct _UPnPContainer2SkeletonClass UPnPContainer2SkeletonClass;
441 typedef struct _UPnPContainer2SkeletonPrivate UPnPContainer2SkeletonPrivate;
443 struct _UPnPContainer2Skeleton
446 GDBusInterfaceSkeleton parent_instance;
447 UPnPContainer2SkeletonPrivate *priv;
450 struct _UPnPContainer2SkeletonClass
452 GDBusInterfaceSkeletonClass parent_class;
455 GType upn_pcontainer2__skeleton_get_type (void) G_GNUC_CONST;
457 UPnPContainer2 *upn_pcontainer2__skeleton_new (void);
462 #endif /* __UPNP_MEDIACONTAINER2_PROXY_H__ */