blob: c8f2980ebaee17647c1423013780beff96c7815d (
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
{ Parsed from ImageKit.framework IKCameraDeviceView.h }
{$ifdef TYPES}
type
IKCameraDeviceViewPtr = ^IKCameraDeviceView;
IKCameraDeviceViewDelegateProtocolPtr = ^IKCameraDeviceViewDelegateProtocol;
{$endif}
{$if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6)}
{$ifdef PROTOCOLS}
type
IKCameraDeviceViewDelegateProtocol = objcprotocol external name 'IKCameraDeviceViewDelegate'
optional
procedure cameraDeviceViewSelectionDidChange (cameraDeviceView: IKCameraDeviceView); message 'cameraDeviceViewSelectionDidChange:';
procedure cameraDeviceView_didDownloadFile_location_fileData_error (cameraDeviceView: IKCameraDeviceView; file_: ICCameraFile; url: NSURL; data: NSData; error: NSError); message 'cameraDeviceView:didDownloadFile:location:fileData:error:';
procedure cameraDeviceView_didEncounterError (cameraDeviceView: IKCameraDeviceView; error: NSError); message 'cameraDeviceView:didEncounterError:';
end;
{$endif}
{$ifdef TYPES}
type
IKCameraDeviceViewDisplayMode = NSInteger;
IKCameraDeviceViewDisplayModePtr = ^IKCameraDeviceViewDisplayMode;
const
IKCameraDeviceViewDisplayModeTable = 0;
IKCameraDeviceViewDisplayModeIcon = 1;
type
IKCameraDeviceViewTransferMode = NSInteger;
IKCameraDeviceViewTransferModePtr = ^IKCameraDeviceViewTransferMode;
const
IKCameraDeviceViewTransferModeFileBased = 0;
IKCameraDeviceViewTransferModeMemoryBased = 1;
{$endif}
{$ifdef CLASSES}
type
IKCameraDeviceView = objcclass external (NSView)
private
_privateData: id;
public
procedure setDelegate(newValue: IKCameraDeviceViewDelegateProtocol); message 'setDelegate:';
function delegate: IKCameraDeviceViewDelegateProtocol; message 'delegate';
procedure setCameraDevice(newValue: ICCameraDevice); message 'setCameraDevice:';
function cameraDevice: ICCameraDevice; message 'cameraDevice';
procedure setMode(newValue: IKCameraDeviceViewDisplayMode); message 'setMode:';
function mode: IKCameraDeviceViewDisplayMode; message 'mode';
procedure setHasDisplayModeTable(newValue: ObjCBOOL); message 'setHasDisplayModeTable:';
function hasDisplayModeTable: ObjCBOOL; message 'hasDisplayModeTable';
procedure setHasDisplayModeIcon(newValue: ObjCBOOL); message 'setHasDisplayModeIcon:';
function hasDisplayModeIcon: ObjCBOOL; message 'hasDisplayModeIcon';
procedure setDownloadAllControlLabel(newValue: NSString); message 'setDownloadAllControlLabel:';
function downloadAllControlLabel: NSString; message 'downloadAllControlLabel';
procedure setDownloadSelectedControlLabel(newValue: NSString); message 'setDownloadSelectedControlLabel:';
function downloadSelectedControlLabel: NSString; message 'downloadSelectedControlLabel';
procedure setIconSize(newValue: NSUInteger); message 'setIconSize:';
function iconSize: NSUInteger; message 'iconSize';
procedure setTransferMode(newValue: IKCameraDeviceViewTransferMode); message 'setTransferMode:';
function transferMode: IKCameraDeviceViewTransferMode; message 'transferMode';
procedure setDisplaysDownloadsDirectoryControl(newValue: ObjCBOOL); message 'setDisplaysDownloadsDirectoryControl:';
function displaysDownloadsDirectoryControl: ObjCBOOL; message 'displaysDownloadsDirectoryControl';
procedure setDownloadsDirectory(newValue: NSURL); message 'setDownloadsDirectory:';
function downloadsDirectory: NSURL; message 'downloadsDirectory';
procedure setDisplaysPostProcessApplicationControl(newValue: ObjCBOOL); message 'setDisplaysPostProcessApplicationControl:';
function displaysPostProcessApplicationControl: ObjCBOOL; message 'displaysPostProcessApplicationControl';
procedure setPostProcessApplication(newValue: NSURL); message 'setPostProcessApplication:';
function postProcessApplication: NSURL; message 'postProcessApplication';
function canRotateSelectedItemsLeft: ObjCBOOL; message 'canRotateSelectedItemsLeft';
function canRotateSelectedItemsRight: ObjCBOOL; message 'canRotateSelectedItemsRight';
function canDeleteSelectedItems: ObjCBOOL; message 'canDeleteSelectedItems';
function canDownloadSelectedItems: ObjCBOOL; message 'canDownloadSelectedItems';
function selectedIndexes: NSIndexSet; message 'selectedIndexes';
procedure selectIndexes_byExtendingSelection (indexes: NSIndexSet; extend: ObjCBOOL); message 'selectIndexes:byExtendingSelection:';
procedure rotateLeft (sender: id); message 'rotateLeft:';
procedure rotateRight (sender: id); message 'rotateRight:';
procedure deleteSelectedItems (sender: id); message 'deleteSelectedItems:';
procedure downloadSelectedItems (sender: id); message 'downloadSelectedItems:';
procedure downloadAllItems (sender: id); message 'downloadAllItems:';
end;
{$endif}
{$endif}
|