mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 08:30:59 +00:00
2013-09-22 16:52-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Headers/AppKit/NSTableView.h: Add formal protocols for NSTableViewDelegate and NSTableViewDataSource. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37138 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f875daf41b
commit
60a1d3d511
2 changed files with 17 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-09-22 16:52-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Headers/AppKit/NSTableView.h: Add formal protocols for
|
||||
NSTableViewDelegate and NSTableViewDataSource.
|
||||
|
||||
2013-09-22 15:59-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Headers/AppKit/NSAnimation.h: Add NSAnimationDelegate.
|
||||
|
|
|
@ -351,7 +351,13 @@ typedef enum _NSTableViewColumnAutoresizingStyle
|
|||
* Informal protocol NSTableDataSource
|
||||
*/
|
||||
|
||||
@protocol NSTableViewDataSource
|
||||
#ifdef __OBJC2__
|
||||
@optional
|
||||
#else
|
||||
@end
|
||||
@interface NSObject (NSTableDataSource)
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Returns the number of records that the data source manages for <em>aTableView</em>.
|
||||
|
@ -402,8 +408,13 @@ APPKIT_EXPORT NSString *NSTableViewSelectionIsChangingNotification;
|
|||
* Methods Implemented by the Delegate
|
||||
*/
|
||||
|
||||
@protocol NSTableViewDelegate <NSObject>
|
||||
#ifdef __OBJC2__
|
||||
@optional
|
||||
#else
|
||||
@end
|
||||
@interface NSObject (NSTableViewDelegate)
|
||||
|
||||
#endif
|
||||
- (BOOL) selectionShouldChangeInTableView: (NSTableView *)aTableView;
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_3, GS_API_LATEST)
|
||||
- (void) tableView: (NSTableView*)tableView
|
||||
|
|
Loading…
Reference in a new issue