This is FtpDirectory.h in view mode; [Download] [Up]
#import <appkit/appkit.h> #import "FtpFile.h" @interface FtpDirectory:FtpFile { NXAtom mypath; id list,updateTmpList,cacheHelpList; NXAtom statusString; BOOL isBeingUpdated; BOOL needsDisplay; BOOL needsUpdate; BOOL neededUpdate; // =[self needsUpdate]+2*[self needsCheck] BOOL firstUpdate; BOOL firstUpdateDisplay; BOOL shouldTransfer; // 0:only check 1:transferIfNeeded 2:TransferAlways /* struct __ftpdirectoryflags { unsigned char isBeingUpdated:1; unsigned char needsDisplay:1; unsigned char needsUpdate:1; unsigned char neededUpdate:2; // =[self needsUpdate]+2*[self needsCheck] unsigned char firstUpdate:1; unsigned char firstUpdateDisplay:1; unsigned char shouldTransfer:2; // 0:only check 1:transferIfNeeded 2:TransferAlways } flags; */ } - initForName:(const char *)name withParent:aParent; - free; - setPathAfterAwake; - (int) fillMatrix:matrix; - addSubDirsToCheckTo:con; - beginUpdate; - update:(char *)s withSize:(long)size isFile:(BOOL)isFile; - endUpdate; - add:obj; - remove:obj; - getObjWithName:(char *)name; - getDirWithName:(char *)name; - getFileWithName:(char *)name; - (BOOL) needsCheck; - (BOOL) needsUpdate; - setNeedsNoUpdate; - setNeedsUpdate; - (BOOL) needsFirstUpdate; - setStatusString:(const char *)s; - (BOOL)compareStatusString:(const char *)s; - setShouldTransferIfNeeded; - setShouldTransferAlways; - (BOOL)shouldTransferIfNeeded; - (BOOL)shouldTransferAlways; - (NXAtom) path; - (BOOL) isFile; - (BOOL) isDir; - (BOOL)isDummy; - setNeedsDisplay:(BOOL)flag; - (BOOL) needsDisplay; - fullPath:(char*)theFullPathPtr; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.