Add NSWindowDelegate and NSMenuDelegate.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37094 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2013-09-17 20:36:25 +00:00
parent 5478f1e00c
commit 61f497d174
3 changed files with 71 additions and 0 deletions

View file

@ -825,7 +825,15 @@ PACKAGE_SCOPE
*/
#ifdef GNUSTEP
@protocol NSWindowDelegate <NSObject>
#ifdef __OBJC2__
@optional
#else
@end
@interface NSObject (NSWindowDelegate)
#endif
- (BOOL) windowShouldClose: (id)sender;
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void) windowWillBeginSheet: (NSNotification*)aNotification;