Package papyon :: Package event :: Module address_book

Source Code for Module papyon.event.address_book

 1  # -*- coding: utf-8 -*- 
 2  # 
 3  # Copyright (C) 2007 Johann Prieur <johann.prieur@gmail.com> 
 4  # 
 5  # This program is free software; you can redistribute it and/or modify 
 6  # it under the terms of the GNU General Public License as published by 
 7  # the Free Software Foundation; either version 2 of the License, or 
 8  # (at your option) any later version. 
 9  # 
10  # This program is distributed in the hope that it will be useful, 
11  # but WITHOUT ANY WARRANTY; without even the implied warranty of 
12  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
13  # GNU General Public License for more details. 
14  # 
15  # You should have received a copy of the GNU General Public License 
16  # along with this program; if not, write to the Free Software 
17  # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
18  # 
19   
20  from papyon.event import BaseEventInterface 
21   
22  __all__ = ["AddressBookEventInterface"] 
23   
24 -class AddressBookEventInterface(BaseEventInterface):
25 - def __init__(self, client):
27
29 pass
30
31 - def on_addressbook_contact_deleted(self, contact):
32 pass
33
34 - def on_addressbook_contact_blocked(self, contact):
35 pass
36
37 - def on_addressbook_contact_unblocked(self, contact):
38 pass
39
40 - def on_addressbook_group_added(self, group):
41 pass
42
43 - def on_addressbook_group_deleted(self, group):
44 pass
45
46 - def on_addressbook_group_renamed(self, group):
47 pass
48
49 - def on_addressbook_group_contact_added(self, group, contact):
50 pass
51
52 - def on_addressbook_group_contact_deleted(self, group, contact):
53 pass
54