summaryrefslogtreecommitdiff
path: root/packages/cocoaint/src/imagekit/IKSaveOptions.inc
blob: a57f5d04f56ca56a977912fdd1578b7ba0992057 (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
{ Parsed from ImageKit.framework IKSaveOptions.h }


{ Types from IKSaveOptions }
{$ifdef TYPES}

{$endif}


{$ifdef TYPES}
type
  IKSaveOptionsPtr = ^IKSaveOptions;
{$endif}

{$if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5)}

{$if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6)}
{$ifdef CLASSES}

type
  IKSaveOptionsDelegate = objccategory external (NSObject)
    function saveOptions_shouldShowUTType (saveOptions: IKSaveOptions; utType: NSString): ObjCBOOL; message 'saveOptions:shouldShowUTType:';
  end;
{$endif}

{$endif}
{$ifdef CLASSES}

type
  IKSaveOptions = objcclass external (NSObject)
  private
    _privateData: pointer;
    _saveOptionsView: id;
  public
    procedure setDelegate(newValue: id); message 'setDelegate:';
    function delegate: id; message 'delegate';
    function imageProperties: NSDictionary; message 'imageProperties';
    function imageUTType: NSString; message 'imageUTType';
    function userSelection: NSDictionary; message 'userSelection';
    function initWithImageProperties_imageUTType (imageProperties_: NSDictionary; imageUTType_: NSString): instancetype; message 'initWithImageProperties:imageUTType:';
    procedure addSaveOptionsAccessoryViewToSavePanel (savePanel: NSSavePanel); message 'addSaveOptionsAccessoryViewToSavePanel:';
    {$if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6)}
    procedure addSaveOptionsToView (view: NSView); message 'addSaveOptionsToView:';
    {$endif}
  end;
{$endif}

{$endif}