summaryrefslogtreecommitdiff
path: root/packages/cocoaint/src/webkit/WebResource.inc
blob: 7d6ed7468d182216d97e8f997fb1ce62264a1a99 (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
{ Parsed from Webkit.framework WebResource.h }
{ Version: 2.1.4 - Sun Jan 2 15:08:41 CET 2011 }


{$ifdef TYPES}
{$ifndef WEBRESOURCE_PAS_T}
{$define WEBRESOURCE_PAS_T}

{$endif}
{$endif}

{$ifdef RECORDS}
{$ifndef WEBRESOURCE_PAS_R}
{$define WEBRESOURCE_PAS_R}

{$endif}
{$endif}

{$ifdef FUNCTIONS}
{$ifndef WEBRESOURCE_PAS_F}
{$define WEBRESOURCE_PAS_F}

{$endif}
{$endif}

{$ifdef EXTERNAL_SYMBOLS}
{$ifndef WEBRESOURCE_PAS_S}
{$define WEBRESOURCE_PAS_S}

{$endif}
{$endif}

{$ifdef FORWARD}
  WebResource = objcclass;
  WebResourcePointer = ^WebResource;
  WebResourcePtr = WebResourcePointer;

{$endif}

{$ifdef CLASSES}
{$ifndef WEBRESOURCE_PAS_C}
{$define WEBRESOURCE_PAS_C}

{ WebResource }
  WebResource = objcclass external (NSObject, NSCodingProtocol, NSCopyingProtocol)
  private
    _private: WebResourcePrivate;
    
  public
    function initWithData_URL_MIMEType_textEncodingName_frameName(data_: NSData; URL_: NSURL; MIMEType_: NSString; textEncodingName_: NSString; frameName_: NSString): id; message 'initWithData:URL:MIMEType:textEncodingName:frameName:';
    function data: NSData; message 'data';
    function URL: NSURL; message 'URL';
    function MIMEType: NSString; message 'MIMEType';
    function textEncodingName: NSString; message 'textEncodingName';
    function frameName: NSString; message 'frameName';

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

{$endif}
{$endif}