Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 88
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 218
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 219
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 220
3
\j @ s d dl mZmZmZ d dlZd dlZd dlZd dlZddlm Z ddl
mZmZ ddlm
Z
ddlm
Z
ddlmZ [[[G d d
d
eZG dd deZG d
d deZdd Zdd Zdd Zdd Zdd Zd%ddZe dd Zdd Zd&dd Zd!d" Zd#d$ ZdS )' )absolute_importprint_functionunicode_literalsN )gpgme)
errorcheck
GPGMEError) constants)errors)utilc s e Zd ZdZdd Z fddZdd Zdd Zd
d Ze dd
Z
e dd Zdd Ze
ZdddZejdZdd Z fddZ ZS )GpgmeWrapperz>Base wrapper class
Not to be instantiated directly.
c C s d | _ || _d S )N)_callback_excinfowrapped)selfr r /usr/lib64/python3.6/core.py__init__3 s zGpgmeWrapper.__init__c s dj tt| j | jS )Nz <{}/{!r}>)formatsuperr __repr__r )r ) __class__r r r 7 s zGpgmeWrapper.__repr__c sP dj t jjg} fdd jD }|r@|jdj dj| dj dj|S )Nz{}.{}c s g | ]}t |r|qS r )getattr).0f)r r r
= s z(GpgmeWrapper.__str__..z({}) z<{}>)r __name__r _boolean_propertiesappendjoin)r Zaccflagsr )r r __str__; s
zGpgmeWrapper.__str__c C s t t| jS )N)hashreprr )r r r r __hash__C s zGpgmeWrapper.__hash__c C s$ |d krdS t | jt |jkS d S )NF)r# r )r otherr r r __eq__F s zGpgmeWrapper.__eq__c C s
t dS )z]The name of the c type wrapped by this class
Must be set by child classes.
N)NotImplementedError)r r r r _ctypeL s zGpgmeWrapper._ctypec C s
t dS )zgThe common prefix of c functions wrapped by this class
Must be set by child classes.
N)r' )r r r r _cprefixU s zGpgmeWrapper._cprefixc C s
t dS )zMust be implemented by child classes.
This function must return a trueish value for all c functions
returning gpgme_error_t.N)r' )r namer r r _errorcheck^ s zGpgmeWrapper._errorcheckFNc s t tdj| j| t tdj| j| fdd}fdd}t||dj|d}t| j|| |rv|| t| n|| S d S ) Nz{}get_{}z{}set_{}c s t | jS )N)boolr )slf)get_funcr r getl s z1GpgmeWrapper.__wrap_boolean_property..getc s | j t| d S )N)r r, )r- value)set_funcr r set_o s z2GpgmeWrapper.__wrap_boolean_property..set_z{} flag)doc)r r r r) propertysetattrr r, )r keyZdo_setr0 r/ r2 pr )r. r1 r Z__wrap_boolean_propertyh s z$GpgmeWrapper.__wrap_boolean_propertyz$gpgme_([^(]*)\(([^,]*), (.*\) -> .*)c s |d dksj dkrdS |jkr.j|S j | ttjr\fdd nfdd jjdtd}| _t j
| fd d
}||_|S )z7On-the-fly generation of wrapper methods and propertiesr _Nc s* | j f| }| jr tj| t|S )N)r r
r gpg_raise_callback_exceptionr )r- argsresult)funcr* r r _funcwrap s
z+GpgmeWrapper.__getattr__.._funcwrapc s$ | j f| }| jr tj| |S )N)r r
r r9 )r- r: r; )r<