The R Project SVN R-packages

Rev

Rev 5707 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5707 Rev 5708
Line 39... Line 39...
39
typedef unsigned int NSUInteger;
39
typedef unsigned int NSUInteger;
40
#endif
40
#endif
41
#define NSINTEGER_DEFINED 1
41
#define NSINTEGER_DEFINED 1
42
#endif
42
#endif
43
 
43
 
-
 
44
@protocol NSTableViewDataSource <NSObject>
-
 
45
- (NSInteger)numberOfRowsInTableView:(NSTableView *)tableView;
-
 
46
- (id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row;
-
 
47
@optional
-
 
48
- (void)tableView:(NSTableView *)tableView setObjectValue:(id)object forTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row;
-
 
49
- (void)tableView:(NSTableView *)tableView sortDescriptorsDidChange:(NSArray *)oldDescriptors;
-
 
50
- (BOOL)tableView:(NSTableView *)tableView writeRowsWithIndexes:(NSIndexSet *)rowIndexes toPasteboard:(NSPasteboard *)pboard;
-
 
51
- (NSDragOperation)tableView:(NSTableView *)tableView validateDrop:(id <NSDraggingInfo>)info proposedRow:(NSInteger)row proposedDropOperation:(NSTableViewDropOperation)dropOperation;
-
 
52
- (BOOL)tableView:(NSTableView *)tableView acceptDrop:(id <NSDraggingInfo>)info row:(NSInteger)row dropOperation:(NSTableViewDropOperation)dropOperation;
-
 
53
- (NSArray *)tableView:(NSTableView *)tableView namesOfPromisedFilesDroppedAtDestination:(NSURL *)dropDestination forDraggedRowsWithIndexes:(NSIndexSet *)indexSet;
-
 
54
@end
-
 
55
 
44
@interface SortableDataSource : NSObject <NSTableViewDataSource> {
56
@interface SortableDataSource : NSObject <NSTableViewDataSource> {
45
    NSMutableArray *col;
57
    NSMutableArray *col;
46
    NSMutableArray *colNames;
58
    NSMutableArray *colNames;
47
    NSUInteger rows;
59
    NSUInteger rows;
48
    int *sortMap, *invSortMap;
60
    int *sortMap, *invSortMap;