50981407d8
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@114 127b21dd-08f5-0310-b4b7-95ae10353056
29 lines
630 B
Objective-C
29 lines
630 B
Objective-C
#ifdef LOADSAVEGUI
|
|
//
|
|
// OOFileManager.h
|
|
//
|
|
// Created for the Oolite-Linux project
|
|
//
|
|
// Dylan Smith, 2005-07-02
|
|
//
|
|
// This extends NSFileManager and adds some methods to insulate the
|
|
// main oolite code from the gory details of creating/chdiring to the
|
|
// commander save directory.
|
|
//
|
|
// oolite: (c) 2004 Giles C Williams.
|
|
// This work is licensed under the Creative Commons Attribution NonCommercial
|
|
// ShareAlike license.
|
|
//
|
|
#import <Foundation/Foundation.h>
|
|
|
|
#define SAVEDIR "oolite-saves"
|
|
|
|
@interface NSFileManager ( OOFileManager )
|
|
|
|
- (NSArray *)commanderContents;
|
|
- (BOOL)chdirToDefaultCommanderPath;
|
|
|
|
@end
|
|
#endif
|
|
|