2001-10-19 19:41:13 +00:00
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
#import "NameFormatter.h"
|
|
|
|
#import "SizeFormatter.h"
|
|
|
|
#import "AttributesFormatter.h"
|
|
|
|
|
2002-10-04 19:54:05 +00:00
|
|
|
@class Resource;
|
|
|
|
|
2001-10-19 19:41:13 +00:00
|
|
|
@interface OutlineViewDelegate : NSObject
|
|
|
|
{
|
|
|
|
IBOutlet NSWindow *window;
|
|
|
|
IBOutlet NameFormatter *nameFormatter;
|
|
|
|
IBOutlet SizeFormatter *sizeFormatter;
|
|
|
|
IBOutlet AttributesFormatter *attributesFormatter;
|
|
|
|
}
|
2002-10-04 19:54:05 +00:00
|
|
|
|
|
|
|
int compareResourcesAscending( Resource *r1, Resource *r2, void *context );
|
|
|
|
int compareResourcesDescending( Resource *r1, Resource *r2, void *context );
|
|
|
|
|
2001-10-19 19:41:13 +00:00
|
|
|
@end
|
2002-11-15 15:12:42 +00:00
|
|
|
|
|
|
|
@interface NSOutlineView (OutlineSortView)
|
|
|
|
- (void)swapForOutlineSortView;
|
|
|
|
@end
|
|
|
|
|
|
|
|
@interface OutlineSortView : NSOutlineView
|
|
|
|
@end
|