Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fpc-src / usr / share / fpcsrc / 3.2.0 / packages / cocoaint / src / foundation / NSNotificationQueue.inc
Size: Mime:
{ Parsed from Foundation.framework NSNotificationQueue.h }


{$ifdef TYPES}
type
  NSNotificationQueuePtr = ^NSNotificationQueue;
{$endif}

{$ifdef TYPES}
type
  NSPostingStyle = NSUInteger;
  NSPostingStylePtr = ^NSPostingStyle;

const
  NSPostWhenIdle = 1;
  NSPostASAP = 2;
  NSPostNow = 3;

type
  NSNotificationCoalescing = NSUInteger;
  NSNotificationCoalescingPtr = ^NSNotificationCoalescing;

const
  NSNotificationNoCoalescing = 0;
  NSNotificationCoalescingOnName = 1;
  NSNotificationCoalescingOnSender = 2;
{$endif}

{$ifdef CLASSES}

type
  NSNotificationQueue = objcclass external (NSObject)
  private
    _notificationCenter: id;
    _asapQueue: id;
    _asapObs: id;
    _idleQueue: id;
    _idleObs: id;
  public
    class function defaultQueue: NSNotificationQueue; message 'defaultQueue';
    function initWithNotificationCenter (notificationCenter: NSNotificationCenter): instancetype; message 'initWithNotificationCenter:'; { NS_DESIGNATED_INITIALIZER }
    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}