//
//  ASWFileTypeIconTransformer.h
//  ASWFoundation
//
//  Created by Dominic Feira on 11/27/06.
//  Copyright 2006 __MyCompanyName__. All rights reserved.
//

/*! Transfomrs a file type (path extension) into an icon 
 
	Can override for a particular file type by using setIcon:forType:
	Caches icons for the fileTypes.  
 
	TODO: Implement cache flushing 
*/
@interface ASWFileTypeIconTransformer : NSValueTransformer 
{
	NSMutableDictionary* mIcons;
}

#if defined(__IPHONE_3_0) && __IPHONE_3_0 <= __IPHONE_OS_VERSION_MAX_ALLOWED
- (void) setIcon: (UIImage*) icon forType: (NSString*) type;
#elif defined(ASW_NOT_IPHONE) && ASW_NOT_IPHONE
- (void) setIcon: (NSImage*) icon forType: (NSString*) type;
#endif
@end
