/packages/cocoaint/src/appkit/NSStatusBar.inc

https://github.com/slibre/freepascal · Pascal · 64 lines · 19 code · 15 blank · 30 comment · 0 complexity · 61dbb7be87974cac0a5bd4c7e4fbd49e MD5 · raw file

  1. { Parsed from Appkit.framework NSStatusBar.h }
  2. {$ifdef TYPES}
  3. {$ifndef NSSTATUSBAR_PAS_T}
  4. {$define NSSTATUSBAR_PAS_T}
  5. { Defines }
  6. const
  7. NSVariableStatusItemLength = -1;
  8. NSSquareStatusItemLength = -2;
  9. {$endif}
  10. {$endif}
  11. {$ifdef RECORDS}
  12. {$ifndef NSSTATUSBAR_PAS_R}
  13. {$define NSSTATUSBAR_PAS_R}
  14. {$endif}
  15. {$endif}
  16. {$ifdef FUNCTIONS}
  17. {$ifndef NSSTATUSBAR_PAS_F}
  18. {$define NSSTATUSBAR_PAS_F}
  19. {$endif}
  20. {$endif}
  21. {$ifdef EXTERNAL_SYMBOLS}
  22. {$ifndef NSSTATUSBAR_PAS_S}
  23. {$define NSSTATUSBAR_PAS_S}
  24. {$endif}
  25. {$endif}
  26. {$ifdef FORWARD}
  27. NSStatusBar = objcclass;
  28. NSStatusBarPointer = ^NSStatusBar;
  29. NSStatusBarPtr = NSStatusBarPointer;
  30. {$endif}
  31. {$ifdef CLASSES}
  32. {$ifndef NSSTATUSBAR_PAS_C}
  33. {$define NSSTATUSBAR_PAS_C}
  34. { NSStatusBar }
  35. NSStatusBar = objcclass external (NSObject)
  36. private
  37. _items: id;
  38. _fReserved1: Pointer;
  39. _fReserved2: Pointer;
  40. _registeredForNote: NSInteger;
  41. public
  42. class function systemStatusBar: NSStatusBar; message 'systemStatusBar';
  43. function statusItemWithLength(length: CGFloat): NSStatusItem; message 'statusItemWithLength:';
  44. procedure removeStatusItem(item: NSStatusItem); message 'removeStatusItem:';
  45. function isVertical: Boolean; message 'isVertical';
  46. function thickness: CGFloat; message 'thickness';
  47. end;
  48. {$endif}
  49. {$endif}