o
    \c                     @   s8   d dl m Z d dlmZ d dlmZ G dd deZdS )    )gettext)AppletPlugin)
BluezAgentc                   @   sB   e Zd ZedZdZdZdgZdZdddZ	d	e
ddfd
dZdS )	AuthAgentz:Provides passkey, authentication services for BlueZ daemonzblueman-pair-symbolicWalmis
StatusIconNreturnc                 C   s   | j r| j   d | _ d S d S N)_agentunregister_agent)self r   B/usr/lib/python3/dist-packages/blueman/plugins/applet/AuthAgent.py	on_unload   s   

zAuthAgent.on_unloadstatec                 C   s$   |rt  | _| j  d S d | _d S r	   )r   r
   register_agent)r   r   r   r   r   on_manager_state_changed   s   
z"AuthAgent.on_manager_state_changed)r   N)__name__
__module____qualname_____description____icon__
__author____depends__r
   r   boolr   r   r   r   r   r      s    
r   N)r   r   blueman.plugins.AppletPluginr   blueman.main.applet.BluezAgentr   r   r   r   r   r   <module>   s    