/usr/lib/python3/dist-packages/twisted/words/im/__pycache__
Edit: /usr/lib/python3/dist-packages/twisted/words/im/__pycache__/baseaccount.cpython-310.pyc (2383B)
o
¯b{ ã @ s G d d„ dƒZ dS )c @ sX e Zd ZdZdd„ Zdd„ Zdd„ Zdd „ Zd
d„ Zdd
„ Z dd„ Z
dd„ Zdd„ ZdS )ÚAccountManagera* I am responsible for managing a user's accounts.
That is, remembering what accounts are available, their settings,
adding and removal of accounts, etc.
@ivar accounts: A collection of available accounts.
@type accounts: mapping of strings to L{Account
}s.
c C s
i | _ d S ©N©Úaccounts©Úself© r ú>/usr/lib/python3/dist-packages/twisted/words/im/baseaccount.pyÚ__init__ s
zAccountManager.__init__c C s4 g }| j ¡ D ]}| |j| ¡ |j|jf¡ q|S )zÕA snapshot of all the accounts and their status.
@returns: A list of tuples, each of the form
(string:accountName, boolean:isOnline,
boolean:autoLogin, string:gatewayType)
)r ÚvaluesÚappendÚaccountNameÚisOnlineÚ autoLoginÚgatewayType)r ÚdataÚaccountr r r ÚgetSnapShot s üÿzAccountManager.getSnapShotc C s t | jƒdkS )Né )Úlenr r r r r ÚisEmpty) s zAccountManager.isEmptyc C s&