14 #ifndef NS_RETURNS_INNER_POINTER
15 #define NS_RETURNS_INNER_POINTER
19 #import <objc/message.h>
23 "title" :
"VuoSyphonServerNotifier",
46 - (void)setNotificationObject:(
id)object method:(
SEL)method;
60 if (
self = [super
init])
76 [serversChangedObject release];
84 - (void)setNotificationObject:(
id)object method:(
SEL)method
95 - (void)serversChanged
108 -(void) syphonServerAnnounced:(NSNotification *)notif
110 [
self serversChanged];
116 -(void) syphonServerUpdated:(NSNotification *)notif
118 [
self serversChanged];
124 -(void) syphonServerRetired:(NSNotification *)notif
126 [
self serversChanged];
136 [[NSNotificationCenter defaultCenter] addObserver:self
137 selector:@selector(syphonServerAnnounced:)
138 name:SyphonServerAnnounceNotification
141 [[NSNotificationCenter defaultCenter] addObserver:self
142 selector:@selector(syphonServerUpdated:)
143 name:SyphonServerUpdateNotification
146 [[NSNotificationCenter defaultCenter] addObserver:self
147 selector:@selector(syphonServerRetired:)
148 name:SyphonServerRetireNotification
157 [[NSNotificationCenter defaultCenter] removeObserver:self name:SyphonServerAnnounceNotification object:nil];
158 [[NSNotificationCenter defaultCenter] removeObserver:self name:SyphonServerUpdateNotification object:nil];
159 [[NSNotificationCenter defaultCenter] removeObserver:self name:SyphonServerRetireNotification object:nil];
167 [serversChangedObject release];
189 return serverNotifier;
205 id object,
SEL method)