niSSKJr SSKJr SSKJr SSKJr SrSr"SS5r"S S \5r"S S \5r S r Sr "SS5r "SS5r "SS5r"SS5rg))config)utils) dbustypes) print_errorz/* * This file is generated by gdbus-codegen, do not modify it. * * The license of this code is the same as for the D-Bus interface description * it was derived from. Note that it links to GLib, so must comply with the * LGPL linking clauses. */ c^U4SjnU$)Nc>T"U0UD6 UR(dg[URTRS5nU(dgU"U0UD6 gN)_extgetattr__name__)selfargskwargsmethodfuncs &/usr/share/glib-2.0/codegen/codegen.pywrapperextensionpoint..wrapper-sC dfyy DMM48 )rrs` rextensionpointr,s  Nrc\rSrSrSrSrg)ExtensionGenerator:cURURR:wa [S5eSUl[ XRS5nU(aU"U5Ulgg)NzTrying to extend wrong class) extending __class__r Exceptionr r )r ext generatorklasss r__init__ExtensionGenerator.__init__;sQ >>Y0099 9:; ; ^^T2 i(DI r)r N)r __module__ __qualname____firstlineno__r"__static_attributes__rrrrr:s)rrc8\rSrSrSr\S5r\S5rSrg)ExtensionHeaderCodeGeneratorDHeaderCodeGeneratorcgr rrrrgenerate_includes.ExtensionHeaderCodeGenerator.generate_includesG rcgr rrrr declare_types*ExtensionHeaderCodeGenerator.declare_typesKr/rrN) r r$r%r&rrr-r1r'rrrr)r)Ds-%I    rr)c8\rSrSrSr\S5r\S5rSrg)ExtensionCodeGeneratorP CodeGeneratorcgr rrrrgenerate_body_preamble-ExtensionCodeGenerator.generate_body_preambleSr/rcgr rrrrgenerateExtensionCodeGenerator.generateWr/rrN) r r$r%r&rrr8r;r'rrrr4r4Ps-I    rr4czUn[U5S:a[R"U5(a9URSS5nUR 5S-nUR 5S-nOS[R "U5R 5S-n[R "U5R 5S-nOSnSnXU4$)N_)lenr is_ugly_casereplaceupperlowercamel_case_to_uscore) namespacensns_upperns_lowers rgenerate_namespacerK\s B 9~   i ( (""3+B (3.H (3.H11)<BBDsJH11)<BBDsJH ( ##rcp^US:XagSmSR[U4SjUR555$)N-STDOUT$0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZr@c>UT;aU$S$)Nr?r)csafe_valid_charss r'generate_header_guard..us1 00a9c9r)joinmaprD) header_namerRs @rgenerate_header_guardrXms;c> 77 9;;L;L;NO rc2\rSrSrSrSrSrSrSrSr g) r+yc Xl[U5uUlUlUlX0lX@l[U5UlX`l Xpl Xl Xl Xl SUlXl[!X5Ulg)NGDBusInterfaceSkeleton)ifacesrKrGrIrJgenerate_objmanagergenerate_autocleanuprX header_guardinput_files_basenames use_pragmaglib_min_requiredsymbol_decoratorsymbol_decorator_headerskeleton_type_cameloutfiler)r) r r]rGr^r_rWrarbrcrdrergrs rr"HeaderCodeGenerator.__init__zso 7I)7T4 t}#6 $8!1+>%:"$!2 0'>$#;  /:rcSRUR5nURR[R [ RU55 URRS5 UR(aURRS5 OhURRSR UR55 URRSR UR55 URbCURRS5 URRSUR-5 URRS5 URRS5 URR5 URRS5 URRS5 URRS5 g N,  z #pragma once z#ifndef __{!s}__ z#define __{!s}__ z#include "%s" z#include zG_BEGIN_DECLS ) rUrargwrite LICENSE_STRformatrVERSIONrbr`rerr-r basenamess rgenerate_header_preamble,HeaderCodeGenerator.generate_header_preamblesUIId889  ;--fnniHI 4 ?? LL  / 0 LL  3::4;L;LM N LL  3::4;L;LM N  ' ' 3 LL  t $ LL  043O3OO P 4  34 ""$ 4  ,- 4 rc vURG"HnURRS5 URRS5 URRSUR-5 URRS5 URRSUR<SUR <SUR <S35 URRSUR<UR <SUR<SUR <S UR<S 3 5 URRSUR<S UR <S UR<SUR <S 3 5 URRSUR<UR <S UR<SUR <S UR<S3 5 URRS5 URRSUR-5 URRSUR<SUR<S35 URRSUR<SUR<S35 URRS5 URRSUR-5 URRS5 URRS5 0n[UR5S:aURRS5 URHnURSUR -4nSUR -nUSUR-- nUS- nUR(aUS- nURH$nUSUR<SUR<3- nM& US - nXRU'M [UR5S:aURRS5 URH|nURS!UR -4nS"UR -nUS#UR-- nURH$nUSUR<SUR<3- nM& US - nXRU'M~ [UR 5S:aURRS5 UR HYnURS$UR -4nS%UR"R<S&UR <S'UR<S(3nXRU'M[ [%UR'5[(R*S)9H#nURRS*X$-5 M% URRS+5 URRS5 UR,S,:XayURRS-5 URRS.UR-5 URRS/5 URRS5 UR.b(URRS0UR.-5 URRS1UR -5 URRS5 UR.b(URRS0UR.-5 URRS2UR -5 UR.b(URRS0UR.-5 URRS3UR -5 URRS5 [UR5S:GaURRS5 URRS45 URGHVnUR.b(URRS0UR.-5 UR0(aURRS55 URRS6UR <S7UR <S8UR<S935 UR(aURRS5 UR2H9nURRSUR<UR<35 M; URRS:5 URRS5 GMY URRS5 [UR5S:GaURRS5 URRS;5 URGH+nUR.b(URRS0UR.-5 UR0(aURRS55 URRS6UR <S5 URGHnUR.b(URRS0UR.-5 UR0(aURRS55 URRS6UR <S?UR <S8UR<S@35 URH:nURRSUR<SUR<35 M< UR4SA:aURRSB5 UR(aURRS5 URRSC5 URRS5 UR.b(URRS0UR.-5 UR0(aURRS55 URRSDUR <S?UR <SEUR<S@35 UR2H:nURRSUR6<SFUR<35 M< UR(aURRSG5 URRSH5 URRS5 UR.b(URRS0UR.-5 UR0(aURRS55 URRSDUR <S?UR <SIUR<S@35 URH:nURRSUR<SUR<35 M< UR4SA:aURRSB5 UR(aURRSJ5 UR2H:nURRSUR6<SFUR<35 M< UR(aURRSG5 URRSK5 URRS5 GM URRS5 [UR 5S:GaURRS5 URRSL5 UR GHonUR.b(URRS0UR.-5 UR0(aURRS55 URRUR"R<UR <SMUR <SUR<SN35 UR"R8bUR.b(URRS0UR.-5 UR0(aURRS55 URRUR"R:<UR <SOUR <SUR<SN35 UR.b(URRS0UR.-5 UR0(aURRS55 URRS6UR <SPUR <SUR<SQUR"R<SR3 5 URRS5 GMr URRS5 URRSS5 URRS5 URRSUR<SUR <STUR <SU35 URRSUR<UR <SVUR<SUR <SWUR<SX3 5 URRSUR<UR <SYUR<SUR <SWUR<SZ3 5 URRSUR<UR <S[UR<SUR <SWUR<SZ3 5 URRSUR<S UR <S\UR<SUR <S]3 5 URRSUR<S UR <S^UR<SUR <S]3 5 URRS5 URRSUR<S_UR<S`35 URRSUR<SaUR<Sb35 URRSUR<ScUR<Sd35 URRS5 URRSeUR-5 URRS5 URRSf5 URRSg5 URRShUR-5 URRS+5 URRS5 URRSiUR-5 URRS5 URRSj5 URRS+5 URRS5 UR.b(URRS0UR.-5 URRSkUR -5 URRS5 UR,Sl;ayURRS-5 URRSmUR-5 URRS/5 URRS5 UR.b(URRS0UR.-5 UR0(aURRS55 URRSnUR -5 UR.b(URRS0UR.-5 UR0(aURRS55 URRUR<SoUR <Sp35 UR.b(URRS0UR.-5 UR0(aURRS55 URRUR<SoUR <Sq35 URRS5 UR.b(URRS0UR.-5 UR0(aURRS55 URRSrUR -5 UR.b(URRS0UR.-5 UR0(aURRS55 URRUR<SoUR <Ss35 UR.b(URRS0UR.-5 UR0(aURRS55 URRUR<SoUR <St35 URRS5 URRS5 URRSS5 URRS5 URRSUR<SUR <SuUR <Sv35 URRSUR<UR <SwUR<SUR <SxUR<Sy3 5 URRSUR<UR <SzUR<SUR <SxUR<S{3 5 URRSUR<UR <S|UR<SUR <SxUR<S{3 5 URRSUR<S UR <S}UR<SUR <S~3 5 URRSUR<S UR <SUR<SUR <S~3 5 URRS5 URRSUR<SUR<S35 URRSUR<SUR<S35 URRSUR<SUR<S35 URRS5 URRSUR-5 URRS5 URRSf5 URRSUR<-5 URRSUR-5 URRS+5 URRS5 URRSUR-5 URRS5 URRSUR<-5 URRS+5 URRS5 UR.b(URRS0UR.-5 URRSUR -5 URRS5 UR,Sl;ayURRS-5 URRSUR-5 URRS/5 URRS5 UR.b(URRS0UR.-5 UR0(aURRS55 URRUR<SoUR <S35 URRS5 G"M UR>(GaLURRS5 URRSS5 URRS5 URRSUR<SUR@<S35 URRSUR<SUR<SURB<S35 URRSUR<SUR<S35 URRSUR<SUR<SURB<S35 URRS5 URRSURB-5 URRSURB<SURB<S35 URRSURB<SURB<S35 URRS5 URRSURB-5 URRS5 UR.b(URRS0UR.-5 URRSUR@-5 UR,S,:XayURRS-5 URRSURB-5 URRS/5 URRS5 URHnUR.b(URRS0UR.-5 UR0(aURRS55 URRUR<SoUR@<SUR RE5<SURB<S35 M URHnUR.b(URRS0UR.-5 UR0(aURRS55 URRUR<SoUR@<SUR RE5<SURB<S35 M URRS5 URRSUR<SUR@<S35 URRSUR<SUR<SURB<S35 URRSUR<SUR<SURB<S35 URRSUR<SUR<SURB<S35 URRSUR<SUR<S35 URRSUR<SUR<S35 URRS5 URRSURB<SURB<S35 URRSURB<SURB<S35 URRSURB<SURB<S35 URRS5 URRSURB-5 URRS5 URRSf5 URRS5 URRSURB-5 URRS+5 URRS5 URRSURB-5 URRS5 URRS5 URRS+5 URRS5 UR.b(URRS0UR.-5 URRSUR@-5 URRS5 UR,Sl;ayURRS-5 URRSURB-5 URRS/5 URRS5 UR.b(URRS0UR.-5 URRURB<SUR@<S35 URRS5 URRSUR<SUR@<S35 URRSUR<SUR<SURB<S35 URRSUR<SUR<SURB<S35 URRSUR<SUR<SURB<S35 URRSUR<SUR<S35 URRSUR<SUR<S35 URRS5 URRSURB<SURB<S35 URRSURB<SURB<S35 URRSURB<SURB<S35 URRS5 URRSURB-5 URRS5 URRSf5 URRS5 URRSURB-5 URRS+5 URRS5 URRSURB-5 URRS5 URRS5 URRS+5 URRS5 UR.b(URRS0UR.-5 URRSUR@-5 URRS5 UR,Sl;ayURRS-5 URRSURB-5 URRS/5 URRS5 UR.b(URRS0UR.-5 URRURB<SUR@<S35 URHnUR.b(URRS0UR.-5 UR0(aURRS55 URRS6UR@<SUR RE5<SURB<SUR<S3 5 M URRS5 URRSS5 URRS5 URRSUR<SUR@<S35 URRSUR<SUR<SURB<S35 URRSUR<SUR<SURB<S35 URRSUR<SUR<SURB<S35 URRSUR<SUR<S35 URRSUR<SUR<S35 URRS5 URRSURB<SURB<S35 URRSURB<SURB<S35 URRSURB<SURB<S35 URRS5 URRSURB-5 URRS5 URRSf5 URRS5 URRSURB-5 URRS+5 URRS5 URRSURB-5 URRS5 URRS5 URRS+5 URRS5 UR,Sl;ayURRS-5 URRSURB-5 URRS/5 URRS5 UR.b(URRS0UR.-5 URRSUR@-5 URRS5 UR.b(URRS0UR.-5 URRSUR@-5 URRS5 UR.b(URRS0UR.-5 URRSUR@-5 UR.b(URRS0UR.-5 URRSUR@-5 UR.b(URRS0UR.-5 URRSUR@-5 URRS5 UR.b(URRS0UR.-5 URRSUR@-5 UR.b(URRS0UR.-5 URRSUR@-5 UR.b(URRS0UR.-5 URRSUR@-5 URRS5 gg)NrlO/* ------------------------------------------------------------------------ */ z/* Declarations for %s */ z#define TYPE_ (z_get_type ()) z&(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), rkz)) IS_z&(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), z3_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), zIface)) z struct _%s; ztypedef struct _ ; Iface zIface; zstruct _%sIface { z GTypeInterface parent_iface; r> _method_%sz gboolean (*handle_%s) ( z %s *object, z% GDBusMethodInvocation *invocation, GUnixFDList *fd_list, arg_z); _signal_%sz void (*%s) ( z %s *object _prop_get_%s z (*get_z) (z *object); key%s}; allz!#if GLIB_CHECK_VERSION(2, 44, 0) z3G_DEFINE_AUTOPTR_CLEANUP_FUNC (%s, g_object_unref) #endif z%s z'GType %s_get_type (void) G_GNUC_CONST; z.GDBusInterfaceInfo *%s_interface_info (void); zMguint %s_override_properties (GObjectClass *klass, guint property_id_begin); z./* D-Bus method call completion functions: */ zG_GNUC_DEPRECATED void _complete_ ( z/ *object, GDBusMethodInvocation *invocation); z(/* D-Bus signal emissions functions: */ _emit_ *objectz/* D-Bus method calls: */ _call_ *proxy@6, GDBusCallFlags call_flags, gint timeout_msecz\, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); z gboolean _finish ( * out_, GUnixFDList **out_fd_listz., GAsyncResult *res, GError **error); _sync ( , GUnixFDList *fd_listz6, GCancellable *cancellable, GError **error); z /* D-Bus property accessors: */ _get_z *object); _dup__set_ *object, zvalue); z /* ---- */ z_PROXY (z_proxy_get_type ()) z,_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), _PROXY, zProxy)) z/_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), z ProxyClass)) z5_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), z,_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), z _PROXY)) z/_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), zProxy zProxy; z ProxyClass z ProxyClass; z ProxyPrivate zProxyPrivate; zstruct _%sProxy z /*< private >*/ z GDBusProxy parent_instance; z %sProxyPrivate *priv; zstruct _%sProxyClass z GDBusProxyClass parent_class; z-GType %s_proxy_get_type (void) G_GNUC_CONST; )objectsrz8G_DEFINE_AUTOPTR_CLEANUP_FUNC (%sProxy, g_object_unref) a void %s_proxy_new ( GDBusConnection *connection, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data);  *zS_proxy_new_finish ( GAsyncResult *res, GError **error); z_proxy_new_sync ( GDBusConnection *connection, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GError **error); avoid %s_proxy_new_for_bus ( GBusType bus_type, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); z[_proxy_new_for_bus_finish ( GAsyncResult *res, GError **error); z_proxy_new_for_bus_sync ( GBusType bus_type, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GError **error); z _SKELETON (z_skeleton_get_type ()) z/_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), _SKELETON, z Skeleton)) z2_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), zSkeletonClass)) z8_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), z/_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), z _SKELETON)) z2_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), z Skeleton z Skeleton; zSkeletonClass zSkeletonClass; zSkeletonPrivate zSkeletonPrivate; zstruct _%sSkeleton z %s parent_instance; z %sSkeletonPrivate *priv; zstruct _%sSkeletonClass z %sClass parent_class; z0GType %s_skeleton_get_type (void) G_GNUC_CONST; z;G_DEFINE_AUTOPTR_CLEANUP_FUNC (%sSkeleton, g_object_unref) z_skeleton_new (void); z TYPE_OBJECT (zobject_get_type ()) z,OBJECT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT, z Object)) z/IS_OBJECT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), zTYPE_OBJECT)) z9OBJECT_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), zstruct _%sObject; zObject zObject; ObjectIface z ObjectIface; zstruct _%sObjectIface z%{ GTypeInterface parent_iface; }; z.GType %sobject_get_type (void) G_GNUC_CONST; z9G_DEFINE_AUTOPTR_CLEANUP_FUNC (%sObject, g_object_unref) object_get_zObject *object); object_peek_zTYPE_OBJECT_PROXY (zobject_proxy_get_type ()) z2OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), zTYPE_OBJECT_PROXY, zObjectProxy)) z5OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), zObjectProxyClass)) z;OBJECT_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), z5IS_OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), zTYPE_OBJECT_PROXY)) z8IS_OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), z ObjectProxy z ObjectProxy; zObjectProxyClass zObjectProxyClass; zObjectProxyPrivate zObjectProxyPrivate; zstruct _%sObjectProxy z$ GDBusObjectProxy parent_instance; z %sObjectProxyPrivate *priv; zstruct _%sObjectProxyClass z& GDBusObjectProxyClass parent_class; z3GType %sobject_proxy_get_type (void) G_GNUC_CONST; z>G_DEFINE_AUTOPTR_CLEANUP_FUNC (%sObjectProxy, g_object_unref) z ObjectProxy *zJobject_proxy_new (GDBusConnection *connection, const gchar *object_path); zTYPE_OBJECT_SKELETON (zobject_skeleton_get_type ()) z5OBJECT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), zTYPE_OBJECT_SKELETON, zObjectSkeleton)) z8OBJECT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), zObjectSkeletonClass)) z>OBJECT_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), z8IS_OBJECT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), zTYPE_OBJECT_SKELETON)) z;IS_OBJECT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), zObjectSkeleton zObjectSkeleton; zObjectSkeletonClass zObjectSkeletonClass; zObjectSkeletonPrivate zObjectSkeletonPrivate; zstruct _%sObjectSkeleton z' GDBusObjectSkeleton parent_instance; z! %sObjectSkeletonPrivate *priv; zstruct _%sObjectSkeletonClass z) GDBusObjectSkeletonClass parent_class; z6GType %sobject_skeleton_get_type (void) G_GNUC_CONST; zAG_DEFINE_AUTOPTR_CLEANUP_FUNC (%sObjectSkeleton, g_object_unref) zObjectSkeleton *z0object_skeleton_new (const gchar *object_path); object_skeleton_set_ObjectSkeleton *object, z *interface_); zTYPE_OBJECT_MANAGER_CLIENT (z#object_manager_client_get_type ()) z;OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), zTYPE_OBJECT_MANAGER_CLIENT, zObjectManagerClient)) z>OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), zObjectManagerClientClass)) zDOBJECT_MANAGER_CLIENT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), z>IS_OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), zTYPE_OBJECT_MANAGER_CLIENT)) zAIS_OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), zObjectManagerClient zObjectManagerClient; zObjectManagerClientClass zObjectManagerClientClass; zObjectManagerClientPrivate zObjectManagerClientPrivate; zstruct _%sObjectManagerClient z, GDBusObjectManagerClient parent_instance; z& %sObjectManagerClientPrivate *priv; z#struct _%sObjectManagerClientClass z. GDBusObjectManagerClientClass parent_class; zFG_DEFINE_AUTOPTR_CLEANUP_FUNC (%sObjectManagerClient, g_object_unref) z>YYajj!&&!II'X%E-2c*#199~! ""4(A77L1<<$?@C.!,,?E->>EVVajj!&&!II$X%E-2c*#1<< 1$ ""4(A77NQ\\$ABC  E .3c*&$/446E>1<<q||Uuu200< LL..v8M8M/MN<< LL../CD **!" 2 2 ! ! ! ,,8 **6D4I4I+IJ|| **+?@LL&&<<q||QUU^^ULL&&t,C&H LL  t $ LL  ~ . LL  t $ LL  ::q||Q\\;  LL  ::q||QZZq||U  LL  ::q||QZZq||U  LL  ::q||QZZq||U  LL  ::q||QZZG  LL  ::q||QZZG  LL  t $ LL  89 allS  LL  <</  LL  <</  LL  t $ LL  2allC D LL  u % LL  4 5 LL  @ A LL  :allK L LL  v & LL  t $ LL  71<<H I LL  u % LL  B C LL  v & LL  t $$$0 ""6D,A,A#AB LL  @ALLQ  LL  t $((,>> ""#GH ""O||% "":. ""4($$0 ""6D,A,A#AB|| ""#78 LL  9=>LLJ $$0 ""6D,A,A#AB|| ""#78 LL  9: allT  $$0 ""6D,A,A#AB|| ""#78 LL  9: all T  LL  t $$$0 ""6D,A,A#AB|| ""#78 LL  9=>LLJ $$0 ""6D,A,A#AB|| ""#78 LL  9: allT  $$0 ""6D,A,A#AB|| ""#78 LL  9: all T  LL  t $ LL  t $ LL  ~ . LL  t $ LL  ::q||Q\\;  LL  ::q||QZZq||U  LL  ::q||QZZq||U  LL  ::q||QZZq||U  LL  ::q||QZZG  LL  ::q||QZZG  LL  t $ LL  <</  LL  <</  LL  <</  LL  t $ LL  5F G LL  u % LL  4 5 LL  84;S;SS T LL  =N O LL  v & LL  t $ LL  :allK L LL  u % LL  :T=U=UU V LL  v & LL  t $$$0 ""6D,A,A#AB LL  Cq||T  LL  t $((,>> ""#GH ""R||% "":. ""4($$0 ""6D,A,A#AB|| ""#78 LL  34<<N  LL  t $in  # # # LL  t $ LL  ~ . LL  t $ LL  ==$--1  LL  ==$--A  LL  ==$--1  LL  ==$--A  LL  t $ LL  4G H LL  >>4>>3  LL  >>4>>3  LL  t $ LL  8DNNK L LL  S T$$0 ""6D,A,A#AB LL  EW ((E1 ""#GH ""P~~' "":. ""4([[((4LL&&v0E0E'EF<<LL&&';< ""   **,  ![[((4LL&&v0E0E'EF<<LL&&';< ""   **,  ! LL  t $ LL  ==$--1  LL  ==$--A  LL  ==$--A  LL  ==$--A  LL  ==$--1  LL  ==$--1  LL  t $ LL  >>4>>3  LL  >>4>>3  LL  >>4>>3  LL  t $ LL  8DNNK L LL  u % LL  4 5 LL  F G LL  @DNNS T LL  v & LL  t $ LL  =P Q LL  u % LL  H I LL  v & LL  t $$$0 ""6D,A,A#AB LL  F$--X  LL  t $((,>> ""#GH ""U~~' "":. ""4($$0 ""6D,A,A#AB LL  >>4==2  LL  t $ LL  ==$--1  LL  ==$--A  LL  ==$--A  LL  ==$--A  LL  ==$--1  LL  ==$--1  LL  t $ LL  >>4>>3  LL  >>4>>3  LL  >>4>>3  LL  t $ LL  ;t~~N O LL  u % LL  4 5 LL  I J LL  Ct~~V W LL  v & LL  t $ LL  @DNNS T LL  u % LL  K L LL  v & LL  t $$$0 ""6D,A,A#AB LL  I=="  LL  t $((,>> ""#GH ""X~~' "":. ""4($$0 ""6D,A,A#AB LL  >>4==2 [[((4LL&&v0E0E'EF<<LL&&';< ""  **,  ! LL  t $ LL  ~ . LL  t $ LL  ==$--1  LL  ==$--A  LL  ==$--A  LL  ==$--A  LL  ==$--1  LL  ==$--1  LL  t $ LL  >>4>>3  LL  >>4>>3  LL  >>4>>3  LL  t $ LL  @DNNS T LL  u % LL  4 5 LL  N O LL  9T^^L  LL  v & LL  t $ LL  6$..I  LL  u % LL  P Q LL  v & LL  t $((,>> ""#GH ""]~~' "":. ""4($$0 ""6D,A,A#AB LL  O=="  LL  t $$$0 ""6D,A,A#AB LL  q=="  LL  t $$$0 ""6D,A,A#AB LL  <@D}}N $$0 ""6D,A,A#AB LL  58< G  $$0 ""6D,A,A#AB LL  8 <@== J  LL  t $$$0 ""6D,A,A#AB LL  <@D}}N $$0 ""6D,A,A#AB LL  58< G  $$0 ""6D,A,A#AB LL  8 <@== J  LL  t $i $rc2URRS5 URRS5 UR(dPURRS5 URRSRUR55 ggNrlz G_END_DECLS z#endif /* __{!s}__ */ rgrmrbror`r s rgenerate_header_postamble-HeaderCodeGenerator.generate_header_postamble!h 4  ?+ LL  t $ LL  8??@Q@QR SrcUR5 UR5 URR5 UR5 gr )rsr1rrrs rr;HeaderCodeGenerator.generate+s6 %%'    &&(r)rr_r^rcr`r]rarGrJrIrgrfrdrerbN) r r$r%r&r"rsr1rr;r'rrrr+r+ys;>!0l %`T)rr+c2\rSrSrSrSrSrSrSrSr g) InterfaceInfoHeaderCodeGeneratori5c Xl[U5uUlUlUl[ U5UlX@lXPlX`l Xpl URcSUl Xl Xl g)Nr@) r]rKrGrIrJrXr`rarbrcrdrerg) r r]rGrWrarbrcrdrergs rr")InterfaceInfoHeaderCodeGenerator.__init__6sc 7I)7T4 t}1+>%:"$!2 0  ($&D !'>$ rcSRUR5nURR[R [ RU55 URRS5 UR(aURRS5 OhURRSR UR55 URRSR UR55 URbCURRS5 URRSUR-5 URRS5 URRS5 URRS5 URRS5 URRS5 grj) rUrargrmrnrorrprbr`rerqs rrs9InterfaceInfoHeaderCodeGenerator.generate_header_preamblePsEIId889  ;--fnniHI 4 ?? LL  / 0 LL  3::4;L;LM N LL  3::4;L;LM N  ' ' 3 LL  t $ LL  043O3OO P 4  34 4  ,- 4 rcURH;nURRSUR<SUR<S35 M= g)Nzextern z const GDBusInterfaceInfo z _interface; )r]rgrmrdrr rs r declare_infos.InterfaceInfoHeaderCodeGenerator.declare_infosgs6A LL  ((!,,8 rc2URRS5 URRS5 UR(dPURRS5 URRSRUR55 ggrrrs rr:InterfaceInfoHeaderCodeGenerator.generate_header_postambleprrcdUR5 UR5 UR5 gr )rsrrrs rr;)InterfaceInfoHeaderCodeGenerator.generatezs& %%'  &&(r) rcr`r]rarGrJrIrgrdrerbN) r r$r%r&r"rsrrr;r'rrrrr5s4!.T)rrc>\rSrSrSrSrSrSrSrSr Sr S r g ) InterfaceInfoBodyCodeGeneratoricXl[U5uUlUlUlX0lX@lXPlX`lXpl gr ) r]rKrGrIrJrWrarcsymbol_decoration_definerg)r r]rGrWrarcrrgs rr"'InterfaceInfoBodyCodeGenerator.__init__s= 7I)7T4 t}&%:"!2(@% rchSRUR5nURR[R [ RU55 URbCURRS5 URRSUR-5 URRS5 URRS5 UR(a(URRSUR-5 URRS5 g)Nrkrl #define %s 3#ifdef HAVE_CONFIG_H # include "config.h" #endif #include "%s" z#include rUrargrmrnrorrprrWrqs rr85InterfaceInfoBodyCodeGenerator.generate_body_preamblesIId889  ;--fnniHI  ( ( 4 LL  t $ LL  ~0M0MM N 4   N     LL  2d6F6FG H 45rcvURRSU<SU<S35 URRS5 UH#upEURRSU-5 M% URRS5 URRS5 URRS5 g) Nzconst z * const z[] = r}z &%s, z NULL, rrlrgrm)r array_name_lower element_typeelementsr?rs rgenerate_array-InterfaceInfoBodyCodeGenerator.generate_arrays +79I J  5!GA LL  zD0 1  ;' 6" 4 rc[U5S:Xag/nUGHnURRS5(aM&URU<SUR<S3UR 5 UR RSU<SUR<S35 UR RS5 UR RS5 UR RS UR-5 UR RS UR-5 [UR 5S:a/UR RS U<SUR<S 35 OUR RS 5 UR RS 5 UR RS5 URU<SUR<S34nURU5 GM URUSU5 g)Nr> org.gtk.GDBus__ _annotationszconst GDBusAnnotationInfo z_annotation = r} -1, /* ref count */  (gchar *) "%s",  (GDBusAnnotationInfo **) z_annotations,  NULL, /* no annotations */ rrl _annotationGDBusAnnotationInfo) rAr startswithdefine_annotations key_lower annotationsrgrmrrappendr)r rrannotation_pointersrrs rr1InterfaceInfoBodyCodeGenerator.define_annotationss { q  Auu00  # #(8!++F   LL  #Q[[2  LL  u % LL  9 : LL  4quu< = LL  4qww> ?1==!A% ""'6  ""#DE LL  v & LL  t $773CQ[[QRC  & &s +9<  35H rc[U5S:Xag/nUGHnURU<SUR<S3UR5 URR SU<SUR<S35 URR S5 URR S5 URR SUR-5 URR SUR -5 [UR5S:a/URR S U<SUR<S 35 OURR S 5 URR S 5 URR S 5 URU<SUR<S34nURU5 GM URUSU5 g)Nr>r_arg_annotationszconst GDBusArgInfo z_arg = r}rrrz_arg_annotations, rrrl_arg GDBusArgInfo) rArrrrgrm signaturerrr)r rr arg_pointersrrs r define_args*InterfaceInfoBodyCodeGenerator.define_argssc t9>  A  # #, LL  4q{{B C1==!A% ""'1  ""#DE LL  v & LL  t $77, _interface___method_in_args_method_out_args_method_annotationszconst GDBusMethodInfo z _method = r}rrz (GDBusArgInfo **) z_method_in_args, z NULL, /* no in args */ z_method_out_args, z NULL, /* no out args */ rz_method_annotations, rr_methodz%s_interface_methodsGDBusMethodInfo _signal_args_signal_annotationszconst GDBusSignalInfo z _signal = z_signal_args, z NULL, /* no args */ z_signal_annotations, _signalz%s_interface_signalsGDBusSignalInfoIG_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE#G_DBUS_PROPERTY_INFO_FLAGS_READABLE#G_DBUS_PROPERTY_INFO_FLAGS_WRITABLEG_DBUS_PROPERTY_INFO_FLAGS_NONE_property_annotationszconst GDBusPropertyInfo z _property = z %s, z_property_annotations, _propertyz%s_interface_propertiesGDBusPropertyInfoz%s_interface_annotationsz(const GDBusInterfaceInfo %s_interface = z- (GDBusMethodInfo **) %s_interface_methods, z NULL, /* no methods */ z- (GDBusSignalInfo **) %s_interface_signals, z NULL, /* no signals */ z2 (GDBusPropertyInfo **) %s_interface_properties, zNULL, /* no properties */ z5 (GDBusAnnotationInfo **) %s_interface_annotations, )r]rgrmrrArrrrrrrrrrrrrreadablewritabler) r rmethod_pointersrrsignal_pointersrproperty_pointersrflagss r define_infos+InterfaceInfoBodyCodeGenerator.define_infoss,A LL  b  LL  ;affD E LL  t $199~!"$A$$<<7  $$<<7  ++<<7  LL&&<<7LL&&u-LL&&'ABLL&&'199~! ""Dq||S ""#@A199~! ""Dq||S ""#@A1<< 1$ ""IALLX ""#AB1==!A% ""Lll#  ""#DE LL  v & LL  t $ercDUR5 UR5 gr )r8r rs rr;'InterfaceInfoBodyCodeGenerator.generates ##% r) rcrWr]rarGrJrIrgrN) r r$r%r&r"r8rrrr r;r'rrrrrs*(6( !& PLBS%nrrc\rSrSrSrSrSrSrSrSr Sr S r S r S S jr S rS!Sjr/S 4Sjr/S 4SjrSrSrSrSrSrSrSrSrSrSrSrSrSrSrSr g )"r6ic Xl[U5uUlUlUlX0lX@lXPlX`lXpl Xl SUl Xl [5Ul[X5Ulg)NG_TYPE_DBUS_INTERFACE_SKELETON)r]rKrGrIrJr^rWra docbook_genrcrskeleton_type_upperrgset marshallersr4r) r r]rGr^rWrar'rcrrgrs rr"CodeGenerator.__init__sg 7I)7T4 t}#6 &%:"&!2(@%#C  5)#4rcSRUR5nURR[R [ RU55 URbCURRS5 URRSUR-5 URRS5 URRS5 UR(a(URRSUR-5 URRS5 URRS5 URRS5 URRS 5 URRS 5 URRS 5 URRS 5 URRS 5 URRS5 URRS5 URRS5 URRS5 g)Nrkrlrrrz#include z8#ifdef G_OS_UNIX # include #endif ag #ifdef G_ENABLE_DEBUG #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) #define g_marshal_value_peek_char(v) g_value_get_schar (v) #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) #define g_marshal_value_peek_int(v) g_value_get_int (v) #define g_marshal_value_peek_uint(v) g_value_get_uint (v) #define g_marshal_value_peek_long(v) g_value_get_long (v) #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) #define g_marshal_value_peek_enum(v) g_value_get_enum (v) #define g_marshal_value_peek_flags(v) g_value_get_flags (v) #define g_marshal_value_peek_float(v) g_value_get_float (v) #define g_marshal_value_peek_double(v) g_value_get_double (v) #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) #define g_marshal_value_peek_param(v) g_value_get_param (v) #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) #define g_marshal_value_peek_object(v) g_value_get_object (v) #define g_marshal_value_peek_variant(v) g_value_get_variant (v) #else /* !G_ENABLE_DEBUG */ /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. * Do not access GValues directly in your code. Instead, use the * g_value_get_*() functions */ #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int #define g_marshal_value_peek_char(v) (v)->data[0].v_int #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint #define g_marshal_value_peek_int(v) (v)->data[0].v_int #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint #define g_marshal_value_peek_long(v) (v)->data[0].v_long #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 #define g_marshal_value_peek_enum(v) (v)->data[0].v_long #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong #define g_marshal_value_peek_float(v) (v)->data[0].v_float #define g_marshal_value_peek_double(v) (v)->data[0].v_double #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer #endif /* !G_ENABLE_DEBUG */ zbtypedef struct { GDBusArgInfo parent_struct; gboolean use_gvariant; } _ExtendedGDBusArgInfo; ztypedef struct { GDBusMethodInfo parent_struct; const gchar *signal_name; gboolean pass_fdlist; } _ExtendedGDBusMethodInfo; zktypedef struct { GDBusSignalInfo parent_struct; const gchar *signal_name; } _ExtendedGDBusSignalInfo; ztypedef struct { GDBusPropertyInfo parent_struct; const gchar *hyphen_name; guint use_gvariant : 1; guint emits_changed_signal : 1; } _ExtendedGDBusPropertyInfo; zqtypedef struct { GDBusInterfaceInfo parent_struct; const gchar *hyphen_name; } _ExtendedGDBusInterfaceInfo; a typedef struct { const _ExtendedGDBusPropertyInfo *info; guint prop_id; GValue orig_value; /* the value before the change */ } ChangedProperty; static void _changed_property_free (ChangedProperty *data) { g_value_unset (&data->orig_value); g_free (data); } astatic gboolean _g_strv_equal0 (gchar **a, gchar **b) { gboolean ret = FALSE; guint n; if (a == NULL && b == NULL) { ret = TRUE; goto out; } if (a == NULL || b == NULL) goto out; if (g_strv_length (a) != g_strv_length (b)) goto out; for (n = 0; a[n] != NULL; n++) if (g_strcmp0 (a[n], b[n]) != 0) goto out; ret = TRUE; out: return ret; } astatic gboolean _g_variant_equal0 (GVariant *a, GVariant *b) { gboolean ret = FALSE; if (a == NULL && b == NULL) { ret = TRUE; goto out; } if (a == NULL || b == NULL) goto out; ret = g_variant_equal (a, b); out: return ret; } ahG_GNUC_UNUSED static gboolean _g_value_equal (const GValue *a, const GValue *b) { gboolean ret = FALSE; g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); switch (G_VALUE_TYPE (a)) { case G_TYPE_BOOLEAN: ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); break; case G_TYPE_UCHAR: ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); break; case G_TYPE_INT: ret = (g_value_get_int (a) == g_value_get_int (b)); break; case G_TYPE_UINT: ret = (g_value_get_uint (a) == g_value_get_uint (b)); break; case G_TYPE_INT64: ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); break; case G_TYPE_UINT64: ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); break; case G_TYPE_DOUBLE: { /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ gdouble da = g_value_get_double (a); gdouble db = g_value_get_double (b); ret = memcmp (&da, &db, sizeof (gdouble)) == 0; } break; case G_TYPE_STRING: ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); break; case G_TYPE_VARIANT: ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); break; default: if (G_VALUE_TYPE (a) == G_TYPE_STRV) ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); else g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); break; } return ret; } rrqs rr8$CodeGenerator.generate_body_preamblesIId889  ;--fnniHI  ( ( 4 LL  t $ LL  ~0M0MM N 4   N     LL  2d6F6FG H 23  S  - / b                  "   2   ( 0 2 rcUcgSnUHnURRS5(aM%URRSXURUR4-5 [ UR 5S:XaURRS5 OURRSX4-5 URRS5 US- nM US:aURRSU-5 SnUHInURRS5(aM%URRS X4-5 US- nMK URRS 5 U$) Nr>rzUstatic const GDBusAnnotationInfo %s_%d = { -1, (gchar *) "%s", (gchar *) "%s", z NULL z+ (GDBusAnnotationInfo **) &%s_%d_pointers }; rz;static const GDBusAnnotationInfo * const %s_pointers[] = { z &%s_%d, NULL }; )rrrgrmrrAr)r prefixrnrrs rgenerate_annotations"CodeGenerator.generate_annotationssP    Auu00 LL  &*0AEE177(C D 1==!Q& "":. ""Bf[P LL  { + FA+. q5 LL  ! A 55##O44 ""=F;#>?Q ! LL  5 6rc UGH_nURU<SUR<S3UR5nURR SU<SUR<SUR<SUR <S3 5 US:XaURR S 5 O.URR S U<SUR<S 35 URR S 5 [ R"URS 5(dURR S5 OURR S5 URR S5 GMb [U5S:aqURR SU-5 UH1nURR SU<SUR<S35 M3 URR S5 gg)N_arg__annotation_infoz#static const _ExtendedGDBusArgInfo r? = { { -1, (gchar *) "", (gchar *) "", r> NULL z (GDBusAnnotationInfo **) &_annotation_info_pointers z }, org.gtk.GDBus.C.ForceGVariant FALSE  TRUE r/z4static const GDBusArgInfo * const %s_pointers[] = { z &.parent_struct, r0) r3rrrgrmrrlookup_annotationrA)r r1rrnum_annos r generate_argsCodeGenerator.generate_argssiA00/5qvv> H LL   ,21661661;; P 1} ""<0 ""qvv' LL  x (** > "";/ "":. LL  { +7: t9q= LL  KvV  ""&!&&#QR LL  5 6 rcUR(dgURRS5 URH,nURRSURS35 M. URRS5 URRSURS[ UR5S35 g)Nzenum { r, r/zstatic unsigned [z ] = { 0 }; )rrgrm upper_id_namesignals_enum_namerAr rrs r#generate_signals_enum_for_interface1CodeGenerator.generate_signals_enum_for_interface5syy  ;'A LL  AOO#4C8 9 ;'  ""#1S^$45  rcURRSUR-5 [UR5S:Ga$URGHnUR SUR <SUR <S3UR5 UR SUR <SUR <S3UR5 URSUR <SUR <S3UR5nURRS UR <SUR <S UR<S 35 [UR5S:XaURRS 5 O8URRS UR <SUR <S35 [UR5S:XaURRS 5 O8URRS UR <SUR <S35 US:XaURRS5 O8URRSUR <SUR <S35 URRSUR<SUR(aSOS<S35 URRS5 GM URRSUR -5 URH;nURRSUR <SUR <S35 M= URRS5 [UR5S:GaeURGHnUR SUR <SUR <S3UR5 URSUR <SUR <S3UR5nURRS UR <SUR <S UR<S 35 [UR5S:XaURRS 5 O8URRS UR <SUR <S!35 US:XaURRS5 O8URRSUR <SUR <S35 URRS"UR-5 URRS5 GM URRS#UR -5 URH;nURRSUR <SUR <S35 M= URRS5 [UR5S:GaURGH0nUR (aUR"(aS$nO*UR (aS%nOUR"(aS&nOS'nURSUR <S(UR <S3UR5nURRS)UR <S*UR <S UR<S+UR$R&<S,U<S-3 5 US:XaURRS5 O8URRSUR <S(UR <S35 URRS.UR-5 [(R*"URS/5(dURRS05 OURRS15 UR,(aURRS25 OURRS35 URRS5 GM3 URRS4UR -5 URH;nURRSUR <S*UR <S35 M= URRS5 URS5UR -UR5nURRS6UR <S7UR<S 35 [UR5S:XaURRS 5 O(URRS8UR -5 [UR5S:XaURRS 5 O(URRS9UR -5 [UR5S:XaURRS 5 O(URRS:UR -5 US:XaURRS5 O(URRS;UR -5 URRSUR<S?3S@55 UR3XRS5 URRSAUR <SBUR <SC35 URRUR.R1S=UR <SDUR4<SE3S@55 UR3XRS5 URRSFUR -5 [UR5S:XaURRSG5 URRSH5 URH+nURRSIUR-5 M- URRSJ5 URRS5 g)KNz+/* ---- Introspection data for %s ---- */ r>r? _method_info__IN_ARG_OUT_ARG_method_r7z'static const _ExtendedGDBusMethodInfo _r8r:z NULL, z (GDBusArgInfo **) &_z_IN_ARG_pointers, z_OUT_ARG_pointers, r;z (GDBusAnnotationInfo **) &_r<z }, "handle-z", TRUEFALSErlr/zDstatic const GDBusMethodInfo * const _%s_method_info_pointers[] = { z &_r@r0 _signal_info__ARG_signal_z'static const _ExtendedGDBusSignalInfo _z_ARG_pointers, z }, "%s" zDstatic const GDBusSignalInfo * const _%s_signal_info_pointers[] = { rrrr _property_z)static const _ExtendedGDBusPropertyInfo __property_info_r9z", rFz }, "%s", r=z FALSE, z TRUE, r?r>zHstatic const GDBusPropertyInfo * const _%s_property_info_pointers[] = { z_%s_annotation_infoz*static const _ExtendedGDBusInterfaceInfo _z/_interface_info = { { -1, (gchar *) "z4 (GDBusMethodInfo **) &_%s_method_info_pointers, z4 (GDBusSignalInfo **) &_%s_signal_info_pointers, z8 (GDBusPropertyInfo **) &_%s_property_info_pointers, z; (GDBusAnnotationInfo **) &_%s_annotation_info_pointers z }, "%s", }; /** * zC_interface_info: * * Gets a machine-readable description of the #zV D-Bus interface. * * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. FzGDBusInterfaceInfo * z;_interface_info (void) { return (GDBusInterfaceInfo *) &_z"_interface_info.parent_struct; } z_override_properties: * @klass: The class structure for a #GObject derived class. * @property_id_begin: The property id to assign to the first overridden property. * * Overrides all #GObject properties in the #z interface for a concrete class. * The properties are overridden in the order they are defined. * * Returns: The last property id. z1guint %s_override_properties (GObjectClass *klass G_GNUC_UNUSEDz, guint property_id_begin) { zG g_object_class_override_property (klass, property_id_begin++, "%s"); z# return property_id_begin - 1; } )rgrmrrArrCrrrr3r name_hyphenrrrrrrrrrrAemits_changed_signalr'expand+write_gtkdoc_deprecated_and_since_and_closer)r rrrBrraccesss r$generate_introspection_for_interface2CodeGenerator.generate_introspection_for_interfaceEs*   >!&& I  qyy>A YY""34<<NII""45LL!,,OJJ  4478||Q\\RMM  "" 01||Q\\166 Sqyy>Q&LL&&}5LL&&<<7qzz?a'LL&&}5LL&&<<7q=LL&&|4LL&&<<7 ""!" v/OQ  "";/ad LL  ' YY ""||Q\\3 LL  5 6 qyy>A YY""01 allKQVV 4478||Q\\RMM "" 01||Q\\166 Sqvv;!#LL&&}5LL&&<<7q=LL&&|4LL&&<<7 ""#6!--#HI "";/?B LL  ' YY ""||Q\\3 LL  5 6 q|| q \\::!**hFZZBFZZBF>F449:q||TMM ""||Q\\166155??FT q=LL&&|4LL&&<<7 ""#71==#IJ..MM#BLL&&|4LL&&{3))LL&&z2LL&&{3 "";/S"V LL  ' \\ ""||Q\\3" LL  5 6,, !Q\\ 2AMM   ()||QVV  =  qyy>Q  LL  } - LL  G1<<X  qyy>Q  LL  } - LL  G1<<X  q||  ! LL  } - LL  K<<!  q= LL  | , LL  N<<!  ;q}}MN 4      # #<< )   88LL!L  LL!,,  0      # #:;q||U   88LL!L  Cq|| T  q||  ! LL  / 0 ?@A LL  Z=="  IJ 4 rc!URRS5 URRURRSUR<SUR <S3S55 UR XRS5 URRS5 URRURRSUR-S55 0n[UR5S:acURHSnURSUR-4nS UR-nUS UR<S UR<S 3- nXRU'MU [UR5S:acURHSnURS UR-4nSUR-nUS UR<SUR<S 3- nXRU'MU [UR5S:acURHSnURSUR-4nSUR-nUSUR<SUR<S3- nXRU'MU [UR5[ R"S9H#nURRSX$-5 M% URRURRSUR -S55 UR XRS5 URRS5 URRSUR<SUR<S35 URRSUR<SUR<S35 URRS5 URRSUR<SUR<S 35 [UR5S:XaN[UR5S:Xa5[UR5S:XaURRS!5 OURRS"5 URRS#5 [UR5S:GaURRS$5 URGHynURRURRS%UR<S UR<S&UR<S'3S55 UR$(aURRS(5 UR&H+nURRS)UR -5 M- URRURRS*UR <S+UR <S,UR<S-UR<S.3 S55 UR X0RS/5 UR$(aS/n OS0n URRS1URS2URS33URURUR[UR&5U -4-5 UR$(aURRS45 UR&H+nURRS5UR(-5 M- URRS65 URRS5 GM| [UR5S:Ga2URRS75 URGHnURRURRS%UR<SUR<S&UR<S3S55 UR*H+nURRS8UR -5 M- URRURRS9UR <SUR <S:3S55 UR X`RS/5 URRS;UR,SURS?3 URURUR[UR*54-5 UR*H+nURRS5UR(-5 M- URRS65 URRS5 GM [UR5S:GaURRS@5 URGHnUR0(aUR2(aSAn OLUR0(aSBn O8UR2(aSCn O$[5SDR7UR 55 URRURRS%UR<SUR<SEUR <SUR <SFW <S3 S55 UR XpRS/5 URRSG5 UR8R(SH:XaGSIUR<SJUR <SJUR <SKUR8R:<SL3 nGOUR8R:SM:Xa/SNUR<SJUR <SJUR <SO3nGOrUR8R:SP:Xa/SQUR<SJUR <SJUR <SR3nGO)UR8R:SS:Xa/STUR<SJUR <SJUR <SU3nGOUR8R:SV:Xa/SWUR<SJUR <SJUR <SX3nGOUR8R:SY:Xa/STUR<SJUR <SJUR <SZ3nGONUR8R:S[:Xa/SWUR<SJUR <SJUR <S\3nGOUR8R:S]:Xa/S^UR<SJUR <SJUR <S_3nGOUR8R:S`:Xa/SaUR<SJUR <SJUR <Sb3nGOsUR8R:Sc:Xa/SdUR<SJUR <SJUR <Se3nGO*UR8R:Sf:Xa/SgUR<SJUR <SJUR <Sh3nGOUR8R:Si:Xa/SgUR<SJUR <SJUR <Sh3nGOUR8R:Sj:Xa/SgUR<SJUR <SJUR <Sh3nGOOUR8R:Sk:Xa/SgUR<SJUR <SJUR <Sh3nGOUR8R:Sl:Xa.SmUR<SJUR <SJUR <Sn3nOUR8R:So:Xa.SmUR<SJUR <SJUR <Sn3nOvUR8R:Sp:Xa.SmUR<SJUR <SJUR <Sn3nO.[5SqR7UR8R(55 Srn UR<(aSsU -n URRStW<SU <Su35 URRS5 GM URRSv5 g)wNrlrYz9: * * Abstract interface type for the D-Bus interface #. Fr>z8/** * %sIface: * @parent_iface: The parent interface. r~z @handle_%s: zHandler for the #z ::handle-z signal.rz@%s: ::rz @get_%s: zGetter for the #:z property.rz * %s z1 * * Virtual table for the D-Bus interface #%s. typedef r|z Interface; zG_DEFINE_INTERFACE (rkz, G_TYPE_OBJECT) static void z_default_init ( Iface *iface G_GNUC_UNUSED) ) r}z9 /* GObject signals for incoming D-Bus method calls: */ /** * z: * @object: A #z.. * @invocation: A #GDBusMethodInvocation. z4 * @fd_list: (nullable): A #GUnixFDList or %NULL. z0 * @arg_%s: Argument passed by remote caller. z> * * Signal emitted when a remote caller is invoking the .z() D-Bus method. * * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call rao() or e.g. g_dbus_method_invocation_return_error() on it) and no other signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned. * * Returns: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. rrz g_signal_new ("handle-%s", G_TYPE_FROM_INTERFACE (iface), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (%sIface, handle_%s), g_signal_accumulator_true_handled, NULL, _method_marshal_z?, G_TYPE_BOOLEAN, %d, G_TYPE_DBUS_METHOD_INVOCATIONz, G_TYPE_UNIX_FD_LISTz, %srz4 /* GObject signals for received D-Bus signals: */ z * @arg_%s: Argument. zP * * On the client-side, this signal is emitted whenever the D-Bus signal #z is received. * * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. rrGz] = g_signal_new ("%s", G_TYPE_FROM_INTERFACE (iface), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (%sIface, %s), NULL, NULL, _signal_marshal_z, G_TYPE_NONE, %dz1 /* GObject properties for D-Bus properties: */ zSince the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.zSince the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.zSince the D-Bus property for this #GObject property is writable but not readable, it is meaningful to write to it on both the client- and service-side. It is only meaningful, however, to read from it on the service-side.>Cannot handle property "{}" that neither readable nor writablez+: * * Represents the D-Bus property #z . * * z. g_object_interface_install_property (iface, G_TYPE_VARIANTzg_param_spec_variant ("", "z", G_VARIANT_TYPE ("z"), NULLbzg_param_spec_boolean ("z", FALSEyzg_param_spec_uchar ("z ", 0, 255, 0r2zg_param_spec_int ("z", G_MININT16, G_MAXINT16, 0qzg_param_spec_uint ("z", 0, G_MAXUINT16, 0rz", G_MININT32, G_MAXINT32, 0uz", 0, G_MAXUINT32, 0xzg_param_spec_int64 ("z", G_MININT64, G_MAXINT64, 0tzg_param_spec_uint64 ("z", 0, G_MAXUINT64, 0dzg_param_spec_double ("z!", -G_MAXDOUBLE, G_MAXDOUBLE, 0.0rzg_param_spec_string ("z", NULLogayaszg_param_spec_boxed ("z", G_TYPE_STRVaoaayz%Unsupported gtype "{}" for GParamSpec*G_PARAM_READWRITE | G_PARAM_STATIC_STRINGSG_PARAM_DEPRECATED | z z));} )rgrmr'r]rrr^rArrrr[rrrrrrrrgtyperrIrHrrrrorrr) r rdoc_bitsrrrrrr extra_argshintrs rgenerate_interface CodeGenerator.generate_interfaceKs  4      # # << )     88LL!L 4      # #A YYww q|| ;<&!,,7LLMM!&  qyy>A YYww q|| ;<1<<0LLMM!&  q|| q \\ww =>#q||4LLMM!& "(--/u/D/DEC LL  y8=8 9F     # #HAFFS  88LL!L 4  01 all K  ||Q\\ +  4  12q|| M  qyy>Q 3qyy>Q#63q||;LPQ;Q LL  2 3 LL  u % 5! qyy>A  LL  L YY ""$$++ << F   99LL&&OALL&&KqvvV# ""$$++661661<< G  @@LLRST99!"J!"J "" \\N*:1<<.I8 8   AII3 $99LL&&'>?ALL&&v'9:# ""6* ""4(wz qyy>A  LL  V WYY ""$$++<< F ALL&&'Baff'MN  ""$$++ 66166 +   @@LLRST "",,-Qq.?@\\N*:1<<.I }}allALL#aff+N O ALL&&v'9:  ""6* ""4(OR q|| q LL  S T\\::!**LDZZzDZZzDX__FF  ""$$++<< N  @@LLRST ""#TU55;;"22==!&&!&&!%%//KUU__+ A UU__+ A UU__+==!&&!&&:UU__+ A UU__+==!&&!&&:UU__+ A UU__+==!&&!&&:UU__+ A UU__+==!&&!&&:UU__+ A UU__+ A UU__+ A UU__, A UU__, A UU__, A UU__- A  ?FFquu{{SE<<3e;E ""a#?@ ""4(I"L :&rc< URGH nUR(aUR(aSnOLUR(aSnO8UR(aSnO$[SR UR 55 UR RURRSUR<SUR<SUR<SUR <S UR <S W<S 3 S 55 URRb9UR RS UR<SUR<S35 OUR RS5 URX R S5 UR RURR<SUR<SUR<SUR<S35 UR RSUR <SUR"<SURR$<SUR <UR"<SUR<S3 5 UR RS5 UR RS5 URRGbUR RURRSUR<SUR<SUR<SUR <S UR <S U<SURR<S3S 55 URX R S5 UR RURR&<SUR<SUR<SUR<SURR&<S 3 5 UR RS!UR(-5 UR RS"5 UR RS5 UR RS5 UR(aUR(aSnOLUR(aS#nO8UR(aS$nO$[SR UR 55 UR RURRSUR<S%UR<SUR<S&UR <S UR <S'U<S3 S 55 URX R S5 UR RS(UR<S%UR<SUR<S)URR<S*3 5 UR RS+UR(-5 UR RS5 UR RS5 GM g),NzSince this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.zrSince this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.zjSince this D-Bus property is not readable, it is only meaningful to use this function on the service-side.rorYr: (skip) * @object: A #z. * * Gets the value of the #rez D-Bus property. * * z * Fz * The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use rz() if on another thread. * * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. z * Returns: The property value. r>rlrx *object) { z g_return_val_if_fail (ryz (object), z ); return z_GET_IFACE (object)->get_z (object); } z. * * Gets a copy of the #z * * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with z().  *object) { zvalue; z8 g_object_get (G_OBJECT (object), "%s", &value, NULL);  return value; zjSince this D-Bus property is not writable, it is only meaningful to use this function on the service-side.zrSince this D-Bus property is writable, it is meaningful to use this function on both the client- and service-side.rz/. * @value: The value to set. * * Sets the #z! D-Bus property to @value. * * void rz value) { z7 g_object_set (G_OBJECT (object), "%s", value, NULL); )rrrrrorrgrmr'r]rrrrr^rrIrctype_in_default_valuerr[)r rrrs rgenerate_property_accessors)CodeGenerator.generate_property_accessors s*Azzajj^LDT[[ LL    ''||Q\\1<<QUW  uu* ""||Q\\3 ""#FG  < >S  LL  J=="  LL  u % LL  t $]rc URGHDnURRURR SUR <SUR <SUR <S3S55 URH+nURRSUR-5 M- URRURR SUR<SUR<S 3S55 URX RS 5 URRS UR <SUR <S UR <S 35 URH:nURRSUR<SUR<35 M< URRSURSURS35 URH+nURRSUR-5 M- URRS5 URRS5 GMG g)NrYr: * @object: A #rcFz. * @arg_%s: Argument to pass with the signal. z * * Emits the #rdz D-Bus signal. r>rrrrrz) { g_signal_emit (object, rGz], 0z, arg_%srr) rrgrmr'r]rrrrr^rrIrH)r rrrs rgenerate_signal_emitters&CodeGenerator.generate_signal_emitters) sA LL    ''/0llALL!,,X  VV ""EP LL    ''EFVVQVVT   < data; data2 = g_value_peek_pointer (param_values + 0); } else { data1 = g_value_peek_pointer (param_values + 0); data2 = closure->data; } callback = (z5) (marshal_data ? marshal_data : cc->callback); z v_return = z callback (data1, z z (param_values + ), z data2); z z (return_value, v_return); ) ruscore_to_camel_casergrmrrUrrArange gvalue_get gvalue_set)r rrrmarshal_func_typerr1rs rr&CodeGenerator.generate_marshaller_bodyu s$99)DETJ W))'B"EVDWX% %ggwOw!!**T!&&=wOP Q"#$'( (   LL  W%%&'==   558\A5E4F G//0  (  LL  / 0F h* +gg#3w<00hl7:+@+@*AARSTUVSVRWW[\0 -. /   LL  ',,--IJ  ePTs 'F;$GcSnX2(aURR5OSS3- nU(aUSRSU55- nU$US- nU$)N_g_dbus_codegen_marshal_VOIDrr?c3V# UHoRR5v M! g7fr ) gvalue_typerD).0rs r 8CodeGenerator.generic_marshaller_name.. s!FA 3 3 567s'))rrDrU)r rretrs rgeneric_marshaller_name%CodeGenerator.generic_marshaller_name s]) c3??((*v>bAA  CHHFFF FD  FND rc[U[R[R45(deUR(dbUR (dg[ UR 5S:Xa7UR SR(aUR SR$URUR UR5$)Ng_cclosure_marshal_VOID__VOIDrr>) isinstancerSignalMethodmarshaller_ret_argmarshaller_in_argsrAgclosure_marshallerr)r rws r generic_marshaller_name_for_type.CodeGenerator.generic_marshaller_name_for_type s!i.. 0@0@ABBBB##''6A(()Q.((+??++A.BBB++A,@,@!BVBVWWrcpURUR-HnURU5nURS5(aURR U5 MGX0R;aMXUR X2RUR5 URR U5 M g)N g_cclosure_) rrrrr*addrrr)r rrwmarshaller_names rgenerate_generic_marshallers*CodeGenerator.generate_generic_marshallers sQYY&A"CCAFO))-88  $$_5"2"22  $ $!5!5q7K7K      1'rcx[U[R[R45(de[R "UR RR55nURSUSUR3nURU5nXPR;deURXE5 g)Nr? _marshal_) rrrrrrFrr rErrr*r)r rrw kind_uscorerrs rgenerate_marshaller_for_type*CodeGenerator.generate_marshaller_for_type s!i.. 0@0@ABBBB001E1E1K1K1MN ||nAk])ALL>J ??B"2"2222 ((DrcLURHnURX5 M gr )rrrJs rgenerate_signal_marshallers)CodeGenerator.generate_signal_marshallers A  - -a 3rcLURHnURX5 M gr )rr)r rrs rgenerate_method_marshallers)CodeGenerator.generate_method_marshallers rrcURG HnURRSUR<SUR<SUR<S35 UR H+nURRSUR -5 M- URS:aURRS5 UR(aURRS5 URRURRS UR <S UR <S UR<SUR<S UR<SUR<S 3 S55 URX RS5 URRSUR<SUR<SUR<S35 UR H:nURRSUR<SUR <35 M< URS:aURRS5 UR(aURRS5 URRS5 UR(aURRS5 OURRS5 URRSUR -5 UR H+nURRSUR-5 M- URRS5 UR H+nURRSUR -5 M- URRS5 URS:aURRS5 OURRS 5 UR(aURRS!5 URRS"5 URRS#5 URRSUR<SUR<S$UR<S35 URHQnURRS%UR <S&UR(aS'UR-OS(<S)35 MS UR(aURRS*5 URRURRS+UR<SUR<S,UR<SUR<S-3 S55 URX RS5 URRS.UR<SUR<S/UR<S35 URH:nURRSUR <S0UR <35 M< UR(aURRS15 URRS25 UR(aURRS35 OURRS45 URRS55 URRS65 URH+nURRSUR"-5 M- URRS5 URH+nURRS7UR -5 M- URRS85 URRS95 URRSUR<SUR<S:UR<S35 UR H+nURRSUR -5 M- URS:aURRS5 UR(aURRS5 URHQnURRS%UR <S&UR(aS'UR-OS(<S)35 MS UR(aURRS;5 URRURRS3 S55 URX RS5 URRS.UR<SUR<S?UR<S35 UR H:nURRSUR<SUR <35 M< URS:aURRS5 UR(aURRS@5 URH:nURRSUR <S0UR <35 M< UR(aURRS15 URRSA5 UR(aURRSB5 OURRSC5 URRSUR -5 UR H+nURRSUR-5 M- URRS5 UR H+nURRSUR -5 M- URRS5 URS:aURRS5 OURRS 5 UR(aURRSD5 URRSE5 URRS65 URH+nURRSUR"-5 M- URRS5 URH+nURRS7UR -5 M- URRS85 URRS95 G M g)FNrYrz: * @proxy: A #Proxy. z9 * @arg_%s: Argument to pass with the method invocation. ra6 * @call_flags: Flags from the #GDBusCallFlags enumeration. If you want to allow interactive authorization be sure to set %G_DBUS_CALL_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION. * @timeout_msec: The timeout in milliseconds (with %G_MAXINT meaning "infinite") or -1 to use the proxy default timeout. 2 * @fd_list: (nullable): A #GUnixFDList or %NULL. z * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. * @user_data: User data to pass to @callback. * * Asynchronously invokes the rlz() D-Bus method on @proxy. * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). * You can then call z8_finish() to get the result of the operation. * * See z>_sync() for the synchronous, blocking version of this method. Fr>rrrrrrrz], GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data) { z= g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), z+ g_dbus_proxy_call (G_DBUS_PROXY (proxy), z "%s", g_variant_new ("(r)", arg_%srz" call_flags, timeout_msec, z$ G_DBUS_CALL_FLAGS_NONE, -1, z fd_list, z/ cancellable, callback, user_data); rz_finish: * @proxy: A #z * @out_z: (out) (optional)rzr@z;: Return location for return parameter or %NULL to ignore. ze * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore. zL * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to z\(). * @error: Return location for error or %NULL. * * Finishes an operation started with zQ(). * * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. z gboolean rrrzA, GAsyncResult *res, GError **error) { GVariant *_ret; ze _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); zF _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); z# if (_ret == NULL) goto _out; z* g_variant_get (_ret, "(z, out_%sz); g_variant_unref (_ret); z _out: return _ret != NULL; } z_sync: * @proxy: A #z[ * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL. z * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL. * * Synchronously invokes the z^() D-Bus method on @proxy. The calling thread is blocked until a reply is received. * * See z}() for the asynchronous version of this method. * * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. rrzI, GCancellable *cancellable, GError **error) { GVariant *_ret; zI _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), z7 _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), z fd_list, out_fd_list, z@ cancellable, error); if (_ret == NULL) goto _out; )rrgrmrrrrrcrr'r]r^r format_inrarray_annotationr format_outr rrrs rgenerate_method_calls#CodeGenerator.generate_method_calls s A LL  /0llALL!,,X  YY ""Pvv %%0 ""D yy ""I LL    ''    "% ,  < rrz= *object G_GNUC_UNUSED, GDBusMethodInvocation *invocationrrz) { z\ g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, g_variant_new ("(zJ g_dbus_method_invocation_return_value (invocation, g_variant_new ("(rrz, %sz), fd_list); )); r) rrgrmrrrrrr'r]r^rrrs rgenerate_method_completers(CodeGenerator.generate_method_completers s?A LL   <<q|| = yy ""IZZ ""#Cqvv#NO LL    '' vvqvv '     < URR<S?35 SnURRS@:Xd4URRSA:XdURRSB:XaSCnU(a(URRSDUR-5 URRSEUR-5 URR SF:XaSURRSG5 URRSH5 URRSI5 GO$URRSJ5 SKnURRSL:XdNURRS@:Xd4URRSA:XdURRSB:XaSMnURRSNURR<SOU<S235 U(a(URRSPUR-5 URRSQ5 URRSR5 URRSS5 URRST5 URRS5 GMI URRSUUR <SVUR<SWUR <SXUR<SUR<SYUR<SZUR <S[35 URRSUUR <S\UR<S]UR <S^UR <S_UR <S`UR <SaUR <Sb35 [UR5S:a(URRScUR -5 URRSdUR-5 URRS$5 URRSUUR <S UR<Se35 [UR5S:XaURRSf5 OURRSg5 URRSh5 URHInURRSiUR <SjUR <S:UR <S?35 MK URRS$5 URRURRSUR <SkUR<SlUR <SmUR <Sn3 S55 UR XRS5 URRSoUR <SpUR<SUR<SqUR<Sr3 5 URRSUR <SsUR <StUR <SuUR<Sv3 5 UR XRS5 URRUR<SwUR <SxUR<UR<Sy35 URRURRSUR <SzUR<S{UR <S|UR<Sv3 S55 UR XRS5 URRUR<SwUR <S}UR<SUR<S~UR<SUR<UR<Sy3 5 URRS5 URRURRSUR <SUR <SUR <SUR <S3 S55 UR XRS5 URRSoUR <SUR<SUR<SUR<Sr3 5 URRSUR <SUR <SUR <SUR<Sv3 5 UR XRS5 URRUR<SwUR <SUR<UR<Sy35 URRURRSUR <SUR <SUR <SUR<Sv3 S55 UR XRS5 URRUR<SwUR <SUR<SUR<SUR<SUR<UR<Sy3 5 URRS5 g)NP/* ------------------------------------------------------------------------ */ rYzProxy: * * The #z_Proxy structure contains only private data and should only be accessed using the provided API. Fr>rlzKProxyClass: * @parent_class: The parent class. * * Class structure for #rz-struct _%sProxyPrivate { GData *qdata; }; static void z_proxy_iface_init (zIface *iface); 2#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 G_DEFINE_TYPE_WITH_CODE (zProxy, z_proxy, G_TYPE_DBUS_PROXY, z1 G_ADD_PRIVATE (%sProxy) 0 G_IMPLEMENT_INTERFACE (rwrkz_proxy_iface_init)) #else rz2static void %s_proxy_finalize (GObject *object) { rzProxy *proxy = z_PROXY (object); z* g_datalist_clear (&proxy->priv->qdata); z@ G_OBJECT_CLASS (%s_proxy_parent_class)->finalize (object); } z7static void %s_proxy_get_property (GObject *objectz\ G_GNUC_UNUSED, guint prop_id G_GNUC_UNUSED, GValue *value G_GNUC_UNUSED, z2, guint prop_id, GValue *value, z' GParamSpec *pspec G_GNUC_UNUSED) { a const _ExtendedGDBusPropertyInfo *info; GVariant *variant; g_assert (prop_id != 0 && prop_id - 1 < %d); info = (const _ExtendedGDBusPropertyInfo *) _%s_property_info_pointers[prop_id - 1]; variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); if (info->use_gvariant) { g_value_set_variant (value, variant); } else { if (variant != NULL) g_dbus_gvariant_to_gvalue (variant, value); } if (variant != NULL) g_variant_unref (variant); rzkstatic void %s_proxy_set_property_cb (GDBusProxy *proxy, GAsyncResult *res, gpointer user_data) { a const _ExtendedGDBusPropertyInfo *info = user_data; GError *error; GVariant *_ret; error = NULL; _ret = g_dbus_proxy_call_finish (proxy, res, &error); if (!_ret) { g_warning ("Error setting property '%%s' on interface %s: %%s (%%s, %%d)", info->parent_struct.name, error->message, g_quark_to_string (error->domain), error->code); g_error_free (error); } else { g_variant_unref (_ret); } z#static void %s_proxy_set_property (zpGObject *object G_GNUC_UNUSED, guint prop_id G_GNUC_UNUSED, const GValue *value G_GNUC_UNUSED, zFGObject *object, guint prop_id, const GValue *value, ai const _ExtendedGDBusPropertyInfo *info; GVariant *variant; g_assert (prop_id != 0 && prop_id - 1 < %d); info = (const _ExtendedGDBusPropertyInfo *) _%s_property_info_pointers[prop_id - 1]; variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); g_dbus_proxy_call (G_DBUS_PROXY (object), "org.freedesktop.DBus.Properties.Set", g_variant_new ("(ssv)", "%s", info->parent_struct.name, variant), G_DBUS_CALL_FLAGS_NONE, -1, NULL, (GAsyncReadyCallback) %s_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); g_variant_unref (variant); zstatic void %s_proxy_g_signal (GDBusProxy *proxy, const gchar *sender_name G_GNUC_UNUSED, const gchar *signal_name, GVariant *parameters) { z _ExtendedGDBusSignalInfo *info; GVariantIter iter; GVariant *child; GValue *paramv; gsize num_params; gsize n; guint signal_id; z info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_%s_interface_info.parent_struct, signal_name); if (info == NULL) return; zz num_params = g_variant_n_children (parameters); paramv = g_new0 (GValue, num_params + 1); g_value_init (¶mv[0], z-); g_value_set_object (¶mv[0], proxy); a g_variant_iter_init (&iter, parameters); n = 1; while ((child = g_variant_iter_next_value (&iter)) != NULL) { _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; if (arg_info->use_gvariant) { g_value_init (¶mv[n], G_TYPE_VARIANT); g_value_set_variant (¶mv[n], child); n++; } else g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); g_variant_unref (child); } 2 signal_id = g_signal_lookup (info->signal_name, rz/ g_signal_emitv (paramv, signal_id, 0, NULL); zZ for (n = 0; n < num_params + 1; n++) g_value_unset (¶mv[n]); g_free (paramv); zstatic void %s_proxy_g_properties_changed (GDBusProxy *_proxy, GVariant *changed_properties, const gchar *const *invalidated_properties) { aL_PROXY (_proxy); guint n; const gchar *key; GVariantIter *iter; _ExtendedGDBusPropertyInfo *info; g_variant_get (changed_properties, "a{sv}", &iter); while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) { info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_a_interface_info.parent_struct, key); g_datalist_remove_data (&proxy->priv->qdata, key); if (info != NULL) g_object_notify (G_OBJECT (proxy), info->hyphen_name); } g_variant_iter_free (iter); for (n = 0; invalidated_properties[n] != NULL; n++) { info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_z_interface_info.parent_struct, invalidated_properties[n]); g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); if (info != NULL) g_object_notify (G_OBJECT (proxy), info->hyphen_name); } } static _proxy_get_rxrz(_PROXY (object); GVariant *variant; zvalue = r{g_variant_get_strvg_variant_get_objvg_variant_get_bytestring_arrayTzb value = g_datalist_get_data (&proxy->priv->qdata, "%s"); if (value != NULL) return value; zK variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "%s"); rpz value = variant; z if (variant != NULL) z g_variant_unref (variant); z if (variant != NULL) { r@g_variant_get_stringz, NULLz value = z (variantzV g_datalist_set_data_full (&proxy->priv->qdata, "%s", (gpointer) value, g_free); z! g_variant_unref (variant); z } rrrgz _proxy_init (zRProxy *proxy) { #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 proxy->priv = z__proxy_get_instance_private (proxy); #else proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, rzPProxyPrivate); #endif g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), z_interface_info ()); } z_proxy_class_init (zProxyClass *klass) { GObjectClass *gobject_class; GDBusProxyClass *proxy_class; gobject_class = G_OBJECT_CLASS (klass); gobject_class->finalize = z1_proxy_finalize; gobject_class->get_property = z5_proxy_get_property; gobject_class->set_property = z\_proxy_set_property; proxy_class = G_DBUS_PROXY_CLASS (klass); proxy_class->g_signal = z7_proxy_g_signal; proxy_class->g_properties_changed = z_proxy_g_properties_changed; z. %s_override_properties (gobject_class, 1); zu#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 g_type_class_add_private (klass, sizeof (%sProxyPrivate)); #endif rhrirjr} iface->get_ = a_proxy_new: * @connection: A #GDBusConnection. * @flags: Flags from the #GDBusProxyFlags enumeration. * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. * @object_path: An object path. * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied. * @user_data: User data to pass to @callback. * * Asynchronously creates a proxy for the D-Bus interface #z. See g_dbus_proxy_new() for more details. * * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). * You can then call zB_proxy_new_finish() to get the result of the operation. * * See zM_proxy_new_sync() for the synchronous, blocking version of this constructor. ra$_proxy_new ( GDBusConnection *connection, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data) { g_async_initable_new_async (z_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "z ", NULL); } z__proxy_new_finish: * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to ze_proxy_new(). * @error: Return location for error or %NULL * * Finishes an operation started with z3_proxy_new(). * * Returns: (transfer full) (type z@Proxy): The constructed proxy object or %NULL if @error is set.  * aL_proxy_new_finish ( GAsyncResult *res, GError **error) { GObject *ret; GObject *source_object; source_object = g_async_result_get_source_object (res); ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); g_object_unref (source_object); if (ret != NULL) return z# (ret); else return NULL; } a_proxy_new_sync: * @connection: A #GDBusConnection. * @flags: Flags from the #GDBusProxyFlags enumeration. * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. * @object_path: An object path. * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL * * Synchronously creates a proxy for the D-Bus interface #zy. See g_dbus_proxy_new_sync() for more details. * * The calling thread is blocked until a reply is received. * * See zd_proxy_new() for the asynchronous version of this constructor. * * Returns: (transfer full) (type a_proxy_new_sync ( GDBusConnection *connection, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GError **error) { GInitable *ret; ret = g_initable_new (z_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "z(", NULL); if (ret != NULL) return ar_proxy_new_for_bus: * @bus_type: A #GBusType. * @flags: Flags from the #GDBusProxyFlags enumeration. * @name: A bus name (well-known or unique). * @object_path: An object path. * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied. * @user_data: User data to pass to @callback. * * Like a_proxy_new() but takes a #GBusType instead of a #GDBusConnection. * * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). * You can then call zJ_proxy_new_for_bus_finish() to get the result of the operation. * * See zU_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. a*_proxy_new_for_bus ( GBusType bus_type, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data) { g_async_initable_new_async (z_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "zg_proxy_new_for_bus_finish: * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to zm_proxy_new_for_bus(). * @error: Return location for error or %NULL * * Finishes an operation started with z;_proxy_new_for_bus(). * * Returns: (transfer full) (type aT_proxy_new_for_bus_finish ( GAsyncResult *res, GError **error) { GObject *ret; GObject *source_object; source_object = g_async_result_get_source_object (res); ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); g_object_unref (source_object); if (ret != NULL) return a*_proxy_new_for_bus_sync: * @bus_type: A #GBusType. * @flags: Flags from the #GDBusProxyFlags enumeration. * @name: A bus name (well-known or unique). * @object_path: An object path. * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL * * Like z_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. * * The calling thread is blocked until a reply is received. * * See zl_proxy_new_for_bus() for the asynchronous version of this constructor. * * Returns: (transfer full) (type a_proxy_new_for_bus_sync ( GBusType bus_type, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GError **error) { GInitable *ret; ret = g_initable_new (z_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", ")rgrmr'r]rr^rrIrrArrrrr gvariant_getr)r rrfree_container extra_lens rgenerate_proxyCodeGenerator.generate_proxy- s       # # << /     88LL!L 4      # # 9: all T     88LL!L 4   <<    LL!,, 0  PQ ||Q\\ +   @ALL Q  zz1<< 7  9% ||Q\\ +  zz1<< 7  :&  \\ # ||QZZ 7  HI  LL "   :=>\\ K  q||  ! LL  9  LL  M  IJ q|| q LL  3"7:!,,6G5V#W ( :& q|| q LL   '  LL  VV% $ LL  z * D UV q||  ! LL  9  LL  +  IJ q|| q LL   1q||$allAFFALLI J  :&   \\  #   #    || - >?ZZ W   " zz1<< )  MN  # :&  \\  #  .LL!**allALL!,,- X 6A LL  EENNLLLLLLLLJJLLEENNEE00 0#N""&::55%%)==55%%)II!%  ""*-.VV5 LL  ^66 uu{{.. ""#9: ""#=> ""#EF ""#GH EE&&*@@uu))-AAuu))-AAuu))-MM (I ""9:9K9KYW"LL&&q66# ""#GH ""9- LL  2 3 LL  u % LL  t $QV        %  , "       -  4 q|| q LL  BallS   ,, ( :& 56\\1<< Q  q||  ! LL  2 3 LL  u % 5!A LL  <<q||=  :&     # #"<<q||!E"%  , 88LL!L LL!**allAFF D ||Q\\1<< G  88LL!L  LL!,, ALL J &     # #"<<q||!E"%  , 88LL!L &      1  8 4      # #"<<q||Q\\!K"%  , 88LL!L LL!**allAFF D  ||Q\\1<< G  88LL!L  LL!,, ALL J $     # #"<<q||Q\\!K"%  , 88LL!L &      1  8 4 rc-URRS5 URRURRSUR<SUR<S3S55 UR XRS5 URRS5 URRURRSUR<SUR<S 3S55 UR XRS5 URRS5 URRS UR-5 URRS UR <S UR<S UR<UR<S35 URRS5 URRSUR<SUR<S35 URRS5 URRSUR<SUR<S35 URRS5 URRS5 URRS5 URRSUR <SUR<S UR<UR<S35 URRSUR -5 URRSUR <SUR<S UR<UR<S35 URRS UR -5 URRS!UR <S"UR <S#UR <S$UR <S%3 5 URRS&UR <S'UR <S(35 URRS5 URRS)UR <S*UR <S+35 URRS5 URRS,UR <S-UR<S UR<UR<S.35 URRS/UR <S0UR <S1UR <S2UR <S3UR<S43 5 [UR5S:a(URRS5UR -5 URRS6UR -5 [UR5S:XaURRS75 OURRS85 URRS95 [UR5S:aSURRS:UR<S UR<UR<S;UR <S<35 URRS5 URGH)nURRS UR <S=UR <S>UR<S?35 URH:nURRS@UR<SAUR<35 M< URRSBUR<S UR<UR<SC35 URRSD5 URH+nURRSEUR-5 M- URRSF5 URH+nURRSGUR-5 M- URRSH5 URRSIUR<SJUR<SK35 URRSL5 URRSM5 URRS5 GM, URRSNUR <SOUR<SP35 URRSQ5 URRSRUR<SSUR <STUR <SU35 URRSVUR-5 URRSWUR<SUR<SXUR <SY35 URRSZ5 URRSRUR<SSUR <STUR <SU35 URRSWUR<SUR<SXUR <SY35 URRS[5 URRS\UR -5 URRS:UR<S UR<UR<S]35 [UR5S:aLURRS^[UR5-5 URRS_5 URRS`5 URRSQ5 URRSa5 URRSb5 URRSZ5 URRSc5 URRSd5 URRSe5 URRS[5 URRSf5 URRSg5 URRShUR -5 [UR5S:GaURRSiUR -5 URRSjURURUR[UR54-5 URRS5 URRSUR <SkUR<S UR<UR<Sl35 URRSmUR-5 URRS`5 URRSn5 URRSo5 URRSp5 URRSq5 URRS UR <SrUR<Ss35 URRSt5 URRSuUR <SvUR<S UR<UR<SwUR <SxUR <Sy3 5 URRSzUR -5 URRS{URURUR[UR5UR UR 4-5 URRS5 URRSuUR <S|UR<S}UR <S~UR<SUR<SUR<S3 5 URRS5 URRS5 [UR5S:a~URRS[UR5-5 SnURH;nURRSXER"R$4-5 US- nM= URRS5 SnURGHFnURRSUR"R<SUR <SUR <SUR<S3 5 URRS:UR<S UR<UR<S]35 URRSUR"R&UR"R(U4-5 URRS5 URRS5 URRS5 US- nGMI URRSuUR <SUR<SUR <S35 [UR5S:anURRSUR <SUR <SUR <S35 URRSUR -5 URRS5 URRSUR -5 URRSUR -5 URRSUR -5 URRSUR -5 URRSUR-5 URRS5 URRSuUR <SOUR<S35 [UR5S:Xa5[UR5S:XaURRS75 OURRS85 URRS95 URHInURRSUR <SUR <S=UR <S35 MK URHInURRSUR <SUR <SUR <S35 MK URRS5 URRURRSUR <SUR<SUR<S3S55 UR XRS5 URRUR<SUR <SUR<UR<SUR<SUR<S3 5 g)NrrYzSkeleton: * * The #zbSkeleton structure contains only private data and should only be accessed using the provided API. Fr>rlzNSkeletonClass: * @parent_class: The parent class. * * Class structure for #z Skeleton. zstruct _%sSkeletonPrivate { GValue *properties; GList *changed_properties; GSource *changed_properties_idle_source; GMainContext *context; GMutex lock; }; z static void _a-_skeleton_handle_method_call ( GDBusConnection *connection G_GNUC_UNUSED, const gchar *sender G_GNUC_UNUSED, const gchar *object_path G_GNUC_UNUSED, const gchar *interface_name, const gchar *method_name, GVariant *parameters, GDBusMethodInvocation *invocation, gpointer user_data) { zSkeleton *skeleton = z_SKELETON (user_data); _ExtendedGDBusMethodInfo *info; GVariantIter iter; GVariant *child; GValue *paramv; gsize num_params; guint num_extra; gsize n; guint signal_id; GValue return_value = G_VALUE_INIT; zx info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); g_assert (info != NULL); z num_params = g_variant_n_children (parameters); num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); n = 0; g_value_init (¶mv[n], rwa); g_value_set_object (¶mv[n++], skeleton); g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); g_value_set_object (¶mv[n++], invocation); if (info->pass_fdlist) { #ifdef G_OS_UNIX g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); #else g_assert_not_reached (); #endif } a g_variant_iter_init (&iter, parameters); while ((child = g_variant_iter_next_value (&iter)) != NULL) { _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; if (arg_info->use_gvariant) { g_value_init (¶mv[n], G_TYPE_VARIANT); g_value_set_variant (¶mv[n], child); n++; } else g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); g_variant_unref (child); } rrae g_value_init (&return_value, G_TYPE_BOOLEAN); g_signal_emitv (paramv, signal_id, 0, &return_value); if (!g_value_get_boolean (&return_value)) g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); g_value_unset (&return_value); zb for (n = 0; n < num_params + num_extra; n++) g_value_unset (¶mv[n]); g_free (paramv); rzstatic GVariant * _a_skeleton_handle_get_property ( GDBusConnection *connection G_GNUC_UNUSED, const gchar *sender G_GNUC_UNUSED, const gchar *object_path G_GNUC_UNUSED, const gchar *interface_name G_GNUC_UNUSED, const gchar *property_name, GError **error, gpointer user_data) { z_SKELETON (user_data); GValue value = G_VALUE_INIT; GParamSpec *pspec; _ExtendedGDBusPropertyInfo *info; GVariant *ret; a ret = NULL; info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_%s_interface_info.parent_struct, property_name); g_assert (info != NULL); pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); if (pspec == NULL) { g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %%s", property_name); } else { g_value_init (&value, pspec->value_type); g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); g_value_unset (&value); } return ret; } zstatic gboolean _a(_skeleton_handle_set_property ( GDBusConnection *connection G_GNUC_UNUSED, const gchar *sender G_GNUC_UNUSED, const gchar *object_path G_GNUC_UNUSED, const gchar *interface_name G_GNUC_UNUSED, const gchar *property_name, GVariant *variant, GError **error, gpointer user_data) { z_SKELETON (user_data); GValue value = G_VALUE_INIT; GParamSpec *pspec; _ExtendedGDBusPropertyInfo *info; gboolean ret; a ret = FALSE; info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_%s_interface_info.parent_struct, property_name); g_assert (info != NULL); pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); if (pspec == NULL) { g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %%s", property_name); } else { if (info->use_gvariant) g_value_set_variant (&value, variant); else g_dbus_gvariant_to_gvalue (variant, &value); g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); g_value_unset (&value); ret = TRUE; } return ret; } z#static const GDBusInterfaceVTable _z_skeleton_vtable = { _z!_skeleton_handle_method_call, _z"_skeleton_handle_get_property, _z,_skeleton_handle_set_property, {NULL} }; zstatic GDBusInterfaceInfo * z^_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) { return z_interface_info (); zstatic GDBusInterfaceVTable * z{_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) { return (GDBusInterfaceVTable *) &_z_skeleton_vtable; zstatic GVariant * zP_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) { z_SKELETON (_skeleton); z GVariantBuilder builder; guint n; #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); #else g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); #endif if (_zO_interface_info.parent_struct.properties == NULL) goto out; for (n = 0; _za_interface_info.parent_struct.properties[n] != NULL; n++) { GDBusPropertyInfo *info = _z_interface_info.parent_struct.properties[n]; if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) { GVariant *value; value = _z_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "a8", info->name, NULL, skeleton); if (value != NULL) { g_variant_take_ref (value); g_variant_builder_add (&builder, "{sv}", info->name, value); g_variant_unref (value); } } } out: return g_variant_builder_end (&builder); } z8static gboolean _%s_emit_changed (gpointer user_data); zOstatic void %s_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeletonrirjr}ra_SKELETON (_skeleton); gboolean emit_changed = FALSE; g_mutex_lock (&skeleton->priv->lock); if (skeleton->priv->changed_properties_idle_source != NULL) { g_source_destroy (skeleton->priv->changed_properties_idle_source); skeleton->priv->changed_properties_idle_source = NULL; emit_changed = TRUE; } g_mutex_unlock (&skeleton->priv->lock); if (emit_changed) _z_emit_changed (skeleton); _on_signal_rrrrz) { z_SKELETON (object); GList *connections, *l; GVariant *signal_variant; connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); z9 signal_variant = g_variant_ref_sink (g_variant_new ("(rrrrz for (l = connections; l != NULL; l = l->next) { GDBusConnection *connection = l->data; g_dbus_connection_emit_signal (connection, NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "rqz(", signal_variant, NULL); } z$ g_variant_unref (signal_variant); z2 g_list_free_full (connections, g_object_unref); rz_skeleton_iface_init (zIface *iface); rrz Skeleton, z _skeleton, rFz4 G_ADD_PRIVATE (%sSkeleton) rrkz_skeleton_iface_init)) rrz5static void %s_skeleton_finalize (GObject *object) { z_SKELETON (object); zZ guint n; for (n = 0; n < %d; n++) g_value_unset (&skeleton->priv->properties[n]); z' g_free (skeleton->priv->properties); zb g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); z* /* coverity[missing_lock : SUPPRESS] */ zW g_clear_pointer (&skeleton->priv->changed_properties_idle_source, g_source_destroy); z> if (skeleton->priv->changed_properties_idle_source != NULL) zG g_source_destroy (skeleton->priv->changed_properties_idle_source); z7skeleton->priv->changed_properties_idle_source = NULL; z2 g_main_context_unref (skeleton->priv->context); z) g_mutex_clear (&skeleton->priv->lock); zC G_OBJECT_CLASS (%s_skeleton_parent_class)->finalize (object); } zstatic void %s_skeleton_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *pspec G_GNUC_UNUSED) { z %sSkeleton *skeleton = %s%s_SKELETON (object); g_assert (prop_id != 0 && prop_id - 1 < %d); g_mutex_lock (&skeleton->priv->lock); g_value_copy (&skeleton->priv->properties[prop_id - 1], value); g_mutex_unlock (&skeleton->priv->lock); z'_emit_changed (gpointer user_data) { z_SKELETON (user_data); a GList *l; GVariantBuilder builder; GVariantBuilder invalidated_builder; guint num_changes; g_mutex_lock (&skeleton->priv->lock); #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); #else g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); #endif for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) { ChangedProperty *cp = l->data; GVariant *variant; const GValue *cur_value; cur_value = &skeleton->priv->properties[cp->prop_id - 1]; if (!_g_value_equal (cur_value, &cp->orig_value)) { variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); g_variant_unref (variant); num_changes++; } } if (num_changes > 0) { GList *connections, *ll; GVariant *signal_variant; signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "%s", &builder, &invalidated_builder)); connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); for (ll = connections; ll != NULL; ll = ll->next) { GDBusConnection *connection = ll->data; g_dbus_connection_emit_signal (connection, NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.freedesktop.DBus.Properties", "PropertiesChanged", signal_variant, NULL); } g_variant_unref (signal_variant); g_list_free_full (connections, g_object_unref); } else { g_variant_builder_clear (&builder); g_variant_builder_clear (&invalidated_builder); } z- skeleton->priv->changed_properties = NULL; z9 skeleton->priv->changed_properties_idle_source = NULL; z* g_mutex_unlock (&skeleton->priv->lock); z return FALSE; } z_schedule_emit_changed (aiSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) { ChangedProperty *cp; GList *l; cp = NULL; for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) { ChangedProperty *i_cp = l->data; if (i_cp->info == info) { cp = i_cp; break; } } aT if (cp == NULL) { cp = g_new0 (ChangedProperty, 1); cp->prop_id = prop_id; cp->info = info; skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); g_value_copy (orig_value, &cp->orig_value); } } rgzO_skeleton_notify (GObject *object, GParamSpec *pspec G_GNUC_UNUSED) { a_SKELETON (object); g_mutex_lock (&skeleton->priv->lock); if (skeleton->priv->changed_properties != NULL && skeleton->priv->changed_properties_idle_source == NULL) { skeleton->priv->changed_properties_idle_source = g_idle_source_new (); g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); g_source_set_callback (skeleton->priv->changed_properties_idle_source, _z_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _z_emit_changed"); g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); g_source_unref (skeleton->priv->changed_properties_idle_source); } g_mutex_unlock (&skeleton->priv->lock); } zstatic void %s_skeleton_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec) { a4 const _ExtendedGDBusPropertyInfo *info; %sSkeleton *skeleton = %s%s_SKELETON (object); g_assert (prop_id != 0 && prop_id - 1 < %d); info = (const _ExtendedGDBusPropertyInfo *) _%s_property_info_pointers[prop_id - 1]; g_mutex_lock (&skeleton->priv->lock); g_object_freeze_notify (object); if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) { if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && info->emits_changed_signal) _%s_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); g_object_notify_by_pspec (object, pspec); } g_mutex_unlock (&skeleton->priv->lock); g_object_thaw_notify (object); z_skeleton_init (z[Skeleton *skeleton) { #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 skeleton->priv = zk_skeleton_get_instance_private (skeleton); #else skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, rzSkeletonPrivate); #endif z( g_mutex_init (&skeleton->priv->lock); zB skeleton->priv->context = g_main_context_ref_thread_default (); z4 skeleton->priv->properties = g_new0 (GValue, %d); z6 g_value_init (&skeleton->priv->properties[%d], %s); rr_skeleton_get_rxrz %svalue; g_mutex_lock (&skeleton->priv->lock); value = %s (&(skeleton->priv->properties[%d])); g_mutex_unlock (&skeleton->priv->lock); rrz_skeleton_class_init (zSkeletonClass *klass) { GObjectClass *gobject_class; GDBusInterfaceSkeletonClass *skeleton_class; gobject_class = G_OBJECT_CLASS (klass); gobject_class->finalize = z_skeleton_finalize; z gobject_class->get_property = z8_skeleton_get_property; gobject_class->set_property = z8_skeleton_set_property; gobject_class->notify = z_skeleton_notify; z. %s_override_properties (gobject_class, 1); z= skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); zB skeleton_class->get_info = %s_skeleton_dbus_interface_get_info; zN skeleton_class->get_properties = %s_skeleton_dbus_interface_get_properties; z< skeleton_class->flush = %s_skeleton_dbus_interface_flush; zF skeleton_class->get_vtable = %s_skeleton_dbus_interface_get_vtable; zy #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 g_type_class_add_private (klass, sizeof (%sSkeletonPrivate)); #endif rhz iface->z = _r{rrzH_skeleton_new: * * Creates a skeleton object for the D-Bus interface #z'. * * Returns: (transfer full) (type z Skeleton): The skeleton object. rz _skeleton_new (void) { return z (g_object_new (z_SKELETON, NULL)); } )rgrmr'r]rr^rrIrrrArrrrrr(rr ctype_in_gr)r rrrr2rs rgenerate_skeletonCodeGenerator.generate_skeletons       # # << /     88LL!L 4      # # <=<< W     88LL!L 4   <<   ,||Q\\1::q||+ E 0  +  "Q\\! 3 &   zz1<< )   1   # :&  ||Q\\1::q|| E $  "LL# " *  $%<<qzz1<< Y $  (LL) " 0 LL!,, all L  34,,  N :&  ||Q\\  +  :&  ||Q\\1::q||  E  :LL!,, allAFF9 T @ q|| q LL   &   R||  q||  ! LL  2 3 LL  u % 5! q|| q LL  <<Q\\1<<I " :&A LL  %&LL!,, N  VV "" AFF#KL LL  <<Q\\ ;  LL  O VV ""41;;#78 LL  t $VV ""#AQVV#LM LL  w ' LL  VVQVV -  LL  F G LL  T U LL  z *MP ||Q\\ + PQ ||Q\\4+C+C E   Cq|| T  zz1<< 7  9% ||Q\\4+C+C E  zz1<< 7  :&  \\ # ||QZZ 7  q|| q LL  Hq||$&  LL  I J  q  PQ HI  f  9%  M   V  UV :& PQ GH  LL "  q|| q LL    '  LL  > <<Q\\3q||;LM N  LL  z * LL   <<qzz1<< I  LL  6lVVm6%8 r LL  u  LL  O P LL  L  LL  L M LL  = > LL  \\1<<9 " LL    $ LL  *LLLLJJLLLLLL3 < LL    '  LL  5"LLJJLL %LLLL ! 4 LL  z *         $ FG  Q  q|| q LL  Gq||$& A\\ ""M%%++&'Q " :& A LL  q||Q\\S  LL  <<Q\\;  LL  >55##QUU%5%5q9 :  LL  2 3 LL  u % LL  t $ FA), ||Q\\1<< 9  q|| q LL   allALLB  LL  EV   P   Q||    ]||    K||    U||   ,, (  :& 89 all T  qyy>Q 3q||#4#9 LL  2 3 LL  u % 5!A LL  <<q||=  A LL  <<q||=  :&     # #<< 7   88LL!L         rc#URRS5 URRURRSUR<SUR<SUR<SUR<SUR<S3 S55 URRS 5 URRURRS UR<S UR<S 3S55 URRS 5 URRURRS UR<S UR<S3S55 URRS 5 URRSUR<SUR<S35 URRSUR<SUR <S35 URRS 5 URRSUR <SUR<S35 UR GH nURRURRSUR<SUR<SUR<SUR<S3 S55 URXRS5 SnUR(aSU-nURRS UR<S!UR<S!UR<S"UR<S#UR<S$U<S%3 5 GM URRS&5 UR GH^nURRURRS UR <S'URR5<S(UR<S)UR<S*UR<S+UR<S,3 S55 URXRS-5 URRUR<S.UR <S'URR5<S/UR<S035 URRS1UR<S2UR<UR<S335 GMa URRS 5 UR GHlnURRURRS UR <S4URR5<S5UR<S6UR <S'URR5<S7UR<S83 S55 URXRS-5 URRUR<S.UR <S4URR5<S/UR<S035 URRS1UR<S9UR<UR<S335 GMo URRS 5 URRS:UR -5 URRURRS UR<S;UR<S<3S55 URRS=5 URRS 5 URRURRS UR<S>UR<S?3S55 URRS=5 URRS 5 URRSUR <S@UR <SAUR<SB35 URRSUR <SCUR <SDUR <SE35 URRS 5 URRSFUR<SGUR <SHUR<SIUR <S@UR <SJUR <SK3 5 URRSUR <SLUR<SM35 URRSNUR -5 URRS&5 URRSUR <SOUR<SPUR<SQ35 SRnUR H1nURRSSX1R4-5 USR- nM3 URRST5 URRSUR <SUUR<SVUR <SWUR <SX3 5 SRnUR H1nURRSYX1R4-5 USR- nM3 URRS&5 URRURRSZUR -S55 URRUR<S[UR <S\UR<S]UR<S^35 URRURRS UR<S_UR<S`3S55 URRS=5 URRS 5 URRURRS UR<SaUR<Sb3S55 URRS=5 URRS 5 URRSUR <ScUR <SAUR<SB35 URRS 5 URRSUR <SdUR <SDUR <SE35 URRSFUR<SeUR <SfUR<SIUR <ScUR <SJUR <Sg3 5 URRSUR <ShUR<Si35 URRSUR <SjUR<SkUR<Sl35 SRnUR HGnURRSmX0RURUR4-5 USR- nMI URRST5 URRSUR <SnUR<SkUR<So35 SRnUR H1nURRSSX1R4-5 USR- nM3 URRST5 URRSUR <SpUR<SqUR <SrUR <Ss3 5 SRnUR H1nURRSYX1R4-5 USR- nM3 URRS&5 URRURRStUR -S55 URRUR<SuUR <SvUR<SwUR<Sx35 UR GHBnURRURRS UR <SyURR5<S(UR<SzUR<S{UR<S*UR<S|3 S55 URXRS-5 URRS}UR <SyURR5<S/UR<S~UR<S3 5 URRSUR-5 GME URRS 5 g)Nz/* ------------------------------------------------------------------------ * Code for Object, ObjectProxy and ObjectSkeleton * ------------------------------------------------------------------------ */ /** * SECTION:zObject * @title: z]Object * @short_description: Specialized GDBusObject types * * This section contains the #z Object, #zObjectProxy, and #zvObjectSkeleton types which make it easier to work with objects implementing generated types for D-Bus interfaces. */ FrlrYzObject: * * The #z:Object type is a specialized container of interfaces. */ zRObjectIface: * @parent_iface: The parent interface. * * Virtual table for the #zObject interface. */ rfrzObjectInterface; zG_DEFINE_INTERFACE_WITH_CODE (zObject, zbobject, G_TYPE_OBJECT, g_type_interface_add_prerequisite (g_define_type_id, G_TYPE_DBUS_OBJECT);) rgzobject_default_init (zObjectIface *iface) { rkzObject:z: * * The #z0 instance corresponding to the D-Bus interface #z`, if any. * * Connect to the #GObject::notify signal to get informed of property changes. rrrzD g_object_interface_install_property (iface, g_param_spec_object ("rqz", rwrkz)); rrrzObject. * * Gets the #z# instance for the D-Bus interface #zC on @object, if any. * * Returns: (transfer full) (nullable): A #z` that must be freed with g_object_unref() or %NULL if @object does not implement the interface. r>rrxzObject *object) zW{ GDBusInterface *ret; ret = g_dbus_object_get_interface (G_DBUS_OBJECT (object), "z1"); if (ret == NULL) return NULL; return z (ret); } rrzObject. * * Like a%() but doesn't increase the reference count on the returned object. * * It is not safe to use the returned object if you are on another thread than the one where the #GDBusObjectManagerClient or #GDBusObjectManagerServer for @object is running. * * Returns: (transfer none) (nullable): A #zp or %NULL if @object does not implement the interface. Do not free the returned object, it is owned by @object. zI"); if (ret == NULL) return NULL; g_object_unref (ret); return astatic void %sobject_notify (GDBusObject *object, GDBusInterface *interface) { _ExtendedGDBusInterfaceInfo *info = (_ExtendedGDBusInterfaceInfo *) g_dbus_interface_get_info (interface); /* info can be NULL if the other end is using a D-Bus interface we don't know * anything about, for example old generated code in this process talking to * newer generated code in the other process. */ if (info != NULL) g_object_notify (G_OBJECT (object), info->hyphen_name); } zObjectProxy: * * The #zeObjectProxy structure contains only private data and should only be accessed using the provided API.  */ zQObjectProxyClass: * @parent_class: The parent class. * * Class structure for # ObjectProxy. object_proxy__zobject_iface_init (z'ObjectIface *iface G_GNUC_UNUSED) { } z^object_proxy__g_dbus_object_iface_init (GDBusObjectIface *iface) { iface->interface_added = z,object_notify; iface->interface_removed = zobject_notify; } rz ObjectProxy, zXobject_proxy, G_TYPE_DBUS_OBJECT_PROXY, G_IMPLEMENT_INTERFACE (rzWobject_iface_init) G_IMPLEMENT_INTERFACE (G_TYPE_DBUS_OBJECT, z*object_proxy__g_dbus_object_iface_init)) zobject_proxy_init (z(ObjectProxy *object G_GNUC_UNUSED) { } zstatic void %sobject_proxy_set_property (GObject *gobject, guint prop_id, const GValue *value G_GNUC_UNUSED, GParamSpec *pspec) { G_OBJECT_WARN_INVALID_PROPERTY_ID (gobject, prop_id, pspec); z}object_proxy_get_property (GObject *gobject, guint prop_id, GValue *value, GParamSpec *pspec) { zObjectProxy *object = zOOBJECT_PROXY (gobject); GDBusInterface *interface; switch (prop_id) { rz case %d: interface = g_dbus_object_get_interface (G_DBUS_OBJECT (object), "%s"); g_value_take_object (value, interface); break; zd default: G_OBJECT_WARN_INVALID_PROPERTY_ID (gobject, prop_id, pspec); break; } } zobject_proxy_class_init (ztObjectProxyClass *klass) { GObjectClass *gobject_class = G_OBJECT_CLASS (klass); gobject_class->set_property = z;object_proxy_set_property; gobject_class->get_property = zobject_proxy_get_property; z> g_object_class_override_property (gobject_class, %d, "%s"); z/** * %sobject_proxy_new: * @connection: A #GDBusConnection. * @object_path: An object path. * * Creates a new proxy object. * * Returns: (transfer full): The proxy object. */ zObjectProxy * zobject_proxy_new (GDBusConnection *connection, const gchar *object_path) { g_return_val_if_fail (G_IS_DBUS_CONNECTION (connection), NULL); g_return_val_if_fail (g_variant_is_object_path (object_path), NULL); return zOBJECT_PROXY (g_object_new (zXTYPE_OBJECT_PROXY, "g-connection", connection, "g-object-path", object_path, NULL)); } zObjectSkeleton: * * The #zhObjectSkeleton structure contains only private data and should only be accessed using the provided API. zTObjectSkeletonClass: * @parent_class: The parent class. * * Class structure for #zObjectSkeleton. object_skeleton__zaobject_skeleton__g_dbus_object_iface_init (GDBusObjectIface *iface) { iface->interface_added = zObjectSkeleton, z^object_skeleton, G_TYPE_DBUS_OBJECT_SKELETON, G_IMPLEMENT_INTERFACE (z-object_skeleton__g_dbus_object_iface_init)) zobject_skeleton_init (z+ObjectSkeleton *object G_GNUC_UNUSED) { } zobject_skeleton_set_property (GObject *gobject, guint prop_id, const GValue *value, GParamSpec *pspec) { zObjectSkeleton *object = zZOBJECT_SKELETON (gobject); GDBusInterfaceSkeleton *interface; switch (prop_id) { a case %d: interface = g_value_get_object (value); if (interface != NULL) { g_warn_if_fail (%sIS_%s (interface)); g_dbus_object_skeleton_add_interface (G_DBUS_OBJECT_SKELETON (object), interface); } else { g_dbus_object_skeleton_remove_interface_by_name (G_DBUS_OBJECT_SKELETON (object), "%s"); } break; zobject_skeleton_get_property (GObject *gobject, guint prop_id, GValue *value, GParamSpec *pspec) { zROBJECT_SKELETON (gobject); GDBusInterface *interface; switch (prop_id) { zobject_skeleton_class_init (zwObjectSkeletonClass *klass) { GObjectClass *gobject_class = G_OBJECT_CLASS (klass); gobject_class->set_property = z>object_skeleton_set_property; gobject_class->get_property = zobject_skeleton_get_property; z/** * %sobject_skeleton_new: * @object_path: An object path. * * Creates a new skeleton object. * * Returns: (transfer full): The skeleton object. */ zObjectSkeleton * zobject_skeleton_new (const gchar *object_path) { g_return_val_if_fail (g_variant_is_object_path (object_path), NULL); return zOBJECT_SKELETON (g_object_new (z?TYPE_OBJECT_SKELETON, "g-object-path", object_path, NULL)); } rz/ObjectSkeleton. * @interface_: (nullable): A #z2 or %NULL to clear the interface. * * Sets the #z on @object. rrz *interface_) zA{ g_object_set (G_OBJECT (object), "%s", interface_, NULL); } )rgrmr'r]rGrJr]r[rrr^rrIrrE)r rrr2s rgenerate_objectCodeGenerator.generate_objects         # #NNNNNNNNNN   & 4      # #  >>4>> ;     4      # #  >>4>> ;    4  ~~t~~ /  ~~t}} .  4  ]]DNN 4 A LL    ''~~q}}allAFF L    < >4>> 3     7# 4      # # >>4>> 3    7# 4   MM4==$..  B  MM4==$--  A  4            MM4>>  3   O}}   :&   G  A LL  66{ #  FA    MM4>>4==$-- Q  A LL  ==)*  FA  :&     # # ==*   NNDMM4==$-- Q      # # >>4>> 3     7# 4      # # >>4>> 3    7# 4   MM4==$..  B  4  MM4==$--  A            MM4>>  3    G  A LL   ==!,,? @  FA!"      G  A LL  66{ #  FA    MM4>>4==$-- Q  A LL  ==)*  FA  :&     # # ==*   NNDMM4==$--  Q A LL    ''  **,    &  < 4 rc URRS5 URRURRSUR<SUR<SUR <S3S55 URRS5 URRURRSUR<S UR<S 3S55 URRS 5 URRS5 URRURRSUR<S UR<S 3S55 URRS 5 URRS5 URRSUR<SUR <S35 URRSUR <SUR<S35 URRSUR <SUR<S35 URRURRSUR <SUR<S3S55 URRS 5 URRSUR -5 URRSUR -5 URHInURRSUR<SUR <SUR<S35 MK URRS5 URRS5 URRS 5 URRURRSUR <S!UR <S"UR <S#UR <S$3 S55 URRS 5 URRS%UR <S&UR <S'UR <S(35 URRSUR <S)UR <S*UR <S+UR<S,3 5 URRS 5 URRS-UR -5 URRURRSUR <S.UR <S/UR <S0UR<S,3 S55 URRS 5 URRS1UR <S2UR <S3UR <S435 URRS5 URRURRSUR <S5UR <S6UR <S7UR <S83 S55 URRS 5 URRS%UR <S9UR <S:UR <S(35 URRSUR <S;UR <SUR -5 URRURRSUR <S?UR <S@UR <SAUR<S,3 S55 URRS 5 URRS1UR <SBUR <SCUR <S435 URRS5 g)DNz/* ------------------------------------------------------------------------ * Code for ObjectManager client * ------------------------------------------------------------------------ */ rzObjectManagerClient * @title: zObjectManagerClient * @short_description: Generated GDBusObjectManagerClient type * * This section contains a #GDBusObjectManagerClient that uses zGobject_manager_client_get_proxy_type() as the #GDBusProxyTypeFunc. */ FrlrYz ObjectManagerClient: * * The #zmObjectManagerClient structure contains only private data and should only be accessed using the provided API. rzYObjectManagerClientClass: * @parent_class: The parent class. * * Class structure for #zObjectManagerClient. zG_DEFINE_TYPE (zObjectManagerClient, z;object_manager_client, G_TYPE_DBUS_OBJECT_MANAGER_CLIENT) rgzobject_manager_client_init (z1ObjectManagerClient *manager G_GNUC_UNUSED) { } z"object_manager_client_class_init (z4ObjectManagerClientClass *klass G_GNUC_UNUSED) { } aobject_manager_client_get_proxy_type: * @manager: A #GDBusObjectManagerClient. * @object_path: The object path of the remote object (unused). * @interface_name: (nullable): Interface name of the remote object or %NULL to get the object proxy #GType. * @user_data: User data (unused). * * A #GDBusProxyTypeFunc that maps @interface_name to the generated #GDBusObjectProxy derived and #GDBusProxy derived types. * * Returns: A #GDBusProxy derived #GType if @interface_name is not %NULL, otherwise the #GType for #rzGType %sobject_manager_client_get_proxy_type (GDBusObjectManagerClient *manager G_GNUC_UNUSED, const gchar *object_path G_GNUC_UNUSED, const gchar *interface_name, gpointer user_data G_GNUC_UNUSED) { a static gsize once_init_value = 0; static GHashTable *lookup_hash; GType ret; if (interface_name == NULL) return %sTYPE_OBJECT_PROXY; if (g_once_init_enter (&once_init_value)) { lookup_hash = g_hash_table_new (g_str_hash, g_str_equal); z4 g_hash_table_insert (lookup_hash, (gpointer) "z", (gpointer) (guintptr) (rwz _PROXY)); z5 g_once_init_leave (&once_init_value, 1); } z ret = (GType) (guintptr) (g_hash_table_lookup (lookup_hash, interface_name)); if (ret == (GType) 0) ret = G_TYPE_DBUS_PROXY; z return ret; } aobject_manager_client_new: * @connection: A #GDBusConnection. * @flags: Flags from the #GDBusObjectManagerClientFlags enumeration. * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. * @object_path: An object path. * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied. * @user_data: User data to pass to @callback. * * Asynchronously creates #GDBusObjectManagerClient using aLobject_manager_client_get_proxy_type() as the #GDBusProxyTypeFunc. See g_dbus_object_manager_client_new() for more details. * * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). * You can then call zQobject_manager_client_new_finish() to get the result of the operation. * * See z\object_manager_client_new_sync() for the synchronous, blocking version of this constructor. raOobject_manager_client_new ( GDBusConnection *connection, GDBusObjectManagerClientFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data) { g_async_initable_new_async (zTYPE_OBJECT_MANAGER_CLIENT, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "flags", flags, "name", name, "connection", connection, "object-path", object_path, "get-proxy-type-func", z0object_manager_client_get_proxy_type, NULL); } znobject_manager_client_new_finish: * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to ztobject_manager_client_new(). * @error: Return location for error or %NULL * * Finishes an operation started with zBobject_manager_client_new(). * * Returns: (transfer full) (type zWObjectManagerClient): The constructed object manager client or %NULL if @error is set. aGDBusObjectManager * %sobject_manager_client_new_finish ( GAsyncResult *res, GError **error) { GObject *ret; GObject *source_object; source_object = g_async_result_get_source_object (res); ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); g_object_unref (source_object); if (ret != NULL) return G_DBUS_OBJECT_MANAGER (ret); else return NULL; } aobject_manager_client_new_sync: * @connection: A #GDBusConnection. * @flags: Flags from the #GDBusObjectManagerClientFlags enumeration. * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. * @object_path: An object path. * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL * * Synchronously creates #GDBusObjectManagerClient using zobject_manager_client_get_proxy_type() as the #GDBusProxyTypeFunc. See g_dbus_object_manager_client_new_sync() for more details. * * The calling thread is blocked until a reply is received. * * See zsobject_manager_client_new() for the asynchronous version of this constructor. * * Returns: (transfer full) (type zGDBusObjectManager * a6object_manager_client_new_sync ( GDBusConnection *connection, GDBusObjectManagerClientFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GError **error) { GInitable *ret; ret = g_initable_new (zTYPE_OBJECT_MANAGER_CLIENT, cancellable, error, "flags", flags, "name", name, "connection", connection, "object-path", object_path, "get-proxy-type-func", zobject_manager_client_get_proxy_type, NULL); if (ret != NULL) return G_DBUS_OBJECT_MANAGER (ret); else return NULL; } aobject_manager_client_new_for_bus: * @bus_type: A #GBusType. * @flags: Flags from the #GDBusObjectManagerClientFlags enumeration. * @name: A bus name (well-known or unique). * @object_path: An object path. * @cancellable: (nullable): A #GCancellable or %NULL. * @callback: A #GAsyncReadyCallback to call when the request is satisfied. * @user_data: User data to pass to @callback. * * Like a!object_manager_client_new() but takes a #GBusType instead of a #GDBusConnection. * * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). * You can then call zYobject_manager_client_new_for_bus_finish() to get the result of the operation. * * See zdobject_manager_client_new_for_bus_sync() for the synchronous, blocking version of this constructor. aUobject_manager_client_new_for_bus ( GBusType bus_type, GDBusObjectManagerClientFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data) { g_async_initable_new_async (zTYPE_OBJECT_MANAGER_CLIENT, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "flags", flags, "name", name, "bus-type", bus_type, "object-path", object_path, "get-proxy-type-func", zvobject_manager_client_new_for_bus_finish: * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to z|object_manager_client_new_for_bus(). * @error: Return location for error or %NULL * * Finishes an operation started with zJobject_manager_client_new_for_bus(). * * Returns: (transfer full) (type aGDBusObjectManager * %sobject_manager_client_new_for_bus_finish ( GAsyncResult *res, GError **error) { GObject *ret; GObject *source_object; source_object = g_async_result_get_source_object (res); ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); g_object_unref (source_object); if (ret != NULL) return G_DBUS_OBJECT_MANAGER (ret); else return NULL; } aGobject_manager_client_new_for_bus_sync: * @bus_type: A #GBusType. * @flags: Flags from the #GDBusObjectManagerClientFlags enumeration. * @name: A bus name (well-known or unique). * @object_path: An object path. * @cancellable: (nullable): A #GCancellable or %NULL. * @error: Return location for error or %NULL * * Like zobject_manager_client_new_sync() but takes a #GBusType instead of a #GDBusConnection. * * The calling thread is blocked until a reply is received. * * See z{object_manager_client_new_for_bus() for the asynchronous version of this constructor. * * Returns: (transfer full) (type a<object_manager_client_new_for_bus_sync ( GBusType bus_type, GDBusObjectManagerClientFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GError **error) { GInitable *ret; ret = g_initable_new (zTYPE_OBJECT_MANAGER_CLIENT, cancellable, error, "flags", flags, "name", name, "bus-type", bus_type, "object-path", object_path, "get-proxy-type-func", ) rgrmr'r]rGrJrIr]rrrs rgenerate_object_manager_client,CodeGenerator.generate_object_manager_clients        # # >>4>>4== J   4      # # >>4>> 3     7# 4      # # >>4>> 3    7# 4  NNDMM 3  MM4>>  3   MM4>>  3      # #==$.. 2  7#  ]] $  P}}  A LL  661::q||5  WX  - 78     # #"==$-- !O"%  , 7# MM4==$-- A  }}dmmT]]DNN L  7#  MM # $     # #"==$--!P"%  , 7# "MM4==$--! A & 4      # #"==$-- !O"%  , 7# MM4==$-- A  }}dmmT]]DNN L  7#  MM # $     # #"==$--!P"%  , 7# "MM4==$--! A & 4 rc t[UR5S:a#URSUSUSUR4-5 UR(a[ U[ R 5(aSnO[ U[ R5(aSnO^[ U[ R5(aSnO<[ U[ R5(aSnO[SRU55 URURRS USUSW4-S 55 URS US4-5 g) Nr>z%*s * %*s * Since: %s r@zThe D-Bus interfacezThe D-Bus methodzThe D-Bus signalzThe D-Bus propertyzCannot handle object "{}"z0%*s * %*s * Deprecated: %s has been deprecated. Fz%*s */ )rArrmrrr InterfacerrPropertyrror'r])r objfindentthings rr^9CodeGenerator.write_gtkdoc_deprecated_and_since_and_closeos syy>A  GG1VRSYY4WW X >>#y2233-C!1!122*C!1!122*C!3!344,7>>sCD GG  ''Br62u56    fb\)*rc fURRSUR-5 URRURR SUR <SUR <SUR<SUR<S3 S55 URRS5 g) Nz/* ------------------------------------------------------------------------ * Code for interface %s * ------------------------------------------------------------------------ */ rz * @title: z1 * @short_description: Generated C code for the zH D-Bus interface * * This section contains code for working with the #z D-Bus interface in C. */ Frl)rgrmrr'r]rrs rgenerate_interface_intro&CodeGenerator.generate_interface_intros  FF        # #<<qvvqvv G   4 rcUR5 URR5 URHnURU5 M URHnUR U5 UR U5 UR U5 URU5 URU5 URU5 URU5 URU5 URU5 URU5 URU5 URU5 M UR (a UR#5 UR%5 URR'5 gr )r8rr]rrrKr`rrrrrrrrrr^rr r;rs rr;CodeGenerator.generates# ##% '')A  - -a 0A  ) )! ,  4 4Q 7  5 5a 8  , ,Q /  , ,Q /  # #A &  , ,Q /  ) )! ,  & &q )  + +A .    "  " "1 %  # #  "  / / 1 r)r'rr^rcrWr]rar*rGrJrIrgr(rr )FFF)!r r$r%r&r"r8r3rCrKr`rrrrrrrrrrrrrrrrrrr r^rr;r'rrrr6r6s58g R(T$7L B!LG'V O%f%+R' ' BG  ;=d:x,.4 X 2E44 @PH:+|b !LW  vf!PU!r +4!.rr6N)r@rrrrrnrrr)r4rKrXr+rrr6rrrrs4  ))  #5    /  $" v)v)xH)H)\VVx V?V?r