mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Tidied gdnc - many buggfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3183 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e4906a1239
commit
7fb0a5ae2c
3 changed files with 64 additions and 45 deletions
22
Tools/gdnc.h
22
Tools/gdnc.h
|
@ -24,26 +24,26 @@
|
|||
#define GDNC_SERVICE @"GDNCServer"
|
||||
|
||||
@protocol GDNCClient
|
||||
- (void) postNotificationName: (NSString*)name
|
||||
object: (NSString*)object
|
||||
userInfo: (NSData*)info
|
||||
selector: (SEL)aSelector
|
||||
to: (unsigned long)observer;
|
||||
- (oneway void) postNotificationName: (NSString*)name
|
||||
object: (NSString*)object
|
||||
userInfo: (NSData*)info
|
||||
selector: (NSString*)aSelector
|
||||
to: (unsigned long)observer;
|
||||
@end
|
||||
|
||||
@protocol GDNCProtocol
|
||||
- (void) addObserver: (unsigned long)anObserver
|
||||
selector: (SEL)aSelector
|
||||
selector: (NSString*)aSelector
|
||||
name: (NSString*)notificationname
|
||||
object: (NSString*)anObject
|
||||
suspensionBehavior: (NSNotificationSuspensionBehavior)suspensionBehavior
|
||||
for: (id<GDNCClient>)client;
|
||||
|
||||
- (void) postNotificationName: (NSString*)notificationName
|
||||
object: (NSString*)anObject
|
||||
userInfo: (NSData*)d
|
||||
deliverImmediately: (BOOL)deliverImmediately
|
||||
for: (id<GDNCClient>)client;
|
||||
- (oneway void) postNotificationName: (NSString*)notificationName
|
||||
object: (NSString*)anObject
|
||||
userInfo: (NSData*)d
|
||||
deliverImmediately: (BOOL)deliverImmediately
|
||||
for: (id<GDNCClient>)client;
|
||||
|
||||
- (void) registerClient: (id<GDNCClient>)client;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue