The R Project SVN R-packages

Rev

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

Rev 1878 Rev 5235
Line 27... Line 27...
27
 *  Suite 330, Boston, MA  02111-1307  USA.
27
 *  Suite 330, Boston, MA  02111-1307  USA.
28
 */
28
 */
29
 
29
 
30
#import <Cocoa/Cocoa.h>
30
#import <Cocoa/Cocoa.h>
31
 
31
 
-
 
32
/* for pre-10.5 compatibility */
-
 
33
#ifndef NSINTEGER_DEFINED
-
 
34
#if __LP64__ || NS_BUILD_32_LIKE_64
-
 
35
typedef long NSInteger;
-
 
36
typedef unsigned long NSUInteger;
-
 
37
#else
-
 
38
typedef int NSInteger;
-
 
39
typedef unsigned int NSUInteger;
-
 
40
#endif
-
 
41
#define NSINTEGER_DEFINED 1
-
 
42
#endif
-
 
43
 
32
@interface SortableDataSource : NSObject {
44
@interface SortableDataSource : NSObject {
33
    NSMutableArray *col;
45
    NSMutableArray *col;
34
    NSMutableArray *colNames;
46
    NSMutableArray *colNames;
35
    int rows;
47
    NSUInteger rows;
36
    int *sortMap, *invSortMap;
48
    int *sortMap, *invSortMap;
37
	int *filter, filterLen;
49
	int *filter, filterLen;
38
}
50
}
39
 
51
 
40
- (void) addColumn: (NSArray*) colCont withName: (NSString*) name;
52
- (void) addColumn: (NSArray*) colCont withName: (NSString*) name;