o
    \c                     @   s~   d dl m Z d dlmZmZ d dlmZ d dlmZ d dl	m
Z
 d dlmZmZ d dlmZ d dlmZ G d	d
 d
e
eZdS )    )gettext)CallableUnion)GLib)Service)AppletPlugin)NMPANConnectionNMConnectionError)ServiceConnectHandler)NetworkServicec                	   @   s   e Zd ZdgZdgZdZdZedZdZ	de
deg d	f d
eeeejf gd	f defddZde
deg d	f d
eeeejf gd	f defddZd	S )NMPANSupportDBusService
DhcpClientznetwork-workgroup-symbolicinfiritzTProvides support for Personal Area Networking (PAN) introduced in NetworkManager 0.8   serviceokNerrreturnc                 C   &   t |tsdS t|||}|  dS NFT)
isinstancer   r   activateselfr   r   r   conn r   E/usr/lib/python3/dist-packages/blueman/plugins/applet/NMPANSupport.pyservice_connect_handler   
   
z$NMPANSupport.service_connect_handlerc                 C   r   r   )r   r   r   
deactivater   r   r   r   service_disconnect_handler   r   z'NMPANSupport.service_disconnect_handler)__name__
__module____qualname____depends____conflicts____icon__
__author_____description____priority__r   r   r   r	   r   Errorboolr   r!   r   r   r   r   r      s"    

r   N)r   r)   typingr   r   gi.repositoryr   blueman.Servicer   blueman.plugins.AppletPluginr   blueman.main.NetworkManagerr   r	   "blueman.plugins.applet.DBusServicer
   blueman.services.metar   r   r   r   r   r   <module>   s    