summaryrefslogtreecommitdiff
path: root/fpcsrc/packages/cocoaint/src/webkit/WebArchive.inc
blob: 06273ad3365fbb7dd9bf75fc3de30936e4a41091 (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
{ Parsed from Webkit.framework WebArchive.h }

{$ifdef TYPES}
{$ifndef WEBARCHIVE_PAS_T}
{$define WEBARCHIVE_PAS_T}

{$endif}
{$endif}

{$ifdef RECORDS}
{$ifndef WEBARCHIVE_PAS_R}
{$define WEBARCHIVE_PAS_R}

{$endif}
{$endif}

{$ifdef FUNCTIONS}
{$ifndef WEBARCHIVE_PAS_F}
{$define WEBARCHIVE_PAS_F}

{$endif}
{$endif}

{$ifdef EXTERNAL_SYMBOLS}
{$ifndef WEBARCHIVE_PAS_S}
{$define WEBARCHIVE_PAS_S}

{ External string constants }
var
  WebArchivePboardType: NSString; cvar; external;

{$endif}
{$endif}

{$ifdef FORWARD}
  WebArchive = objcclass;
  WebArchivePointer = ^WebArchive;
  WebArchivePtr = WebArchivePointer;

{$endif}

{$ifdef CLASSES}
{$ifndef WEBARCHIVE_PAS_C}
{$define WEBARCHIVE_PAS_C}

{ WebArchive }
  WebArchive = objcclass external (NSObject, NSCodingProtocol, NSCopyingProtocol)
  private
    _private: WebArchivePrivate;
    
  public
    function initWithMainResource_subresources_subframeArchives(mainResource_: WebResource; subresources_: NSArray; subframeArchives_: NSArray): id; message 'initWithMainResource:subresources:subframeArchives:';
    function initWithData(data_: NSData): id; message 'initWithData:';
    function mainResource: WebResource; message 'mainResource';
    function subresources: NSArray; message 'subresources';
    function subframeArchives: NSArray; message 'subframeArchives';
    function data: NSData; message 'data';

    { Adopted Protocols }
    procedure encodeWithCoder(aCoder: NSCoder);
    function initWithCoder(aDecoder: NSCoder): id;
    function copyWithZone(zone_: NSZonePtr): id;
  end;

{$endif}
{$endif}