23#import <Foundation/NSObject.h>
25@class NSImage, NSString, NSError;
28 FileOpenCannotHandle = -1,
34 FileImportCannotHandle = -1,
43@protocol FileManagerDelegate
49- (BOOL) canCreateCategoriesAtPath: (NSString *) aPath;
55- (BOOL) canCreatePlainFilesAtPath: (NSString *) aPath;
61- (BOOL) canCreateLinksAtPath: (NSString *) aPath;
67- (BOOL) canCreateVirtualFilesAtPath: (NSString *) aPath;
73- (BOOL) canDeletePath: (NSString *) aPath;
85- (FileOpenResult) openFile: (NSString *) aPath;
97- (NSString *) pathToFile: (NSString *) aPath isCategory: (BOOL) isCategory;
104- (NSImage *) iconForPath: (NSString *) aPath;
111- (NSArray *) permissibleFileExtensionsInCategory: (NSString *) aCategory;
130- (FileImportResult) importFile: (NSString *) aFile
131 intoCategory: (NSString *) aCategory
132 error: (NSError **) error;
180- (NSString *) pathToFileTemplatesDirectoryForCategory: (NSString *) aCategory;
197- (NSDictionary *) filesAssociatedWithTemplateFile: (NSString *) aFile
198 fromTemplatesDirectory: (NSString *) templatesDir
199 forCategory: (NSString *) targetCategory;