Repository URL to install this package:
Version:
3.0.0 ▾
|
{ Parsed from Foundation.framework NSNotificationQueue.h }
{$ifdef TYPES}
{$ifndef NSNOTIFICATIONQUEUE_PAS_T}
{$define NSNOTIFICATIONQUEUE_PAS_T}
{ Constants }
const
NSPostWhenIdle = 1;
NSPostASAP = 2;
NSPostNow = 3;
const
NSNotificationNoCoalescing = 0;
NSNotificationCoalescingOnName = 1;
NSNotificationCoalescingOnSender = 2;
{ Types }
type
NSPostingStyle = NSUInteger;
NSPostingStylePtr = ^NSPostingStyle;
NSNotificationCoalescing = NSUInteger;
NSNotificationCoalescingPtr = ^NSNotificationCoalescing;
{$endif}
{$endif}
{$ifdef RECORDS}
{$ifndef NSNOTIFICATIONQUEUE_PAS_R}
{$define NSNOTIFICATIONQUEUE_PAS_R}
{$endif}
{$endif}
{$ifdef FUNCTIONS}
{$ifndef NSNOTIFICATIONQUEUE_PAS_F}
{$define NSNOTIFICATIONQUEUE_PAS_F}
{$endif}
{$endif}
{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSNOTIFICATIONQUEUE_PAS_S}
{$define NSNOTIFICATIONQUEUE_PAS_S}
{$endif}
{$endif}
{$ifdef FORWARD}
NSNotificationQueue = objcclass;
NSNotificationQueuePointer = ^NSNotificationQueue;
NSNotificationQueuePtr = NSNotificationQueuePointer;
{$endif}
{$ifdef CLASSES}
{$ifndef NSNOTIFICATIONQUEUE_PAS_C}
{$define NSNOTIFICATIONQUEUE_PAS_C}
{ NSNotificationQueue }
NSNotificationQueue = objcclass external (NSObject)
private
_notificationCenter: id;
_asapQueue: id;
_asapObs: id;
_idleQueue: id;
_idleObs: id;
public
class function defaultQueue: id; message 'defaultQueue';
function initWithNotificationCenter(notificationCenter: NSNotificationCenter): id; message 'initWithNotificationCenter:';
procedure enqueueNotification_postingStyle(notification: NSNotification; postingStyle: NSPostingStyle); message 'enqueueNotification:postingStyle:';
procedure enqueueNotification_postingStyle_coalesceMask_forModes(notification: NSNotification; postingStyle: NSPostingStyle; coalesceMask: NSUInteger; modes: NSArray); message 'enqueueNotification:postingStyle:coalesceMask:forModes:';
procedure dequeueNotificationsMatching_coalesceMask(notification: NSNotification; coalesceMask: NSUInteger); message 'dequeueNotificationsMatching:coalesceMask:';
end;
{$endif}
{$endif}