File: //lib/python3/dist-packages/twisted/words/im/__pycache__/basechat.cpython-310.pyc
o
�b@ � @ sT d Z ddlmZmZmZ G dd� d�ZG dd� d�ZG dd� d�ZG d d
� d
�ZdS )z.
Base classes for Instance Messenger clients.
� )�AWAY�OFFLINE�ONLINEc @ s8 e Zd ZdZdd� Zdd� Zdd� Zdd � Zd
d� ZdS )
�ContactsListah
A GUI object that displays a contacts list.
@ivar chatui: The GUI chat client associated with this contacts list.
@type chatui: L{ChatUI}
@ivar contacts: The contacts.
@type contacts: C{dict} mapping C{str} to a L{IPerson<interfaces.IPerson>}
provider
@ivar onlineContacts: The contacts who are currently online (have a status
that is not C{OFFLINE}).
@type onlineContacts: C{dict} mapping C{str} to a
L{IPerson<interfaces.IPerson>} provider
@ivar clients: The signed-on clients.
@type clients: C{list} of L{IClient<interfaces.IClient>} providers
c C s || _ i | _i | _g | _dS )zx
@param chatui: The GUI chat client associated with this contacts list.
@type chatui: L{ChatUI}
N)�chatui�contacts�onlineContacts�clients)�selfr � r �;/usr/lib/python3/dist-packages/twisted/words/im/basechat.py�__init__ s
zContactsList.__init__c C sp |j | jvr|| j|j <