mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 02:20:48 +00:00
Correct declaration of data source methods and the implementation
in NSOutlineView. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32746 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
773f93f42f
commit
91c7ca64c0
4 changed files with 43 additions and 7 deletions
|
@ -36,6 +36,7 @@
|
|||
@class NSMapTable;
|
||||
@class NSMutableArray;
|
||||
@class NSString;
|
||||
@class NSURL;
|
||||
|
||||
@interface NSOutlineView : NSTableView
|
||||
{
|
||||
|
@ -161,6 +162,17 @@
|
|||
- (BOOL) outlineView: (NSOutlineView *)outlineView
|
||||
writeItems: (NSArray*)items
|
||||
toPasteboard: (NSPasteboard*)pboard;
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_3, GS_API_LATEST)
|
||||
- (void) outlineView: (NSOutlineView *)outlineView
|
||||
sortDescriptorsDidChange: (NSArray *)oldSortDescriptors;
|
||||
#endif
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_4, GS_API_LATEST)
|
||||
- (NSArray *) outlineView: (NSOutlineView *)outlineView
|
||||
namesOfPromisedFilesDroppedAtDestination: (NSURL *)dropDestination
|
||||
forDraggedItems: (NSArray *)items;
|
||||
#endif
|
||||
@end
|
||||
|
||||
/*
|
||||
|
@ -271,8 +283,6 @@ willDisplayOutlineCell: (id)cell
|
|||
- (BOOL) selectionShouldChangeInOutlineView: (NSOutlineView *)outlineView;
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_3, GS_API_LATEST)
|
||||
- (void) outlineView: (NSOutlineView *)outlineView
|
||||
sortDescriptorsDidChange: (NSArray *)oldSortDescriptors;
|
||||
- (void) outlineView: (NSOutlineView *)outlineView
|
||||
didClickTableColumn: (NSTableColumn *)aTableColumn;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue