+
    icw  c                   sv    ^ RI HtHt . ROt ! R R]4      t ! R R]4      t ! R R]4      t ! R	 R]4      tR
# )i    )get_dbus_pathget_dbus_nameDBusInterfaceIdentifierDBusObjectIdentifierDBusServiceIdentifierc                   sD   a  ] tR t^t o RtRR lt]R 4       tR tRt	V t
R# )DBusBaseIdentifierzA base identifier.Nc                sh    V'       d   . VOVN5pWn         \        V!  V n        \        V!  V n        R# )ztCreate an identifier.

:param namespace: a sequence of strings
:param basename: a string with the base name or None
N)
_namespacer   _namer    _path)self	namespacebasenames   &&&6/usr/lib/python3.14/site-packages/dasbus/identifier.py__init__ZDBusBaseIdentifier.__init__!   s3     .).X.I#"I.
"I.
    c                    V P                   # )zDBus namespace of this object.)r   r	      &r   r
   ZDBusBaseIdentifier.namespace.   s     r   c                r   z!Return the string representation.)r   r   r   r   __str__ZDBusBaseIdentifier.__str__3   s    zzr   )r   r   r   )N)__name__
__module____qualname____firstlineno____doc__r   propertyr
   r   __static_attributes____classdictcell__)__classdict__s   @r   r   r      s+     /   r   r   c                   sV   a a ] tR t^8t oRtRV 3R lltR t]R 4       tR t	Rt
VtV ;t# )r   zIdentifier of a DBus interface.c                s4   < \         SV `  WR7       W0n        R# )zDescribe a DBus interface.

:param namespace: a sequence of strings
:param basename: a string with the base name or None
:param interface_version: a version of the interface
)r   N)superr   _interface_version)r	   r
   r   interface_version	__class__s   &&&&r   r   Z DBusInterfaceIdentifier.__init__;   s     	6"3r   c                s$    Vf   R# \        V4      # )zQConvert version to a string.

:param version: a number or None
:return: a string
Z )Zstr)r	   Zversion   &&r   _version_to_stringZ*DBusInterfaceIdentifier._version_to_stringE   s     ?7|r   c                Z    V P                   V P                  V P                  4      ,           # )z Full name of the DBus interface.)r   r"   r   r   r   r   interface_nameZ&DBusInterfaceIdentifier.interface_nameP   s$     zzD33D4K4KLLLr   c                r   r   )r$   r   r   r   r   ZDBusInterfaceIdentifier.__str__U   s    """r   )r   NN)r   r   r   r   r   r   r"   r   r$   r   r   r   __classcell__r    r      @@r   r   r   8   s2     )4	 M M# #r   c                   sP   a a ] tR t^Zt oRtRV 3R llt]R 4       tR tRt	Vt
V ;t# )r   zIdentifier of a DBus object.c                s6   < \         SV `  WVR7       W@n        R# )zDescribe a DBus object.

:param namespace: a sequence of strings
:param basename: a string with the base name or None
:param interface_version: a version of the DBus interface
:param object_version: a version of the DBus object
)r   r   N)r   r   _object_version)r	   r
   r   r   object_versionr    s   &&&&&r   r   ZDBusObjectIdentifier.__init__]   s"     	+< 	 	>-r   c                r#   )zFull path of the DBus object.)r   r"   r)   r   r   r   object_pathZ DBusObjectIdentifier.object_pathj   s$     zzD33D4H4HIIIr   c                r   r   )r+   r   r   r   r   ZDBusObjectIdentifier.__str__o   s    r   )r)   )NNN)r   r   r   r   r   r   r   r+   r   r   r   r&   r'   r(   r   r   r   Z   s-     &. J J   r   c                   sv   a a ] tR t^tt oRtR
V 3R llt]R 4       t]R 4       tR t	R t
R tRR ltR	tVtV ;t# )r   zIdentifier of a DBus service.c                sD   < \         SV `  W#VVR7       W`n        Wn        R# )a=  Describe a DBus service.

:param message_bus: a message bus
:param namespace: a sequence of strings
:param basename: a string with the base name or None
:param interface_version: a version of the DBus interface
:param object_version: a version of the DBus object
:param service_version: a version of the DBus service
)r   r   r*   N)r   r   _service_version_message_bus)r	   message_busr
   r   r   r*   Zservice_versionr    s   &&&&&&&r   r   ZDBusServiceIdentifier.__init__w   s-     	+<(6 	 	8 !0'r   c                r   )zeMessage bus of the DBus service.

:return: a message bus
:rtype: an instance of the MessageBus class
)r-   r   r   r   r.   Z!DBusServiceIdentifier.message_bus   s        r   c                r#   )zFull name of a DBus service.)r   r"   r,   r   r   r   service_nameZ"DBusServiceIdentifier.service_name   s$     zzD33D4I4IJJJr   c                r   r   )r/   r   r   r   r   ZDBusServiceIdentifier.__str__   s       r   c                sj    Vf   V P                   # \        V\        4      '       d   VP                   # V# )zChoose an object path.)r+   
isinstancer   )r	   Z	object_idr!   r   _choose_object_pathZ)DBusServiceIdentifier._choose_object_path   s4    ###i!566(((r   c                sV    Vf   R# \        V\        4      '       d   VP                  # V# )zChoose an interface name.N)r0   r   r$   )r	   Zinterface_idr!   r   _choose_interface_nameZ,DBusServiceIdentifier._choose_interface_name   s+    l$;<<...r   c                s    V P                  V4      pV P                  V4      pV P                  P                  ! V P                  VV3/ VB # )a  Returns a proxy of the DBus object.

If no object path is specified, we will use the object path
of this DBus service.

If no interface name is specified, we will use none and create
a proxy from all interfaces of the DBus object.

:param object_path: an object identifier or a DBus path or None
:param interface_name: an interface identifier or a DBus name or None
:param bus_arguments: additional arguments for the message bus
:return: a proxy object
)r1   r2   r-   	get_proxyr/   )r	   r+   r$   Zbus_argumentss   &&&,r   r3   ZDBusServiceIdentifier.get_proxy   sV     ..{;44^D  **
 	
 	
r   )r-   r,   )NNNNr%   )r   r   r   r   r   r   r   r.   r/   r   r1   r2   r3   r   r   r&   r'   r(   r   r   r   t   sP     '(& ! ! K K!
 
r   N)r   r   r   )	Zdasbus.namespacer    r   Z__all__Zobjectr   r   r   r   ) r   r   <module>r4      sG   * : 4#0 #D 2  4S
0 S
r   