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:
rfm 2009-02-23 20:42:32 +00:00
parent 0b528e776c
commit 30cf8bf35b
138 changed files with 2094 additions and 1536 deletions

View file

@ -73,11 +73,12 @@ extern "C" {
}
</example>
*/
typedef enum {
enum {
NSPostWhenIdle = 1,
NSPostASAP = 2,
NSPostNow = 3
} NSPostingStyle;
};
typedef NSUInteger NSPostingStyle;
/**
* Enumeration of possible ways to combine notifications when dealing with
@ -90,11 +91,12 @@ typedef enum {
}
</example>
*/
typedef enum {
enum {
NSNotificationNoCoalescing = 0,
NSNotificationCoalescingOnName = 1,
NSNotificationCoalescingOnSender = 2,
} NSNotificationCoalescing;
};
typedef NSUInteger NSNotificationCoalescing;
/*
* NSNotificationQueue class
@ -121,14 +123,14 @@ struct _NSNotificationQueueList;
/* Inserting and Removing Notifications From a Queue */
- (void) dequeueNotificationsMatching: (NSNotification*)notification
coalesceMask: (unsigned int)coalesceMask;
coalesceMask: (NSUInteger)coalesceMask;
- (void) enqueueNotification: (NSNotification*)notification
postingStyle: (NSPostingStyle)postingStyle;
- (void) enqueueNotification: (NSNotification*)notification
postingStyle: (NSPostingStyle)postingStyle
coalesceMask: (unsigned int)coalesceMask
coalesceMask: (NSUInteger)coalesceMask
forModes: (NSArray*)modes;
@end