blob: 07c18205d8ca2e70e6198d3af53fd26a7b0f4c76 (
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
88
89
90
91
92
93
94
95
|
{ Parsed from Appkit.framework NSFileWrapper.h }
{ Version FrameworkParser: 1.3. PasCocoa 0.3, Objective-P 0.2 - Thu Sep 17 14:52:47 ICT 2009 }
{$ifdef HEADER}
{$ifndef NSFILEWRAPPER_PAS_H}
{$define NSFILEWRAPPER_PAS_H}
type
NSFileWrapperPointer = Pointer;
{$endif}
{$endif}
{$ifdef TYPES}
{$ifndef NSFILEWRAPPER_PAS_T}
{$define NSFILEWRAPPER_PAS_T}
{$endif}
{$endif}
{$ifdef RECORDS}
{$ifndef NSFILEWRAPPER_PAS_R}
{$define NSFILEWRAPPER_PAS_R}
{$endif}
{$endif}
{$ifdef FUNCTIONS}
{$ifndef NSFILEWRAPPER_PAS_F}
{$define NSFILEWRAPPER_PAS_F}
{$endif}
{$endif}
{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSFILEWRAPPER_PAS_T}
{$define NSFILEWRAPPER_PAS_T}
{$endif}
{$endif}
{$ifdef FORWARD}
NSFileWrapper = objcclass;
{$endif}
{$ifdef CLASSES}
{$ifndef NSFILEWRAPPER_PAS_C}
{$define NSFILEWRAPPER_PAS_C}
{ NSFileWrapper }
NSFileWrapper = objcclass(NSObject, NSCodingProtocol)
private
__impl: id;
__fileName: NSString;
__preferredFileName: NSString;
__fileAttributes: NSDictionary;
__image: NSImage;
__moreVars: id;
public
class function alloc: NSFileWrapper; message 'alloc';
function initDirectoryWithFileWrappers(docs: NSDictionary): id; message 'initDirectoryWithFileWrappers:';
function initRegularFileWithContents(data: NSData): id; message 'initRegularFileWithContents:';
function initSymbolicLinkWithDestination(path: NSString): id; message 'initSymbolicLinkWithDestination:';
function initWithPath(path: NSString): id; message 'initWithPath:';
function initWithSerializedRepresentation(data: NSData): id; message 'initWithSerializedRepresentation:';
function writeToFile_atomically_updateFilenames(path: NSString; atomicFlag: Boolean; updateFilenamesFlag: Boolean): Boolean; message 'writeToFile:atomically:updateFilenames:';
function serializedRepresentation: NSData; message 'serializedRepresentation';
procedure setFilename(filename_: NSString); message 'setFilename:';
function filename: NSString; message 'filename';
procedure setPreferredFilename(filename_: NSString); message 'setPreferredFilename:';
function preferredFilename: NSString; message 'preferredFilename';
procedure setFileAttributes(attributes: NSDictionary); message 'setFileAttributes:';
function fileAttributes: NSDictionary; message 'fileAttributes';
function isRegularFile: Boolean; message 'isRegularFile';
function isDirectory: Boolean; message 'isDirectory';
function isSymbolicLink: Boolean; message 'isSymbolicLink';
procedure setIcon(icon_: NSImage); message 'setIcon:';
function icon: NSImage; message 'icon';
function needsToBeUpdatedFromPath(path: NSString): Boolean; message 'needsToBeUpdatedFromPath:';
function updateFromPath(path: NSString): Boolean; message 'updateFromPath:';
function addFileWrapper(doc: NSFileWrapper): NSString; message 'addFileWrapper:';
procedure removeFileWrapper(doc: NSFileWrapper); message 'removeFileWrapper:';
function fileWrappers: NSDictionary; message 'fileWrappers';
function keyForFileWrapper(doc: NSFileWrapper): NSString; message 'keyForFileWrapper:';
function addFileWithPath(path: NSString): NSString; message 'addFileWithPath:';
function addRegularFileWithContents_preferredFilename(data: NSData; filename_: NSString): NSString; message 'addRegularFileWithContents:preferredFilename:';
function addSymbolicLinkWithDestination_preferredFilename(path: NSString; filename_: NSString): NSString; message 'addSymbolicLinkWithDestination:preferredFilename:';
function regularFileContents: NSData; message 'regularFileContents';
function symbolicLinkDestination: NSString; message 'symbolicLinkDestination';
end; external;
{$endif}
{$endif}
|