summaryrefslogtreecommitdiff
path: root/packages/cocoaint/src/quicklookui/QLPreviewView.inc
blob: ff2b22f13c4e1b9490bbdbd13001ed1977552a33 (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
{ Parsed from QuickLookUI.framework QLPreviewView.h }


{$ifdef TYPES}
type
  QLPreviewViewPtr = ^QLPreviewView;
{$endif}

{$ifdef TYPES}
type
  QLPreviewViewStyle = NSUInteger;
  QLPreviewViewStylePtr = ^QLPreviewViewStyle;

const
  QLPreviewViewStyleNormal = 0;
  QLPreviewViewStyleCompact = 1;
{$endif}

{$ifdef CLASSES}

type
  QLPreviewView = objcclass external (NSView)
  private
    _reserved: QLPreviewViewReserved;
  public
    function initWithFrame_style (frame: NSRect; style: QLPreviewViewStyle): id; message 'initWithFrame:style:';
    function initWithFrame (frame: NSRect): id; message 'initWithFrame:';
    procedure setPreviewItem(newValue: QLPreviewItemProtocol); message 'setPreviewItem:';
    function previewItem: QLPreviewItemProtocol; message 'previewItem';
    procedure refreshPreviewItem; message 'refreshPreviewItem';
    procedure setDisplayState(newValue: id); message 'setDisplayState:';
    function displayState: id; message 'displayState';
    procedure close; message 'close';
    procedure setShouldCloseWithWindow(newValue: ObjCBOOL); message 'setShouldCloseWithWindow:';
    function shouldCloseWithWindow: ObjCBOOL; message 'shouldCloseWithWindow';
    procedure setAutostarts(newValue: ObjCBOOL); message 'setAutostarts:';
    function autostarts: ObjCBOOL; message 'autostarts';
  end;
{$endif}