54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
[_roster removeDelegate: self];
[_delegates release];
[_contacts release];
[super dealloc];
}
- (void)addDelegate: (id <XMPPConnectionDelegate>)delegate
{
[_delegates addDelegate: delegate];
}
- (void)removeDelegate: (id <XMPPConnectionDelegate>)delegate
{
[_delegates removeDelegate: delegate];
}
- (OFDictionary*)contacts
{
OF_GETTER(_contacts, YES);
|
|
|
|
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
[_roster removeDelegate: self];
[_delegates release];
[_contacts release];
[super dealloc];
}
- (void)addDelegate: (id <XMPPContactManagerDelegate>)delegate
{
[_delegates addDelegate: delegate];
}
- (void)removeDelegate: (id <XMPPContactManagerDelegate>)delegate
{
[_delegates removeDelegate: delegate];
}
- (OFDictionary*)contacts
{
OF_GETTER(_contacts, YES);
|