???????????????????????????? ??????????????/????????????????? ............/............... .........................../... ????????????????????????????? >>>>>>>>>>>>>/>>>>>>>>>>>>>>>>> ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ     ÿÄ J    ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú "SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5 ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍѶ¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e ríV ?> ......................................... ............................................................................. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>/>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ???????????????????????????? ??????????????/????????????????? ............/............... .........................../... ????????????????????????????? >>>>>>>>>>>>>/>>>>>>>>>>>>>>>>> ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ     ÿÄ J    ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú "SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5 ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍѶ¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e ríV ?> ......................................... ............................................................................. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>/>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 3eGddlmZddlmZddlmZddlmZdZdZdZGdd ZGd d Z Gd d Z GddZ y))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. */ cj|}t|dkDrtj|r9|jdd}|j dz}|j dz}nQtj |j dz}tj |j dz}nd}d}|||fS)N_)lenr is_ugly_casereplaceupperlowercamel_case_to_uscore) namespacensns_upperns_lowers &/usr/share/glib-2.0/codegen/codegen.pygenerate_namespacer*s B 9~   i (""3+B (3.H (3.H11)<BBDsJH11)<BBDsJH ( ##cl|dk(ryddjtfd|jS)N-STDOUT$0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZr c|vr|SdS)Nr )csafe_valid_charss rz'generate_header_guard..Cs1 00acr)joinmapr) header_namers @rgenerate_header_guardr$;s;c> 77 9;;L;L;NO rc*eZdZdZdZdZdZdZy)HeaderCodeGeneratorc ||_t|\|_|_|_||_||_t||_||_ ||_ ||_ | |_ | |_ | |_yN)ifacesrrrrgenerate_objmanagergenerate_autocleanupr$ header_guardinput_files_basenames use_pragmaglib_min_requiredsymbol_decoratorsymbol_decorator_headeroutfile) selfr)rr*r+r#r-r.r/r0r1r2s r__init__zHeaderCodeGenerator.__init__Hsm 7I)7T4 t}#6 $8!1+>%:"$!2 0'>$ rcdj|j}|jjtj t j||jjd|jr|jjdnh|jjdj |j|jjdj |j|jC|jjd|jjd|jz|jjd|jjd|jjd|jjd|jjdy N,  z #pragma once z#ifndef __{!s}__ z#define __{!s}__ z#include "%s" z#include zG_BEGIN_DECLS r!r-r2write LICENSE_STRformatrVERSIONr.r,r1r3 basenamess rgenerate_header_preamblez,HeaderCodeGenerator.generate_header_preambledEIId889  ;--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 s|jD!]}|jjd|jjd|jjd|jz|jjd|jjd|jd|j d|j d|jjd|j|j d|jd|j d |jd |jjd|jd |j d |jd|j d |jjd|j|j d |jd|j d |jd |jjd|jjd|jz|jjd|jd|jd|jjd|jd|jd|jjd|jjd|jz|jjd|jjdi}t|jdkDr|jjd|jD]}|jd|j zf}d|j z}|d|jzz }|dz }|jr|dz }|jD]!}|d|jd|jz }#|d z }|||<t|jdkDr|jjd|jD]x}|jd!|j zf}d"|j z}|d#|jzz }|jD]!}|d|jd|jz }#|d z }|||<zt|j dkDr|jjd|j D]V}|jd$|j zf}d%|j"jd&|j d'|jd(}|||<Xt%|j't(j*)D]#}|jjd*||z%|jjd+|jjd|j,d,k(ry|jjd-|jjd.|jz|jjd/|jjd|j.(|jjd0|j.z|jjd1|j z|jjd|j.(|jjd0|j.z|jjd2|j z|j.(|jjd0|j.z|jjd3|j z|jjdt|jdkDr|jjd|jjd4|jD]C}|j.(|jjd0|j.z|j0r|jjd5|jjd6|j d7|j d8|jd9|jr|jjd|j2D]6}|jjd|j|j8|jjd:|jjdF|jjdt|jdkDr~|jjd|jjd;|jD]}|j.(|jjd0|j.z|j0r|jjd5|jjd6|j d<|j d8|jd=|jD]7}|jjd|jd|j9|jjd:|jjd |jjdt|jdkDr|jjd|jjd>|jD]}|j.(|jjd0|j.z|j0r|jjd5|jjd6|j d?|j d8|jd@|jD]7}|jjd|jd|j9|j4dAk\r|jjdB|jr|jjd|jjdC|jjd|j.(|jjd0|j.z|j0r|jjd5|jjdD|j d?|j dE|jd@|j2D]7}|jjd|j6dF|j9|jr|jjdG|jjdH|jjd|j.(|jjd0|j.z|j0r|jjd5|jjdD|j d?|j dI|jd@|jD]7}|jjd|jd|j9|j4dAk\r|jjdB|jr|jjdJ|j2D]7}|jjd|j6dF|j9|jr|jjdG|jjdK|jjd|jjdt|j dkDr|jjd|jjdL|j D]O}|j.(|jjd0|j.z|j0r|jjd5|jj|j"j|j dM|j d|jdN|j"j8|j.(|jjd0|j.z|j0r|jjd5|jj|j"j:|j dO|j d|jdN|j.(|jjd0|j.z|j0r|jjd5|jjd6|j dP|j d|jdQ|j"jdR |jjdR|jjd|jjdS|jjd|jjd|jd|j dT|j dU|jjd|j|j dV|jd|j dW|jdX |jjd|j|j dY|jd|j dW|jdZ |jjd|j|j d[|jd|j dW|jdZ |jjd|jd |j d\|jd|j d] |jjd|jd |j d^|jd|j d] |jjd|jjd|jd_|jd`|jjd|jda|jdb|jjd|jdc|jdd|jjd|jjde|jz|jjd|jjdf|jjdg|jjdh|jz|jjd+|jjd|jjdi|jz|jjd|jjdj|jjd+|jjd|j.(|jjd0|j.z|jjdk|j z|jjd|j,dlvry|jjd-|jjdm|jz|jjd/|jjd|j.(|jjd0|j.z|j0r|jjd5|jjdn|j z|j.(|jjd0|j.z|j0r|jjd5|jj|jdo|j dp|j.(|jjd0|j.z|j0r|jjd5|jj|jdo|j dq|jjd|j.(|jjd0|j.z|j0r|jjd5|jjdr|j z|j.(|jjd0|j.z|j0r|jjd5|jj|jdo|j ds|j.(|jjd0|j.z|j0r|jjd5|jj|jdo|j dt|jjd|jjd|jjdS|jjd|jjd|jd|j du|j dv|jjd|j|j dw|jd|j dx|jdy |jjd|j|j dz|jd|j dx|jd{ |jjd|j|j d||jd|j dx|jd{ |jjd|jd |j d}|jd|j d~ |jjd|jd |j d|jd|j d~ |jjd|jjd|jd|jd|jjd|jd|jd|jjd|jd|jd|jjd|jjd|jz|jjd|jjdf|jjd|jjd|jz|jjd+|jjd|jjd|jz|jjd|jjd|jjd+|jjd|j.(|jjd0|j.z|jjd|j z|jjd|j,dlvry|jjd-|jjd|jz|jjd/|jjd|j.(|jjd0|j.z|j0r|jjd5|jj|jdo|j d|jjd!|j<r|jjd|jjdS|jjd|jjd|jd|j>d|jjd|jd|jd|j@d|jjd|jd|jd|jjd|jd|jd|j@d|jjd|jjd|j@z|jjd|j@d|j@d|jjd|j@d|j@d|jjd|jjd|j@z|jjd|j.(|jjd0|j.z|jjd|j>z|j,d,k(ry|jjd-|jjd|j@z|jjd/|jjd|jD]}|j.(|jjd0|j.z|j0r|jjd5|jj|jdo|j>d|j jCd|j@d|jD]}|j.(|jjd0|j.z|j0r|jjd5|jj|jdo|j>d|j jCd|j@d|jjd|jjd|jd|j>d|jjd|jd|jd|j@d|jjd|jd|jd|j@d|jjd|jd|jd|j@d|jjd|jd|jd|jjd|jd|jd|jjd|jjd|j@d|j@d|jjd|j@d|j@d|jjd|j@d|j@d|jjd|jjd|j@z|jjd|jjdf|jjd|jjd|j@z|jjd+|jjd|jjd|j@z|jjd|jjd|jjd+|jjd|j.(|jjd0|j.z|jjd|j>z|jjd|j,dlvry|jjd-|jjd|j@z|jjd/|jjd|j.(|jjd0|j.z|jj|j@d|j>d|jjd|jjd|jd|j>d|jjd|jd|jd|j@d|jjd|jd|jd|j@d|jjd|jd|jd|j@d|jjd|jd|jdŝ|jjd|jd|jdŝ|jjd|jjd|j@d|j@dȝ|jjd|j@d|j@dʝ|jjd|j@d|j@d̝|jjd|jjd|j@z|jjd|jjdf|jjdΫ|jjd|j@z|jjd+|jjd|jjd|j@z|jjd|jjdѫ|jjd+|jjd|j.(|jjd0|j.z|jjd|j>z|jjd|j,dlvry|jjd-|jjd|j@z|jjd/|jjd|j.(|jjd0|j.z|jj|j@d|j>d՝|jD]}|j.(|jjd0|j.z|j0r|jjd5|jjd6|j>d|j jCd|j@d|jd؝ |jjd|jjdS|jjd|jjd|jd|j>dڝ|jjd|jd|jd|j@dݝ|jjd|jd|jd|j@dߝ|jjd|jd|jd|j@dߝ|jjd|jd|jd|jjd|jd|jd|jjd|jjd|j@d|j@d|jjd|j@d|j@d|jjd|j@d|j@d|jjd|jjd|j@z|jjd|jjdf|jjd|jjd|j@z|jjd+|jjd|jjd|j@z|jjd|jjd|jjd+|jjd|j,dlvry|jjd-|jjd|j@z|jjd/|jjd|j.(|jjd0|j.z|jjd|j>z|jjd|j.(|jjd0|j.z|jjd|j>z|jjd|j.(|jjd0|j.z|jjd|j>z|j.(|jjd0|j.z|jjd|j>z|j.(|jjd0|j.z|jjd|j>z|jjd|j.(|jjd0|j.z|jjd|j>z|j.(|jjd0|j.z|jjd|j>z|j.(|jjd0|j.z|jjd|j>z|jjdyy)Nr8O/* ------------------------------------------------------------------------ */ z/* Declarations for %s */ z#define TYPE_ (z_get_type ()) z&(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), r7z)) 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; )objectsrVz8G_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* GDBusInterfaceSkeleton parent_instance; z %sSkeletonPrivate *priv; zstruct _%sSkeletonClass z, GDBusInterfaceSkeletonClass 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>YYJajj!&&!IIJX%E-2%c* 3199~! ""4(3A77L1<<$?@C.!,,?E->>EVVJajj!&&!IIJX%E-2%c*31<< 1$ ""4(3A77NQ\\$ABC  E .3%c*3$/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  L M LL  =N O LL  v & LL  t $ LL  :allK L LL  u % LL  N O 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 $ap %f  # # 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 $rc(|jjd|jjd|jsP|jjd|jjdj|jyyNr8z G_END_DECLS z#endif /* __{!s}__ */ r2r:r.r<r,r3s rgenerate_header_postamblez-HeaderCodeGenerator.generate_header_postambleh 4  ?+ LL  t $ LL  8??@Q@QR Srcd|j|j|jyr()r@rrrs rgeneratezHeaderCodeGenerator.generate& %%'  &&(rN)__name__ __module__ __qualname__r4r@rrrrrrr&r&Gs8!.h %XT)rr&c*eZdZdZdZdZdZdZy) InterfaceInfoHeaderCodeGeneratorc ||_t|\|_|_|_t ||_||_||_||_ ||_ |jd|_ ||_ | |_ y)Nr ) r)rrrrr$r,r-r.r/r0r1r2) r3r)rr#r-r.r/r0r1r2s rr4z)InterfaceInfoHeaderCodeGenerator.__init__sq 7I)7T4 t}1+>%:"$!2 0  ($&D !'>$ rcdj|j}|jjtj t j||jjd|jr|jjdnh|jjdj |j|jjdj |j|jC|jjd|jjd|jz|jjd|jjd|jjd|jjd|jjdyr6r9r>s rr@z9InterfaceInfoHeaderCodeGenerator.generate_header_preamblerArc|jD]8}|jjd|jd|jd:y)Nzextern z const GDBusInterfaceInfo z _interface; )r)r2r:r0ryr3rs r declare_infosz.InterfaceInfoHeaderCodeGenerator.declare_infos,s; A LL  ((!,,8  rc(|jjd|jjd|jsP|jjd|jjdj|jyyrrrs rrz:InterfaceInfoHeaderCodeGenerator.generate_header_postamble5rrcd|j|j|jyr()r@rrrs rrz)InterfaceInfoHeaderCodeGenerator.generate?rrN)rrrr4r@rrrrrrrrs4!.T)rrc6eZdZdZdZdZdZdZdZdZ y) InterfaceInfoBodyCodeGeneratorc||_t|\|_|_|_||_||_||_||_||_ yr() r)rrrrr#r-r/symbol_decoration_definer2)r3r)rr#r-r/rr2s rr4z'InterfaceInfoBodyCodeGenerator.__init__IsI 7I)7T4 t}&%:"!2(@% rc\dj|j}|jjtj t j||jC|jjd|jjd|jz|jjd|jjd|jr(|jjd|jz|jjdy)Nr7r8 #define %s 3#ifdef HAVE_CONFIG_H # include "config.h" #endif #include "%s" z#include r!r-r2r:r;r<rr=rr#r>s rgenerate_body_preamblez5InterfaceInfoBodyCodeGenerator.generate_body_preamble]sIId889  ;--fnniHI  ( ( 4 LL  t $ LL  ~0M0MM N 4   N     LL  2d6F6FG H 45rcp|jjd|d|d|jjd|D]#\}}|jjd|z%|jjd|jjd|jjdy) Nzconst z * const z[] = rJz &%s, z NULL, rUr8r2r:)r3array_name_lower element_typeelementsr rws rgenerate_arrayz-InterfaceInfoBodyCodeGenerator.generate_arrayqs +79I J  5! 2GAt LL  zD0 1 2 ;' 6" 4 rct|dk(ryg}|D]}|jjdr |j|d|jd|j |j jd|d|jd|j jd|j jd|j jd |jz|j jd |jzt|j dkDr-|j jd |d|jd n|j jd |j jd |j jd|j|d|jdf}|j||j|d|y)Nr org.gtk.GDBus__ _annotationszconst GDBusAnnotationInfo z_annotation = rJ -1, /* ref count */  (gchar *) "%s",  (GDBusAnnotationInfo **) z_annotations,  NULL, /* no annotations */ rUr8 _annotationGDBusAnnotationInfo) r rS startswithdefine_annotations key_lower annotationsr2r:rr|appendr)r3rrannotation_pointersrrSs rrz1InterfaceInfoBodyCodeGenerator.define_annotations|s { q   ,Auu0  # #(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 rct|dk(ryg}|D]}|j|d|jd|j|jj d|d|jd|jj d|jj d|jj d|jz|jj d|j zt|jdkDr-|jj d |d|jd n|jj d |jj d |jj d |j|d|jdf}|j||j|d|y)Nrr_arg_annotationszconst GDBusArgInfo z_arg = rJrrrz_arg_annotations, rrUr8_arg GDBusArgInfo) r rrwrr2r: signaturer|rr)r3rr arg_pointersrrSs r define_argsz*InterfaceInfoBodyCodeGenerator.define_argssh t9>   %A  # #, LL  4q{{B C1==!A% ""'1  ""#DE LL  v & LL  t $77,199~! ""Dq||S ""#@A199~! ""Dq||S ""#@A1<< 1$ ""IALLX ""#AB1==!A% ""Lll#  ""#DE LL  v & LL  t $eR %rcD|j|jyr()rrrs rrz'InterfaceInfoBodyCodeGenerator.generates ##% rN) rrrr4rrrrrrrrrrrHs*(6( !& PLBS%nrrceZdZdZdZdZdZdZdZdZ dZ d Z dd Z d Z dd Zgd fdZgd fdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZy ) CodeGeneratorc ||_t|\|_|_|_||_||_||_||_||_ ||_ | |_ t|_ yr()r)rrrrr*r#r- docbook_genr/rr2set marshallers) r3r)rr*r#r-rr/rr2s rr4zCodeGenerator.__init__sc 7I)7T4 t}#6 &%:"&!2(@% 5rcdj|j}|jjtj t j||jC|jjd|jjd|jz|jjd|jjd|jr(|jjd|jz|jjd|jjd|jjd|jjd |jjd |jjd |jjd |jjd |jjd|jjd|jjd|jjdy)Nr7r8rrrz#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; } rr>s rrz$CodeGenerator.generate_body_preamblesIId889  ;--fnniHI  ( ( 4 LL  t $ LL  ~0M0MM N 4   N     LL  2d6F6FG H 23  S  - / b                  "   2   ( 0 2 rc|yd}|D]}|jjdr|jjd|||j|jfzt |j dk(r|jjdn |jjd||fz|jjd|dz }|dkDr|jjd|zd}|D]C}|jjdr|jjd ||fz|dz }E|jjd |S) NrrzUstatic 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 }; )rSrr2r:rr r)r3prefixrnrrs rgenerate_annotationsz"CodeGenerator.generate_annotationssZ     Auu0 LL  &*0AEE177(C D 1==!Q& "":. ""Bfa[P LL  { + FA+ . q5 LL  ! A  55##O4 ""=FA;#>?Q   LL  5 6rc |D]O}|j|d|jd|j}|jj d|d|jd|jd|j d |dk(r|jj d n,|jj d |d|jd |jj d t j|jd s|jj dn|jj d|jj dRt|dkDrm|jj d|z|D].}|jj d|d|jd0|jj dyy)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 rz4static const GDBusArgInfo * const %s_pointers[] = { z &.parent_struct, r) rrwrr2r:rrlookup_annotationr )r3rrrnum_annos r generate_argszCodeGenerator.generate_argssp ,A00/5qvv> H LL   ,21661661;; P 1} ""<0 ""qvv' LL  x (** > "";/ "":. LL  { +7 ,: t9q= LL  KvV  S ""&!&&#QR S LL  5 6 rc||jsy|jjd|jD]+}|jjd|jd-|jjd|jjd|jdt |jdy)Nzenum { rQ, rzstatic unsigned [z ] = { 0 }; )rr2r: upper_id_namesignals_enum_namer r3rrs r#generate_signals_enum_for_interfacez1CodeGenerator.generate_signals_enum_for_interfacesyy  ;' :A LL  AOO#4C8 9 : ;'  ""#1S^$45  rc|jjd|jzt|jdkDr|jD]k}|j d|j d|j d|j|j d|j d|j d|j|jd|j d|j d|j}|jjd |j d|j d |jd t|jdk(r|jjd n6|jjd |j d|j dt|jdk(r|jjd n6|jjd |j d|j d|dk(r|jjdn6|jjd|j d|j d|jjd|jd|jrdndd|jjdn|jjd|j z|jD]8}|jjd|j d|j d:|jjdt|jdkDrR|jD]}|j d|j d|j d|j|jd|j d|j d|j}|jjd |j d|j d |jd t|jdk(r|jjd n6|jjd |j d|j d!|dk(r|jjdn6|jjd|j d|j d|jjd"|jz|jjd|jjd#|j z|jD]8}|jjd|j d|j d:|jjdt|jdkDr|jD]}|j r|j"rd$}n |j rd%}n|j"rd&}nd'}|jd|j d(|j d|j}|jjd)|j d*|j d |jd+|j$j&d,|d- |dk(r|jjdn6|jjd|j d(|j d|jjd.|jzt)j*|jd/s|jjd0n|jjd1|j,r|jjd2n|jjd3|jjd |jjd4|j z|jD]8}|jjd|j d*|j d:|jjd|jd5|j z|j}|jjd6|j d7|jd t|jdk(r|jjd n(|jjd8|j zt|jdk(r|jjd n(|jjd9|j zt|jdk(r|jjd n(|jjd:|j z|dk(r|jjdn(|jjd;|j z|jjd<|jz|jjd|jj|j.j1d=|j d>|jd?d@|j3||jd|jjdA|j dB|j dC|jj|j.j1d=|j dD|j4dEd@|j3||jd|jjdF|j zt|jdk(r|jjdG|jjdH|jD]*}|jjdI|jz,|jjdJ|jjdy)KNz+/* ---- Introspection data for %s ---- */ rr _method_info__IN_ARG_OUT_ARG_method_rz'static const _ExtendedGDBusMethodInfo _rrz NULL, z (GDBusArgInfo **) &_z_IN_ARG_pointers, z_OUT_ARG_pointers, rz (GDBusAnnotationInfo **) &_rz }, "handle-z", TRUEFALSEr8rzDstatic const GDBusMethodInfo * const _%s_method_info_pointers[] = { z &_rr _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_rz", rz }, "%s", rz FALSE, z TRUE, rrzHstatic 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; } )r2r:rwr r{rryr~rrr name_hyphenr}rrrrrrrrremits_changed_signalrexpand+write_gtkdoc_deprecated_and_since_and_closerz)r3rrrrraccesss r$generate_introspection_for_interfacez2CodeGenerator.generate_introspection_for_interfacesL   >!&& I  qyy>A YY0 0""34<<NII""45LL!,,OJJ  4478||Q\\RMM  "" 01||Q\\166 Sqyy>Q&LL&&}5LL&&<<7qzz?a'LL&&}5LL&&<<7q=LL&&|4LL&&<<7 ""!" v/OQ  "";/a0 0d LL  ' YY  ""||Q\\3  LL  5 6 qyy>A YY 0""01 allKQVV 4478||Q\\RMM "" 01||Q\\166 Sqvv;!#LL&&}5LL&&<<7q=LL&&|4LL&&<<7 ""#6!--#HI "";/? 0B LL  ' YY  ""||Q\\3  LL  5 6 q|| q \\) 0::!**hFZZBFZZBF>F449:q||TMM ""||Q\\166155??FT q=LL&&|4LL&&<<7 ""#71==#IJ..MM#BLL&&|4LL&&{3))LL&&z2LL&&{3 "";/S) 0V 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      # #<< )   88DLL!L  LL!,,  0      # #:;q||U   88DLL!L  Cq|| T  q||  ! LL  / 0 ?@ A LL  Z=="   IJ 4 rc|jjd|jj|jjd|jd|j dd|j ||jd|jjd|jj|jjd|jzdi}t|jdkDr`|jD]Q}|jd|jzf}d |jz}|d |jd |jd z }|||<St|jdkDr`|jD]Q}|jd |jzf}d|jz}|d |jd|jd z }|||<St|jdkDr`|jD]Q}|jd|jzf}d|jz}|d|jd|jdz }|||<St|jt j"D]#}|jjd||z%|jj|jjd|j zd|j ||jd|jjd|jjd|jd|jd|jjd|jd|jd|jjd|jjd|jd|jd t|jdk(rLt|jdk(r4t|jdk(r|jjd!n|jjd"|jjd#t|jdkDr|jjd$|jD]_}|jj|jjd%|jd |jd&|jd'd|j$r|jjd(|j&D]*}|jjd)|j z,|jj|jjd*|j d+|j d,|jd-|jd. d|j ||jd/|j$rd/} nd0} |jjd1|jd2|jd3|j|j|jt|j&| zfz|j$r|jjd4|j&D]*}|jjd5|j(z,|jjd6|jjdbt|jdkDr(|jjd7|jD]}|jj|jjd%|jd|jd&|jdd|j*D]*}|jjd8|j z,|jj|jjd9|j d|j d:d|j ||jd/|jjd;|j,d<|j.d=|jd>|jd? |j|j|jt|j*fz|j*D]*}|jjd5|j(z,|jjd6|jjdt|jdkDrV|jjd@|jD]+}|j0r|j2rdA} nB|j0rdB} n3|j2rdC} n$t5dDj7|j |jj|jjd%|jd|jdE|j d|j dF d d|j ||jd/|jjdG|j8j(dHk(rCdI|jdJ|j dJ|j dK|j8j:dL }nz|j8j:dMk(r,dN|jdJ|j dJ|j dO}n5|j8j:dPk(r,dQ|jdJ|j dJ|j dR}n|j8j:dSk(r,dT|jdJ|j dJ|j dU}n|j8j:dVk(r,dW|jdJ|j dJ|j dX}nf|j8j:dYk(r,dT|jdJ|j dJ|j dZ}n!|j8j:d[k(r,dW|jdJ|j dJ|j d\}n|j8j:d]k(r,d^|jdJ|j dJ|j d_}n|j8j:d`k(r,da|jdJ|j dJ|j db}nR|j8j:dck(r,dd|jdJ|j dJ|j de}n |j8j:dfk(r,dg|jdJ|j dJ|j dh}n|j8j:dik(r,dg|jdJ|j dJ|j dh}n|j8j:djk(r,dg|jdJ|j dJ|j dh}n>|j8j:dkk(r+dg|jdJ|j dJ|j dh}n|j8j:dlk(r+dm|jdJ|j dJ|j dn}n|j8j:dok(r+dm|jdJ|j dJ|j dn}nr|j8j:dpk(r+dm|jdJ|j dJ|j dn}n.t5dqj7|j8j(dr} |j<rds| z} |jjdtd| du|jjd.|jjdvy)wNr8rz9: * * Abstract interface type for the D-Bus interface #. Frz8/** * %sIface: * @parent_iface: The parent interface. rKz @handle_%s: zHandler for the #z ::handle-z signal.rOz@%s: ::rPz @get_%s: zGetter for the #:z property.rRz * %s z1 * * Virtual table for the D-Bus interface #%s. typedef rIz Interface; zG_DEFINE_INTERFACE (r7z, G_TYPE_OBJECT) static void z_default_init ( Iface *iface G_GNUC_UNUSED) ) rJz9 /* 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 rYao() 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. rarz 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, %sr[z4 /* 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. rQrz] = 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, 0rzg_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));} )r2r:rrrzrwrr r{r|ryrrrrrrrr}r~gtyperr r rrrr<rrr) r3rdoc_bitsrrSrrrr extra_argshintrs rgenerate_interfacez CodeGenerator.generate_interface sA  4      # # << )     88DLL!L 4      # #A YY &ww q|| ;<&!,,7LLMM!&  & qyy>A YY &ww q|| ;<1<<0LLMM!&  & q|| q \\ &ww =>#q||4LLMM!&  &(--/u/D/DE :C LL  y8C=8 9 :     # #HAFFS  88DLL!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  @@DLLRST99!"J!"J "" \\N*:1<<.I8 8   AII3 $99LL&&'>?;ALL&&v'9:; ""6* ""4(w; )z qyy>A  LL  V WYY' ) ""$$++<< F OALL&&'Baff'MNO ""$$++ 66166 +   @@DLLRST "",,-Qq.?@\\N*:1<<.I }}allALL#aff+N O ;ALL&&v'9:; ""6* ""4(O' )R q|| q LL  S T\\D )::!**LDZZzDZZzDX__FF  ""$$++<< N  @@DLLRST ""#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(ID )L :&rc |jD]}|jr|jrd}nB|jrd}n3|jrd}n$tdj |j |j j|jjd|jd|jd|jd|j d |j d d d |jj7|j jd |jd|jdn|j jd|j||j d|j j|jjd|jd|jd|jd|j jd|j d|j"d|jj$d|j |j"d|jd |j jd|j jd|jj|j j|jjd|jd|jd|jd|j d |j d |d|jjdd |j||j d|j j|jj&d|jd|jd|jd|jj&d |j jd!|j(z|j jd"|j jd|j jd|jr|jrd}nB|jrd#}n3|jrd$}n$tdj |j |j j|jjd|jd%|jd|jd&|j d |j d'|d d |j||j d|j jd(|jd%|jd|jd)|jjd* |j jd+|j(z|j jd|j jdy),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.r.rri: (skip) * @object: A #z. * * Gets the value of the #r$z 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 rjz() 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. rr8rE *object) { z g_return_val_if_fail (rFz (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.rkz/. * @value: The value to set. * * Sets the #z! D-Bus property to @value. * * void rlz value) { z7 g_object_set (G_OBJECT (object), "%s", value, NULL); )rrrrr<rwr2r:rrryrzrrrrrrxctype_in_default_valuerr)r3rrrDs rgenerate_property_accessorsz)CodeGenerator.generate_property_accessorsX s7N %Azzajj^LDT[[ LL    ''||Q\\1<<QUW  uu* ""||Q\\3 ""#FG  < >S  LL  J=="  LL  u % LL  t $]N %rc |jD]4}|jj|jj d|j d|j d|j dd|jD]*}|jjd|jz,|jj|jj d|jd|jd d|j||jd |jjd |j d|j d |j d |jD]7}|jjd|jd|j9|jjd|jd|jd|jD]*}|jjd|jz,|jjd|jjd7y)Nrr\: * @object: A #r"Fz. * @arg_%s: Argument to pass with the signal. z * * Emits the #r#z D-Bus signal. rrLrZr]rMrNz) { g_signal_emit (object, rz], 0z, arg_%sr[r@) rr2r:rrryrzrrwrrr r )r3rrrs rgenerate_signal_emittersz&CodeGenerator.generate_signal_emitters s$ +A 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_caser2r:rr!rwr range gvalue_get gvalue_set)r3rVr~rWmarshal_func_typerrrs rrUz&CodeGenerator.generate_marshaller_body7 s$99)DETJ W))'B"EVDWX% %ggwO!!**T!&&=OP Q"#$'( (   LL  W%%&'==   558\A5E4F G//0  (  LL  / 0F h* +gg#3w<0hl71:+@+@*AARSTUVSVRWW[\ -. /   LL  ',,--IJ  ePTs $F!?"F&cd}||r|jjnddz }|r|djd|Dz }|S|dz }|S)N_g_dbus_codegen_marshal_VOIDrr c3RK|]}|jj!ywr() gvalue_typer).0rs r z8CodeGenerator.generic_marshaller_name..w s#FA 3 3 567Fs%')rlrr!)r3rretrws rgeneric_marshaller_namez%CodeGenerator.generic_marshaller_names s]) c3??((*v>bAA  CHHFFF FD  FND rclt|tjtjfsJ|jsW|j syt |j dk(r2|j djr|j djS|j|j |jS)Ng_cclosure_marshal_VOID__VOIDrr) isinstancerSignalMethodmarshaller_ret_argmarshaller_in_argsr gclosure_marshallerrp)r3r6s r generic_marshaller_name_for_typez.CodeGenerator.generic_marshaller_name_for_type| s!i.. 0@0@ABBB##''6A(()Q.((+??++A.BBB++A,@,@!BVBVWWrc^|j|jzD]}|j|}|jdr|jj |A||jvrP|j ||j|j|jj |y)N g_cclosure_) rr{ryrraddrXrwrv)r3rr6marshaller_names rgenerate_generic_marshallersz*CodeGenerator.generate_generic_marshallers sQYY& 2A"CCAFO))-8  $$_5$"2"22  $ $!5!5q7K7K      1 2rclt|tjtjfsJt j |j jj}|jd|d|j}|j|}||jvsJ|j||y)Nr _marshal_) rsrrtrurr __class__rrryryrr^)r3rr6 kind_uscorerVr}s rgenerate_marshaller_for_typez*CodeGenerator.generate_marshaller_for_type s!i.. 0@0@ABBB001E1E1K1K1MN ||nAk])ALL>J ??B$"2"2222 ((ODrcJ|jD]}|j||yr()rrr s rgenerate_signal_marshallersz)CodeGenerator.generate_signal_marshallers % 4A  - -a 3 4rcJ|jD]}|j||yr()r{r)r3rrs rgenerate_method_marshallersz)CodeGenerator.generate_method_marshallers rrcX|jD ]}|jjd|jd|jd|jd|j D]*}|jjd|j z,|jdk\r|jjd|jr|jjd|jj|jjd |j d |j d |jd|jd |jd|jd d|j||jd|jjd|jd|jd|jd|j D]7}|jjd|jd|j 9|jdk\r|jjd|jr|jjd|jjd|jr|jjdn|jjd|jjd|j z|j D]*}|jjd|jz,|jjd|j D]*}|jjd|j z,|jjd|jdk\r|jjdn|jjd |jr|jjd!|jjd"|jjd#|jjd|jd|jd$|jd|jD]I}|jjd%|j d&|jrd'|jznd(d)K|jr|jjd*|jj|jjd+|jd|jd,|jd|jd- d|j||jd|jjd.|jd|jd/|jd|jD]7}|jjd|j d0|j 9|jr|jjd1|jjd2|jr|jjd3n|jjd4|jjd5|jjd6|jD]*}|jjd|j"z,|jjd|jD]*}|jjd7|j z,|jjd8|jjd9|jjd|jd|jd:|jd|j D]*}|jjd|j z,|jdk\r|jjd|jr|jjd|jD]I}|jjd%|j d&|jrd'|jznd(d)K|jr|jjd;|jj|jjd<|j d |j d=|jd|jd> d|j||jd|jjd.|jd|jd?|jd|j D]7}|jjd|jd|j 9|jdk\r|jjd|jr|jjd@|jD]7}|jjd|j d0|j 9|jr|jjd1|jjdA|jr|jjdBn|jjdC|jjd|j z|j D]*}|jjd|jz,|jjd|j D]*}|jjd|j z,|jjd|jdk\r|jjdn|jjd |jr|jjdD|jjdE|jjd6|jD]*}|jjd|j"z,|jjd|jD]*}|jjd7|j z,|jjd8|jjd9 y)FNrr^z: * @proxy: A #Proxy. z9 * @arg_%s: Argument to pass with the method invocation. r`a6 * @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 r+z() 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. FrrLrZr_rMrNrcrLz], 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 ("(rT)", arg_%srbz" call_flags, timeout_msec, z$ G_DBUS_CALL_FLAGS_NONE, -1, z fd_list, z/ cancellable, callback, user_data); r@z_finish: * @proxy: A #z * @out_z: (out) (optional)rGr z;: Return location for return parameter or %NULL to ignore. zZ * @out_fd_list: (out) (optional): 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 rdrerfzA, 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 #zE * @out_fd_list: (out): 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. rgrhzI, 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; )r{r2r:ryrzr~rwr/r}rrrr format_inrarray_annotationr format_outr3rrrs rgenerate_method_callsz#CodeGenerator.generate_method_calls s/  PA LL  /0llALL!,,X  YY  ""Pvv  %%0 ""D yy ""I LL    ''    "% ,  < |jjd?d}|jjd@k(s2|jjdAk(s|jjdBk(rdC}|r(|jjdD|jz|jjdE|jz|jj dFk(rS|jjdG|jjdH|jjdIn|jjdJdK}|jjdLk(sK|jjd@k(s2|jjdAk(s|jjdBk(rdM}|jjdN|jjdO|d2|r(|jjdP|jz|jjdQ|jjdR|jjdS|jjdT|jjd+|jjdU|j dV|jdW|j dX|jd|jdY|jdZ|j d[|jjdU|j d\|jd]|j d^|j d_|j d`|j da|j dbt|jdkDr(|jjdc|j z|jjdd|jz|jjd$|jjdU|j d |jdet|jdk(r|jjdfn|jjdg|jjdh|jD]E}|jjdi|j dj|j d:|j d?G|jjd$|jj|jjd|j dk|jdl|j dm|j dn d|j ||jd|jjdo|j dp|jd|jdq|jdr |jjd|j ds|j dt|j du|jdv |j ||jd|jj|jdw|j dx|j|jdy|jj|jjd|j dz|jd{|j d||jdv d|j ||jd|jj|jdw|j d}|jd|jd~|jd|j|jdy |jjd|jj|jjd|j d|j d|j d|j d d|j ||jd|jjdo|j d|jd|jd|jdr |jjd|j d|j d|j d|jdv |j ||jd|jj|jdw|j d|j|jdy|jj|jjd|j d|j d|j d|jdv d|j ||jd|jj|jdw|j d|jd|jd|jd|j|jdy |jjdy)NP/* ------------------------------------------------------------------------ */ rzProxy: * * The #z_Proxy structure contains only private data and should only be accessed using the provided API. Frr8zKProxyClass: * @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 (rDr7z_proxy_iface_init)) #else rWz2static void %s_proxy_finalize (GObject *object) { rQzProxy *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); r@zkstatic 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, r[z/ 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_rErJz(_PROXY (object); GVariant *variant; zvalue = rHg_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"); r/z 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 } rKrIr&z _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, rmzPProxyPrivate); #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 r'r(r)rJ 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. rLa$_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", ")r2r:rrrzrryrrxr rrwrrrM gvariant_getrA)r3rrfree_container extra_lens rgenerate_proxyzCodeGenerator.generate_proxy s1       # # << /     88DLL!L 4      # # 9: all T     88DLL!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 6H %A 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 $QH %V        %  , "       -  4 q|| q LL  BallS   ,, ( :& 56\\1<< Q  q||  ! LL  2 3 LL  u % 5! A LL  <<q||=   :&     # #"<<q||!E"%  , 88DLL!L LL!**allAFF D  ||Q\\1<< G  88DLL!L  LL!,, ALL J $     # #"<<q||!E"%  , 88DLL!L &      1  8 4      # #"<<q||Q\\!K"%  , 88DLL!L LL!**allAFF D  ||Q\\1<< G  88DLL!L  LL!,, ALL J $     # #"<<q||Q\\!K"%  , 88DLL!L &      1  8 4 rc"+|jjd|jj|jjd|jd|jdd|j ||jd|jjd|jj|jjd|jd|jd d|j ||jd|jjd|jjd |jz|jjd |j d |jd |j|jd|jjd|jjd|jd|jd|jjd|jjd|jd|jd|jjd|jjd|jjd|jjd|j d|jd |j|jd|jjd|j z|jjd|j d|jd |j|jd|jjd |j z|jjd!|j d"|j d#|j d$|j d% |jjd&|j d'|j d(|jjd|jjd)|j d*|j d+|jjd|jjd,|j d-|jd |j|jd.|jjd/|j d0|j d1|j d2|j d3|jd4 t|jdkDr(|jjd5|j z|jjd6|j zt|jdk(r|jjd7n|jjd8|jjd9t|jdkDrO|jjd:|jd |j|jd;|j d<|jjd|jD]}|jjd |j d=|j d>|jd?|jD]7}|jjd@|jdA|j9|jjdB|jd |j|jdC|jjdD|jD]*}|jjdE|jz,|jjdF|jD]*}|jjdG|jz,|jjdH|jjdI|jdJ|jdK|jjdL|jjdM|jjd|jjdN|j dO|jdP|jjdQ|jjdR|jdS|j dT|jjdU|jz|jjdV|jd|jdW|j dX|jjdY|jjdR|jdS|j dT|jjdV|jd|jdW|j dX|jjdZ|jjd[|j z|jjd:|jd |j|jd\t|jdkDrL|jjd]t|jz|jjd^|jjd_|jjd`|jjda|jjdb|jjdc|jjdd|j zt|jdkDr|jjde|j z|jjdf|j|j|jt|jfz|jjd|jjd|j dg|jd |j|jdh|jjdi|jz|jjd_|jjdj|jjdk|jjdl|jjdm|jjd |j dn|jdo|jjdp|jjdq|j dr|jd |j|jds|j dt|j du |jjdv|j z|jjdw|j|j|jt|j|j |j fz|jjd|jjdq|j dx|jdy|j dz|jd|jd{|jd| |jjd}|jjd~t|jdkDr}|jjdt|jzd}|jD];}|jjd||j j"fz|dz }=|jjdd}|jD]>}|jjd|j jd|j d|j d|jd |jjd:|jd |j|jd\|jjd|j j$|j j&|fz|jjd|jjd|jjd|dz }A|jjdq|j d|jd|j dt|jdkDrk|jjd|j d|j d|j d|jjd|j z|jjd|jjd|j z|jjd|j z|jjd|j z|jjd|j z|jjd|jz|jjd|jjdq|j dO|jdt|jdk(r4t|jdk(r|jjd7n|jjd8|jjd9|jD]E}|jjd|j d|j d=|j dG|jD]E}|jjd|j d|j d|j dG|jjd|jj|jjd|j d|jd|jdd|j ||jd|jj|jd|j d|j|jd|jd|jd y)NrrzSkeleton: * * The #zbSkeleton structure contains only private data and should only be accessed using the provided API. Frr8zNSkeletonClass: * @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], rDa); 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); } rr[ae 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); r@zstatic 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); zm GVariantBuilder builder; guint n; g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 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 *_skeletonr(r)rJrQa_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_rZr]rMrNz) { 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 ("(rTrrrz 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)), "r0z(", 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, G_TYPE_DBUS_INTERFACE_SKELETON, z4 G_ADD_PRIVATE (%sSkeleton) rr7z_skeleton_iface_init)) rrWz5static 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> if (skeleton->priv->changed_properties_idle_source != NULL) zG g_source_destroy (skeleton->priv->changed_properties_idle_source); 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); g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 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); } } r&zO_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, rpzSkeletonPrivate); #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_rErHz %svalue; g_mutex_lock (&skeleton->priv->lock); value = %s (&(skeleton->priv->properties[%d])); g_mutex_unlock (&skeleton->priv->lock); rKrIz_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 r'z iface->z = _rHrrzH_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)); } )r2r:rrrzrryrrxrwr rrrrrrrA ctype_in_gre)r3rrrrrs rgenerate_skeletonzCodeGenerator.generate_skeletons\       # # << /     88DLL!L 4      # # <=<< W     88DLL!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  2LL!,, allAFF1 T 8 q|| q LL   &   R||  q||  ! LL  2 3 LL  u % 5! q|| q LL  <<Q\\1<<I " :&& +A LL  %&LL!,, N  VV M "" AFF#KL M LL  <<Q\\ ;  LL  O VV 9 ""41;;#78 9 LL  t $VV N ""#AQVV#LM N LL  w ' LL  VVQVV -  LL  F G LL  T U LL  z *M& +P ||Q\\ + PQ ||Q\\ +   Cq|| T  zz1<< 7  9% ||Q\\ +  zz1<< 7  :&  \\ # ||QZZ 7  q|| q LL  Hq||$&  LL  I J  q   M   V  PQ GH  LL "  q|| q LL    '  LL  > <<Q\\3q||;LM N  LL  z * LL   <<qzz1<< I  LL  1bVVc1%3 h 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   88DLL!L         rc"|jjd|jj|jjd|jd|jd|jd|jd|jd d|jjd |jj|jjd |jd |jd d|jjd |jj|jjd |jd |jdd|jjd |jjd|jd|jd|jjd|jd|j d|jjd |jjd|j d|jd|j D]}|jj|jjd|jd|jd|jd|jd d|j||jdd}|jrd|z}|jjd |jd!|jd!|jd"|jd#|jd$|d% |jjd&|j D]Q}|jj|jjd |j d'|jjd(|jd)|jd*|jd+|jd, d|j||jd-|jj|jd.|j d'|jjd/|jd0|jjd1|jd2|j|jd3T|jjd |j D]_}|jj|jjd |j d4|jjd5|jd6|j d'|jjd7|jd8 d|j||jd-|jj|jd.|j d4|jjd/|jd0|jjd1|jd9|j|jd3b|jjd |jjd:|j z|jj|jjd |jd;|jd<d|jjd=|jjd |jj|jjd |jd>|jd?d|jjd=|jjd |jjd|j d@|j dA|jdB|jjd|j dC|j dD|j dE|jjd |jjdF|jdG|j dH|jdI|j d@|j dJ|j dK |jjd|j dL|jdM|jjdN|j z|jjd&|jjd|j dO|jdP|jdQdR}|j D]1}|jjdS||jfz|dRz }3|jjdT|jjd|j dU|jdV|j dW|j dX dR}|j D]1}|jjdY||jfz|dRz }3|jjd&|jj|jjdZ|j zd|jj|jd[|j d\|jd]|jd^|jj|jjd |jd_|jd`d|jjd=|jjd |jj|jjd |jda|jdbd|jjd=|jjd |jjd|j dc|j dA|jdB|jjd |jjd|j dd|j dD|j dE|jjdF|jde|j df|jdI|j dc|j dJ|j dg |jjd|j dh|jdi|jjd|j dj|jdk|jdldR}|j D]G}|jjdm||j|j|jfz|dRz }I|jjdT|jjd|j dn|jdk|jdodR}|j D]1}|jjdS||jfz|dRz }3|jjdT|jjd|j dp|jdq|j dr|j ds dR}|j D]1}|jjdY||jfz|dRz }3|jjd&|jj|jjdt|j zd|jj|jdu|j dv|jdw|jdx|j D]8}|jj|jjd |j dy|jjd(|jdz|jd{|jd*|jd| d|j||jd-|jjd}|j dy|jjd/|jd~|jd |jjd|jz;|jjd y)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. */ Fr8rzObject: * * The #z:Object type is a specialized container of interfaces. */ zRObjectIface: * @parent_iface: The parent interface. * * Virtual table for the #zObject interface. */ r%rrzObjectInterface; zG_DEFINE_INTERFACE_WITH_CODE (zObject, zbobject, G_TYPE_OBJECT, g_type_interface_add_prerequisite (g_define_type_id, G_TYPE_DBUS_OBJECT);) r&zobject_default_init (zObjectIface *iface) { r*zObject: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. rar>r?zD g_object_interface_install_property (iface, g_param_spec_object ("r0z", rDr7z)); r@rsrPzObject. * * 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. rrorEzObject *object) zW{ GDBusInterface *ret; ret = g_dbus_object_get_interface (G_DBUS_OBJECT (object), "z1"); if (ret == NULL) return NULL; return z (ret); } rtrGzObject. * * 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 (rqzWobject_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)); } ruz/ObjectSkeleton. * @interface_: (nullable): A #z2 or %NULL to clear the interface. * * Sets the #z on @object. rXrvz *interface_) zA{ g_object_set (G_OBJECT (object), "%s", interface_, NULL); } )r2r:rrrrr)rrzrwrrrrxr)r3rrrs rgenerate_objectzCodeGenerator.generate_objectsI         # #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  166{ #  FA     MM4>>4==$-- Q   A LL  1==)*  FA   :&     # # ==*   NNDMM4==$-- Q      # # >>4>> 3     7# 4      # # >>4>> 3    7# 4   MM4==$..  B  4  MM4==$--  A            MM4>>  3    G   A LL   4==!,,? @  FA! "      G   A LL  166{ #  FA     MM4>>4==$-- Q   A LL  1==)*  FA   :&     # # ==*   NNDMM4==$--  Q  A LL    ''  **,    &  < 4 rc >|jjd|jj|jjd|jd|jd|j dd|jjd|jj|jjd|jd |jd d|jjd |jjd|jj|jjd|jd |jd d|jjd |jjd|jjd|jd|j d|jjd|j d|jd|jjd|j d|jd|jj|jjd|j d|jdd|jjd |jjd|j z|jjd|j z|jD]E}|jjd|jd|j d|jdG|jjd|jjd|jjd |jj|jjd|j d!|j d"|j d#|j d$ d|jjd |jjd%|j d&|j d'|j d(|jjd|j d)|j d*|j d+|jd, |jjd |jjd-|j z|jj|jjd|j d.|j d/|j d0|jd, d|jjd |jjd1|j d2|j d3|j d4|jjd|jj|jjd|j d5|j d6|j d7|j d8 d|jjd |jjd%|j d9|j d:|j d(|jjd|j d;|j d<|j d=|jd, |jjd |jjd>|j z|jj|jjd|j d?|j d@|j dA|jd, d|jjd |jjd1|j dB|j dC|j d4|jjdy)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. */ Fr8rz 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) r&zobject_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) (rDz _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. rLaOobject_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", ) r2r:rrrrrr)rwrxrs rgenerate_object_manager_clientz,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|jdkDr#|jd|d|d|jfz|jrt |t j rd}nqt |t jrd}nTt |t jrd}n7t |t jrd}ntdj||j|jjd |d|dfzd |jd |dfzy) Nrz%*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 */ )r r|r:rrsr InterfacerurtPropertyrr<rr)r3objfindentthings rrz9CodeGenerator.write_gtkdoc_deprecated_and_since_and_closes syy>A  GG1VRSYY4WW X >>#y223-C!1!12*C!1!12*C!3!34,7>>sCD GG  ''Br62u56    fb\)*rc ^|jjd|jz|jj|jj d|j d|j d|jd|jd d|jjdy) 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. */ Fr8)r2r:rwrrrzrs rgenerate_interface_introz&CodeGenerator.generate_interface_intro4s  FF        # #<<qvvqvv G   4 rc||j|jD]}|j||jD]}|j||j ||j ||j ||j||j||j||j||j||j||j||j||jr!|j!|j#yyr()rr)r~rr r rrrErNrQrrrrr*rrrs rrzCodeGenerator.generateKs ##% 1A  - -a 0 1 &A  ) )! ,  4 4Q 7  5 5a 8  , ,Q /  , ,Q /  # #A &  , ,Q /  ) )! ,  & &q )  + +A .    "  " "1 % &  # #  "  / / 1 $rr()FFF)rrrr4rrrr r rErNrQrXr^rTrUrpryr~rrrrrrrrrrrrrrrrrs!2g R(T$7L B!LG'V O%f%+R' ' BG  ;=d:x,.4 X 2E44 @PH:+|_ !FC  Nf!PU!r +4!.2rrN) r rrrrr;rr$r&rrrrrrrsW0 $" m)m)fH)H)\VVx z>2z>2r