
    	z]                         d Z dgZddlmZ ddlZ G d dej        j        ej        j                  Z	d
dZ
dZ e	dej        ej        j        fe
ed	          ZdS )z6Support code for implementing D-Bus services via PyGI.ExportedGObject    )GObjectNc                       e Zd ZdZd ZdS )ExportedGObjectTypezA metaclass which inherits from both GObjectMeta and
    `dbus.service.InterfaceType`. Used as the metaclass for `ExportedGObject`.
    c                     t           j         j                            | |||           t          j        j                            | |||           d S )N)r   	__class____init__dbusserviceInterfaceType)clsnamebasesdcts       1/usr/lib/python3/dist-packages/dbus/gi_service.pyr	   zExportedGObjectType.__init__.   sF    !**3eSAAA"++CucBBBBB    N)__name__
__module____qualname____doc__r	    r   r   r   r   *   s2         C C C C Cr   r   c                 
   |                     dd          }|                     dd          }||                    |           t          j        j        | fi | t          j        j                            | |||           dS )a:  Initialize an exported GObject.

    :Parameters:
        `conn` : dbus.connection.Connection
            The D-Bus connection or bus
        `object_path` : str
            The object path at which to register this object.
    :Keywords:
        `bus_name` : dbus.service.BusName
            A bus name to be held on behalf of this object, or None.
        `gobject_properties` : dict
            GObject properties to be set on the constructed object.

            Any unrecognised keyword arguments will also be interpreted
            as GObject properties.
        bus_nameNgobject_properties)connobject_pathr   )popupdater   r	   r
   r   Object)selfr   r   kwargsr   r   s         r   ExportedGObject__init__r"   3   s    " zz*d++H$8$??%()))OT,,V,,,L  D-8*2 ! 4 4 4 4 4r   z'
A GObject which is exported on D-Bus.
)r	   r   )NN)r   __all__gi.repositoryr   dbus.servicer
   r   r   r   r   r"   ExportedGObject__doc__r   r   r   r   r   <module>r'      s    < <4 
 ! ! ! ! ! !    C C C C C'/3T\5O C C C4 4 4 46  &%_dl)*(&  r   