mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 20:26:42 +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
0b528e776c
commit
30cf8bf35b
138 changed files with 2094 additions and 1536 deletions
|
@ -1,5 +1,5 @@
|
|||
/**
|
||||
Copyright (C) 1998-2003 Free Software Foundation, Inc.
|
||||
Copyright (C) 1998-2009 Free Software Foundation, Inc.
|
||||
|
||||
Written by: Richard Frith-Macdonald <richard@brainstorm.co.uk>
|
||||
Created: October 1998
|
||||
|
@ -55,7 +55,7 @@
|
|||
object: (NSString*)object
|
||||
userInfo: (NSData*)info
|
||||
selector: (NSString*)aSelector
|
||||
to: (NSUInteger)observer;
|
||||
to: (uint64_t)observer;
|
||||
@end
|
||||
|
||||
/**
|
||||
|
@ -339,12 +339,12 @@ static NSDistributedNotificationCenter *netCenter = nil;
|
|||
NS_DURING
|
||||
{
|
||||
[self _connect];
|
||||
[(id<GDNCProtocol>)_remote addObserver: (NSUInteger)anObserver
|
||||
selector: NSStringFromSelector(aSelector)
|
||||
name: notificationName
|
||||
object: anObject
|
||||
suspensionBehavior: suspensionBehavior
|
||||
for: (id<GDNCClient>)self];
|
||||
[(id<GDNCProtocol>)_remote addObserver: (uint64_t)anObserver
|
||||
selector: NSStringFromSelector(aSelector)
|
||||
name: notificationName
|
||||
object: anObject
|
||||
suspensionBehavior: suspensionBehavior
|
||||
for: (id<GDNCClient>)self];
|
||||
}
|
||||
NS_HANDLER
|
||||
{
|
||||
|
@ -465,10 +465,10 @@ static NSDistributedNotificationCenter *netCenter = nil;
|
|||
NS_DURING
|
||||
{
|
||||
[self _connect];
|
||||
[(id<GDNCProtocol>)_remote removeObserver: (NSUInteger)anObserver
|
||||
name: notificationName
|
||||
object: anObject
|
||||
for: (id<GDNCClient>)self];
|
||||
[(id<GDNCProtocol>)_remote removeObserver: (uint64_t)anObserver
|
||||
name: notificationName
|
||||
object: anObject
|
||||
for: (id<GDNCClient>)self];
|
||||
}
|
||||
NS_HANDLER
|
||||
{
|
||||
|
@ -519,7 +519,7 @@ static NSDistributedNotificationCenter *netCenter = nil;
|
|||
* in the source where the '@protocol()' directive is used.
|
||||
*/
|
||||
@interface NSDistributedNotificationCenterDummy : NSObject <GDNCProtocol>
|
||||
- (void) addObserver: (NSUInteger)anObserver
|
||||
- (void) addObserver: (uint64_t)anObserver
|
||||
selector: (NSString*)aSelector
|
||||
name: (NSString*)notificationname
|
||||
object: (NSString*)anObject
|
||||
|
@ -531,7 +531,7 @@ static NSDistributedNotificationCenter *netCenter = nil;
|
|||
deliverImmediately: (BOOL)deliverImmediately
|
||||
for: (id<GDNCClient>)client;
|
||||
- (void) registerClient: (id<GDNCClient>)client;
|
||||
- (void) removeObserver: (NSUInteger)anObserver
|
||||
- (void) removeObserver: (uint64_t)anObserver
|
||||
name: (NSString*)notificationname
|
||||
object: (NSString*)anObject
|
||||
for: (id<GDNCClient>)client;
|
||||
|
@ -541,7 +541,7 @@ static NSDistributedNotificationCenter *netCenter = nil;
|
|||
@end
|
||||
|
||||
@implementation NSDistributedNotificationCenterDummy
|
||||
- (void) addObserver: (NSUInteger)anObserver
|
||||
- (void) addObserver: (uint64_t)anObserver
|
||||
selector: (NSString*)aSelector
|
||||
name: (NSString*)notificationname
|
||||
object: (NSString*)anObject
|
||||
|
@ -559,7 +559,7 @@ static NSDistributedNotificationCenter *netCenter = nil;
|
|||
- (void) registerClient: (id<GDNCClient>)client
|
||||
{
|
||||
}
|
||||
- (void) removeObserver: (NSUInteger)anObserver
|
||||
- (void) removeObserver: (uint64_t)anObserver
|
||||
name: (NSString*)notificationname
|
||||
object: (NSString*)anObject
|
||||
for: (id<GDNCClient>)client
|
||||
|
@ -804,7 +804,7 @@ static NSDistributedNotificationCenter *netCenter = nil;
|
|||
object: (NSString*)object
|
||||
userInfo: (NSData*)info
|
||||
selector: (NSString*)aSelector
|
||||
to: (NSUInteger)observer
|
||||
to: (uint64_t)observer
|
||||
{
|
||||
id userInfo;
|
||||
NSNotification *notification;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue