17#import <objc/message.h>
21 "title" :
"VuoSyphonServerNotifier",
44- (void)setNotificationObject:(
id)object method:(
SEL)method;
58 if (
self = [super
init])
74 [serversChangedObject release];
82- (void)setNotificationObject:(
id)object method:(
SEL)method
106-(void) syphonServerAnnounced:(NSNotification *)notif
108 [
self serversChanged];
114-(void) syphonServerUpdated:(NSNotification *)notif
116 [
self serversChanged];
122-(void) syphonServerRetired:(NSNotification *)notif
124 [
self serversChanged];
134 [[NSNotificationCenter defaultCenter] addObserver:self
135 selector:@selector(syphonServerAnnounced:)
136 name:SyphonServerAnnounceNotification
139 [[NSNotificationCenter defaultCenter] addObserver:self
140 selector:@selector(syphonServerUpdated:)
141 name:SyphonServerUpdateNotification
144 [[NSNotificationCenter defaultCenter] addObserver:self
145 selector:@selector(syphonServerRetired:)
146 name:SyphonServerRetireNotification
155 [[NSNotificationCenter defaultCenter] removeObserver:self name:SyphonServerAnnounceNotification object:nil];
156 [[NSNotificationCenter defaultCenter] removeObserver:self name:SyphonServerUpdateNotification object:nil];
157 [[NSNotificationCenter defaultCenter] removeObserver:self name:SyphonServerRetireNotification object:nil];
165 [serversChangedObject release];
187 return serverNotifier;
203 id object,
SEL method)