summaryrefslogtreecommitdiff
path: root/plugins/test.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-04-27 20:50:00 +0200
committermathieui <mathieui@mathieui.net>2012-04-27 20:50:00 +0200
commit8c5faa91f293826c1a429c9e3e2cfd6ca01c8a03 (patch)
tree2ac0d767c7754e30a48f5b6495ddf1ffdf4a6675 /plugins/test.py
parent527e582fb09d8ed6070bd3c15f840b98bfbb71fc (diff)
downloadpoezio-8c5faa91f293826c1a429c9e3e2cfd6ca01c8a03.tar.gz
poezio-8c5faa91f293826c1a429c9e3e2cfd6ca01c8a03.tar.bz2
poezio-8c5faa91f293826c1a429c9e3e2cfd6ca01c8a03.tar.xz
poezio-8c5faa91f293826c1a429c9e3e2cfd6ca01c8a03.zip
New Contact and Resource class
Changed from Resource: - __init__() takes as a parameter a reference to the sleek dict - No more setters, information is directly taken from the sleek roster Changed from Contact: - __init__() takes a sleek RosterItem for the contact - add_resource() → Ø - remove_resource() → Ø - get_resource_by_fulljid() → Ø - get_nb_resources() → __len__() - get_resource_by_fulljid() → __getitem__() or get() - No more setters, information is directly taken from the sleek roster
Diffstat (limited to 'plugins/test.py')
0 files changed, 0 insertions, 0 deletions