%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/cupshelpers/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/cupshelpers/__pycache__/installdriver.cpython-312.pyc

�

�QDb�
��p�ddlZddlZddlZddlmZmZGd�dejj�Zd�Z	y)�N�)�_debugprint�set_debugprint_fnc�f�eZdZdZdZdZd�Zejjedd��d��Z
y)	�PrinterDriversInstallerz#/com/redhat/PrinterDriversInstallerz"com.redhat.PrinterDriversInstallerc���||_tjj|j|��}tjj
j
|||j�y)N)�bus)r	�dbus�service�BusName�DBUS_OBJ�Object�__init__�	DBUS_PATH)�selfr	�bus_names   �;/usr/lib/python3/dist-packages/cupshelpers/installdriver.pyrz PrinterDriversInstaller.__init__ sF������<�<�'�'����C�'�@�������$�$�d�H�d�n�n�E��sss)�
reply_handler�
error_handler)�in_signature�async_callbacksc
�L�tj�}|jdd�}tj|d�}d}	d|�d|�d�g}
d}t	d	t|	��d
t|
��d
t|��d��|j
tj|	�|
|||d�
�y)Nzorg.freedesktop.PackageKitz/org/freedesktop/PackageKitz!org.freedesktop.PackageKit.ModifyrzMFG:z;MDL:�;z
hide-finishedzCalling InstallPrinterDrivers (z, �)i)rr�timeout)r
�
SessionBus�
get_object�	Interfacer�repr�InstallPrinterDrivers�UInt32)r�mfg�mdl�cmdrrr	�obj�proxy�xid�	resources�interactions            r�InstallDriversz&PrinterDriversInstaller.InstallDrivers%s����o�o� ���n�n�:�;�=������%H�I����),�c�2�3�	�%����C�j�$�	�"2�D�+�4F�H�	I�
�#�#�T�[�[�#�%6�%.��3@�3@�-1�		$�	3rN)�__name__�
__module__�__qualname__r�
DBUS_IFACEr
rr
r�methodr,�rrrrsI��6�I�5�J�5�H�F�

�\�\����&+�*;��<�3�	<�3rrc��tj�}ddl}|jtj
tj�}tj|tj�}t|jddd��y)Nr�MFG�MDL�CMD)r
�	SystemBus�sysrrr
rr r0�printr,)r	r8r'r(s    r�client_testr::s_��
�.�.�
�C��

�.�.�1�:�:�1�;�;�=�C��N�N�C�!8�!C�!C�D�E�	�5�����u�5�6r)
r
�	dbus.glib�dbus.service�rrrrrr:r2rr�<module>r>s.��,���,�3�d�l�l�1�1�3�>7r

Zerion Mini Shell 1.0