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