mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Updates for 10.5 API changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27962 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
845a701069
commit
24d43481a8
138 changed files with 2094 additions and 1536 deletions
|
@ -26,11 +26,11 @@
|
|||
object: (NSString*)object
|
||||
userInfo: (NSData*)info
|
||||
selector: (NSString*)aSelector
|
||||
to: (NSUInteger)observer;
|
||||
to: (uint64_t)observer;
|
||||
@end
|
||||
|
||||
@protocol GDNCProtocol
|
||||
- (void) addObserver: (NSUInteger)anObserver
|
||||
- (void) addObserver: (uint64_t)anObserver
|
||||
selector: (NSString*)aSelector
|
||||
name: (NSString*)notificationname
|
||||
object: (NSString*)anObject
|
||||
|
@ -45,7 +45,7 @@
|
|||
|
||||
- (void) registerClient: (id<GDNCClient>)client;
|
||||
|
||||
- (void) removeObserver: (NSUInteger)anObserver
|
||||
- (void) removeObserver: (uint64_t)anObserver
|
||||
name: (NSString*)notificationname
|
||||
object: (NSString*)anObject
|
||||
for: (id<GDNCClient>)client;
|
||||
|
|
14
Tools/gdnc.m
14
Tools/gdnc.m
|
@ -160,14 +160,14 @@ ihandler(int sig)
|
|||
object: (NSString*)object
|
||||
userInfo: (NSData*)info
|
||||
selector: (NSString*)aSelector
|
||||
to: (NSUInteger)observer;
|
||||
to: (uint64_t)observer;
|
||||
@end
|
||||
@implementation NSDistributedNotificationCenterGDNCDummy
|
||||
- (oneway void) postNotificationName: (NSString*)name
|
||||
object: (NSString*)object
|
||||
userInfo: (NSData*)info
|
||||
selector: (NSString*)aSelector
|
||||
to: (NSUInteger)observer
|
||||
to: (uint64_t)observer
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -246,7 +246,7 @@ ihandler(int sig)
|
|||
@interface GDNCObserver : NSObject
|
||||
{
|
||||
@public
|
||||
NSUInteger observer;
|
||||
uint64_t observer;
|
||||
NSString *notificationName;
|
||||
NSString *notificationObject;
|
||||
NSString *selector;
|
||||
|
@ -284,7 +284,7 @@ ihandler(int sig)
|
|||
NSMutableDictionary *observersForObjects;
|
||||
}
|
||||
|
||||
- (void) addObserver: (NSUInteger)anObserver
|
||||
- (void) addObserver: (uint64_t)anObserver
|
||||
selector: (NSString*)aSelector
|
||||
name: (NSString*)notificationName
|
||||
object: (NSString*)anObject
|
||||
|
@ -306,7 +306,7 @@ ihandler(int sig)
|
|||
|
||||
- (void) removeObserversForClients: (NSMapTable*)clients;
|
||||
|
||||
- (void) removeObserver: (NSUInteger)anObserver
|
||||
- (void) removeObserver: (uint64_t)anObserver
|
||||
name: (NSString*)notificationName
|
||||
object: (NSString*)notificationObject
|
||||
for: (id<GDNCClient>)client;
|
||||
|
@ -505,7 +505,7 @@ ihandler(int sig)
|
|||
return self;
|
||||
}
|
||||
|
||||
- (void) addObserver: (NSUInteger)anObserver
|
||||
- (void) addObserver: (uint64_t)anObserver
|
||||
selector: (NSString*)aSelector
|
||||
name: (NSString*)notificationName
|
||||
object: (NSString*)anObject
|
||||
|
@ -869,7 +869,7 @@ ihandler(int sig)
|
|||
}
|
||||
}
|
||||
|
||||
- (void) removeObserver: (NSUInteger)anObserver
|
||||
- (void) removeObserver: (uint64_t)anObserver
|
||||
name: (NSString*)notificationName
|
||||
object: (NSString*)notificationObject
|
||||
for: (id<GDNCClient>)client
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue