Add an attribute to NSDocumentController to maintain the recent

documents menu. Make the methods to access that menu available to
other classes in -gui.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30362 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wolfgang Lux 2010-05-12 08:17:26 +00:00
parent 20a4078572
commit e0d603b2ae
4 changed files with 34 additions and 16 deletions

View file

@ -44,6 +44,7 @@
@class NSString;
@class NSDocument;
@class NSMenu;
@class NSMenuItem;
@class NSOpenPanel;
@class NSWindow;
@ -59,7 +60,7 @@
unsigned int should_create_ui:1;
unsigned int RESERVED:31;
} _controller_flags;
void *_reserved1;
NSMenu *_recent_documents_menu;
}
+ (id) sharedDocumentController;