Added declarations for new methods in specification

([noteNewRecentDocument:], [validateUserInterfaceItem:],
[closeAllDocumentsWithDelegate:didCloseAllSelector:contextInfo:],
[reviewUnsavedDocumentsWithAlertTitle:...contextInfo:]).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10605 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2001-07-28 22:39:31 +00:00
parent 6668d1b7d2
commit 01e3621b4e

View file

@ -30,6 +30,7 @@
#include <Foundation/Foundation.h>
#include <AppKit/NSNibDeclarations.h>
#include <AppKit/NSUserInterfaceValidation.h>
@class NSArray, NSMutableArray;
@class NSURL;
@ -74,6 +75,7 @@
- (IBAction)clearRecentDocuments:(id)sender;
/*" Recent Documents "*/
- (void)noteNewRecentDocument:(NSDocument *)aDocument;
- (void)noteNewRecentDocumentURL:(NSURL *)anURL;
- (NSArray *)recentDocumentURLs;
@ -86,7 +88,15 @@
- (void)addDocument:(NSDocument *)document;
- (void)removeDocument:(NSDocument *)document;
- (BOOL)closeAllDocuments;
- (void)closeAllDocumentsWithDelegate:(id)delegate
didCloseAllSelector:(SEL)didAllCloseSelector
contextInfo:(void *)contextInfo;
- (BOOL)reviewUnsavedDocumentsWithAlertTitle:(NSString *)title cancellable:(BOOL)cancellable;
- (void)reviewUnsavedDocumentsWithAlertTitle:(NSString *)title
cancellable:(BOOL)cancellable
delegate:(id)delegate
didReviewAllSelector:(SEL)didReviewAllSelector
contextInfo:(void *)contextInfo;
- (NSArray *)documents;
- (BOOL)hasEditedDocuments;
- (id)currentDocument;
@ -97,6 +107,7 @@
/*" Menu validation "*/
- (BOOL)validateMenuItem:(NSMenuItem *)anItem;
- (BOOL)validateUserInterfaceItem:(id <NSValidatedUserInterfaceItem>)anItem;
/*" Types and extensions "*/
- (NSString *)displayNameForType:(NSString *)type;