#import <Cocoa/Cocoa.h>
//#import "TableDelegate.h"

@interface SortingDelegate : NSObject
{
    IBOutlet id oTable;
    
	NSString		*mSortingKey;
    NSTableColumn	*mSortingColumn;
    BOOL			mSortDescending;
	BOOL			mViewingTop;

	NSTimer			*mTimer;
	NSArray			*mOldPositionsArray;
	float			mAnimationPosition;
        BOOL                    selectionIsColumns;
}

- (id) initWithTableView:(NSTableView *)table;

@end

@interface NSTableView ( slidingAnimatedTableSortDelegate )

- (NSRect)unanimatedRectOfRow:(int)rowIndex;

@end