//
//  MCListHeaderView.h
//  MCListHeaderView
//
//  Created by Mark Onyschuk on 23/07/07.
//  Copyright 2007 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface MCListHeaderView : NSView {
	id _delegate;
	NSTableHeaderCell *_cell;
}

#pragma mark -
#pragma mark Accessors
- (id)delegate;
- (void)setDelegate:(id)aDelegate;

#pragma mark -
#pragma mark Drawing
- (BOOL)isOpaque;
- (BOOL)isFlipped;
- (void)drawRect:(NSRect)aRect;

@end

@interface NSObject (MCListHeaderViewDelegate)
- (BOOL)headerView:(MCListHeaderView *)headerView 
	getColumnTitle:(NSString **)aTitleP
		 alignment:(NSTextAlignment *)anAlignmentP
			 width:(float *)aWidthP
		   atIndex:(UInt32)anIndex;
@end
