
    |~g                         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
e
e      Zy)    )gettext)CallableUnion)GLib)Service)AppletPlugin)NMDUNConnectionNMConnectionError)DIALUP_NET_SVCLASS_ID)ServiceConnectHandlerc            	           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Zde
deg d	f   d
eeeej                  f   gd	f   defdZy	)NMDUNSupportDBusService
PPPSupportzmodem-symbolicinfiritzRProvides support for Dial Up Networking (DUN) with ModemManager and NetworkManager   serviceokNerrreturnc                 f    t         |j                  k7  ryt        |||      }|j                          yNFT)r   
short_uuidr	   activateselfr   r   r   conns        E/usr/lib/python3/dist-packages/blueman/plugins/applet/NMDUNSupport.pyservice_connect_handlerz$NMDUNSupport.service_connect_handler   s-     G$6$66wC0    c                 f    t         |j                  k7  ryt        |||      }|j                          yr   )r   r   r	   
deactivater   s        r   service_disconnect_handlerz'NMDUNSupport.service_disconnect_handler   s.     G$6$66wC0r    )__name__
__module____qualname____depends____conflicts____icon__
__author_____description____priority__r   r   r   r
   r   Errorboolr   r#    r    r   r   r      s     /K!NMHJlmOLw HRX<N %-u5F

5R/S.TVZ.Z%[`d' xD?Q (0%8I4::8U2V1WY]1](^cgr    r   N)r   r+   typingr   r   gi.repositoryr   blueman.Servicer   blueman.plugins.AppletPluginr   blueman.main.NetworkManagerr	   r
   blueman.Sdpr   "blueman.plugins.applet.DBusServicer   r   r0   r    r   <module>r8      s,      "  # 5 J - D<!6 r    