mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:30:38 +00:00
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:
parent
5478f1e00c
commit
61f497d174
3 changed files with 71 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue