mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Stub implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14847 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
24653e2d38
commit
bd5048dc2b
3 changed files with 19 additions and 1 deletions
|
@ -1,10 +1,12 @@
|
|||
2002-10-25 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
|
||||
* Source/NSApplication.m: Remove some NSDebugLogs.
|
||||
|
||||
* Source/NSDocument.m
|
||||
(-fileNameFromRunningSavePanelForSaveOperation:): Set dicectory to
|
||||
the currentDirectory if no fileName is set. Localize.
|
||||
(-fileAttributesToWriteToFile:ofType:saveOperation:): Stib implement.
|
||||
* Source/NSDocumentController.m: Document.
|
||||
(+sharedDocumentController): Proper allocation/init. Set ourselves
|
||||
as the application delegate if there isn't one already.
|
||||
|
|
|
@ -139,7 +139,8 @@ typedef enum _NSSaveOperationType {
|
|||
- (BOOL)loadDataRepresentation:(NSData *)data ofType:(NSString *)type;
|
||||
|
||||
- (NSFileWrapper *)fileWrapperRepresentationOfType:(NSString *)type;
|
||||
- (BOOL)loadFileWrapperRepresentation:(NSFileWrapper *)wrapper ofType:(NSString *)type;
|
||||
- (BOOL)loadFileWrapperRepresentation:(NSFileWrapper *)wrapper
|
||||
ofType:(NSString *)type;
|
||||
|
||||
- (BOOL)writeToFile:(NSString *)fileName ofType:(NSString *)type;
|
||||
- (BOOL)readFromFile:(NSString *)fileName ofType:(NSString *)type;
|
||||
|
@ -154,6 +155,13 @@ typedef enum _NSSaveOperationType {
|
|||
- (NSString *)fileNameFromRunningSavePanelForSaveOperation:(NSSaveOperationType)saveOperation;
|
||||
- (int)runModalSavePanel:(NSSavePanel *)savePanel withAccessoryView:(NSView *)accessoryView;
|
||||
- (NSString *)fileTypeFromLastRunSavePanel;
|
||||
- (NSDictionary *)fileAttributesToWriteToFile: (NSString *)fullDocumentPath
|
||||
ofType: (NSString *)docType
|
||||
saveOperation: (NSSaveOperationType)saveOperationType;
|
||||
- (BOOL)writeToFile:(NSString *)fileName
|
||||
ofType:(NSString *)type
|
||||
originalFile:(NSString *)origFileName
|
||||
saveOperation:(NSSaveOperationType)saveOp;
|
||||
- (BOOL)writeWithBackupToFile:(NSString *)fileName
|
||||
ofType:(NSString *)fileType
|
||||
saveOperation:(NSSaveOperationType)saveOp;
|
||||
|
|
|
@ -573,6 +573,14 @@
|
|||
return [self fileType];
|
||||
}
|
||||
|
||||
- (NSDictionary *)fileAttributesToWriteToFile: (NSString *)fullDocumentPath
|
||||
ofType: (NSString *)docType
|
||||
saveOperation: (NSSaveOperationType)saveOperationType
|
||||
{
|
||||
// FIXME: Implement.
|
||||
return [NSDictionary dictionary];
|
||||
}
|
||||
|
||||
- (BOOL)writeToFile:(NSString *)fileName
|
||||
ofType:(NSString *)type
|
||||
originalFile:(NSString *)origFileName
|
||||
|
|
Loading…
Reference in a new issue