HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/dbus/__pycache__/gi_service.cpython-310.pyc
o

�t3b�
�@sfdZdgZddlmZddlZGdd�dejjejj�Z	ddd�Z
d	Ze	dejejjfe
ed
��Z
dS)z6Support code for implementing D-Bus services via PyGI.�ExportedGObject�)�GObjectNc@seZdZdZdd�ZdS)�ExportedGObjectTypez�A metaclass which inherits from both GObjectMeta and
    `dbus.service.InterfaceType`. Used as the metaclass for `ExportedGObject`.
    cCs,tjj�||||�tjj�||||�dS)N)r�	__class__�__init__�dbus�service�
InterfaceType)�cls�name�basesZdct�r
�1/usr/lib/python3/dist-packages/dbus/gi_service.pyr.szExportedGObjectType.__init__N)�__name__�
__module__�__qualname__�__doc__rr
r
r
rr*srcKsX|�dd�}|�dd�}|dur|�|�tjj|fi|��tjjj||||d�dS)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�updaterrrr�Object)�selfrr�kwargsrrr
r
r�ExportedGObject__init__3s

�rz'
A GObject which is exported on D-Bus.
)rr)NN)r�__all__Z
gi.repositoryrZdbus.servicerrrr	rrZExportedGObject__doc__rrr
r
r
r�<module>s
	��