summaryrefslogtreecommitdiff
path: root/packages/cocoaint/src/appkit/NSMediaLibraryBrowserController.inc
blob: 8ee98b0a47b9695d73c7c0195121e4d102af0b2b (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
{ Parsed from AppKit.framework NSMediaLibraryBrowserController.h }


{$ifdef TYPES}
type
  NSMediaLibraryBrowserControllerPtr = ^NSMediaLibraryBrowserController;
{$endif}

{$ifdef TYPES}
type
  NSMediaLibrary = NSUInteger;
  NSMediaLibraryPtr = ^NSMediaLibrary;

const
  NSMediaLibraryAudio = 1 shl 0;
  NSMediaLibraryImage = 1 shl 1;
  NSMediaLibraryMovie = 1 shl 2;
{$endif}

{$ifdef CLASSES}

type
  NSMediaLibraryBrowserController = objcclass external (NSObject)
  private
    _browserProxy: id;
  public
    procedure setVisible(newValue: ObjCBOOL); message 'setVisible:';
    function isVisible: ObjCBOOL; message 'isVisible';
    procedure setFrame(newValue: NSRect); message 'setFrame:';
    function frame: NSRect; message 'frame';
    procedure setMediaLibraries(newValue: NSMediaLibrary); message 'setMediaLibraries:';
    function mediaLibraries: NSMediaLibrary; message 'mediaLibraries';
    class function sharedMediaLibraryBrowserController: NSMediaLibraryBrowserController; message 'sharedMediaLibraryBrowserController';
    procedure togglePanel (sender: id); message 'togglePanel:';
  end;
{$endif}