+
    ָVX  c                   s    ^ RI Ht ^RIHt ^ RIt ! R R]! R4      4      t ! R R]! R	4      4      t ! R
 R]4      t ! R R]4      t	R# )    )Gio)ExitableWithAliasesNc                   sB   a  ] tR t^t o ]P
                  tRtR tRt	V t
R# )	NameOwnerc                b   a \         P                  ! WW4V4      oV P                  V3R  l4       R# )c                  0   < \         P                  ! S 4      # N)r   Zbus_unown_nameid   5/usr/lib/python3.14/site-packages/pydbus/bus_names.py<lambda>Z$NameOwner.__init__.<locals>.<lambda>   s    **2.    N)r   Zbus_own_name_on_connection_at_exit)selfconnameflagsname_aquired_handlername_lost_handlerr      &&&&&&@r
   __init__ZNameOwner.__init__	   s%    
%%cN_`"--./r    N)__name__
__module____qualname____firstlineno__r   ZBusNameOwnerFlagsFlags	__slots__r   __static_attributes____classdictcell__Z__classdict__   @r
   r   r      s     			0 0r   r   Zunownc                   sB   a  ] tR t^t o ]P
                  tRtR tRt	V t
R# )NameWatcherc                r   )c                  r   r   )r   Zbus_unwatch_namer   r	   r
   r   Z&NameWatcher.__init__.<locals>.<lambda>   s    ,,R0r   N)r   Zbus_watch_name_on_connectionr   )r   r   r   r   name_appeared_handlername_vanished_handlerr   r   r
   r   ZNameWatcher.__init__   s%    
''5Qfg"--01r   r   N)r   r   r   r   r   ZBusNameWatcherFlagsr   r   r   r   r   r   r    r
   r!   r!      s     		 	 2 2r   r!   Zunwatchc                   sF   a  ] tR t^t o Rt]P                  tRR ltRt	V t
R# )OwnMixinNc                s   aa \         P                  ! R\        4       Se   V3R lMRpSe   V3R lMRp\        V P                  WWV4      # )a'  [DEPRECATED] Asynchronously aquires a bus name.

Starts acquiring name on the bus specified by bus_type and calls
name_acquired and name_lost when the name is acquired respectively lost.

To receive name_aquired and name_lost callbacks, you need an event loop.
https://github.com/LEW21/pydbus/blob/master/doc/tutorial.rst#setting-up-an-event-loop

Parameters
----------
name : string
        Bus name to aquire
flags : NameOwnerFlags, optional
name_aquired : callable, optional
        Invoked when name is acquired
name_lost : callable, optional
        Invoked when name is lost

Returns
-------
NameOwner
        An object you can use as a context manager to unown the name later.

See Also
--------
See https://developer.gnome.org/gio/2.44/gio-Owning-Bus-Names.html#g-bus-own-name
for more information.
z5own_name() is deprecated, use request_name() instead.Nc                    < S! 4       # r   r   )r   r   name_aquired   &&r
   r   #OwnMixin.own_name.<locals>.<lambda>8   s    LNr   c                 r%   r   r   )r   r   	name_lostr'   r
   r   r(   9   s    IKr   )warningsZwarnZDeprecationWarningr   r   )r   r   r   r&   r)   r   r      &&&ff  r
   own_nameZOwnMixin.own_name   sG    : --GI[\?K?W:]a?H?W7]a	488T*>	RRr   r   r    NN)r   r   r   r   r   r   r   ZNameOwnerFlagsr,   r   r   r   r    r
   r$   r$      s     //!S !Sr   r$   c                   sF   a  ] tR t^<t o Rt]P                  tRR ltRt	V t
R# )
WatchMixinNc                sd   aa Se   V3R lMRpSe   V3R lMRp\        V P                  WWV4      # )a  Asynchronously watches a bus name.

Starts watching name on the bus specified by bus_type and calls
name_appeared and name_vanished when the name is known to have a owner
respectively known to lose its owner.

To receive name_appeared and name_vanished callbacks, you need an event loop.
https://github.com/LEW21/pydbus/blob/master/doc/tutorial.rst#setting-up-an-event-loop

Parameters
----------
name : string
        Bus name to watch
flags : NameWatcherFlags, optional
name_appeared : callable, optional
        Invoked when name is known to exist
        Called as name_appeared(name_owner).
name_vanished : callable, optional
        Invoked when name is known to not exist

Returns
-------
NameWatcher
        An object you can use as a context manager to unwatch the name later.

See Also
--------
See https://developer.gnome.org/gio/2.44/gio-Watching-Bus-Names.html#g-bus-watch-name
for more information.
Nc                 s   < S! V4      # r   r   )r   r   Z
name_ownername_appeareds   &&&r
   r   'WatchMixin.watch_name.<locals>.<lambda>_   s
    z9Rr   c                 r%   r   r   )r   r   name_vanishedr'   r
   r   r0   `   s    r   )r!   r   )r   r   r   r/   r1   r"   r#   r+   r
   
watch_nameZWatchMixin.watch_name@   s9    > XeWpRvzWdWpHvz	TXXt,A	YYr   r   r-   )r   r   r   r   r   r!   r   ZNameWatcherFlagsr2   r   r   r   r    r
   r.   r.   <   s"     %%!Z !Zr   r.   )
Zgi.repositoryr   Zexitabler   r*   r   r!   Zobjectr$   r.   r   r   r
   <module>r3      sO     ) 0#G, 02%i0 2%Sv %SN%Z %Zr   