//
//  CRTemporaryFilesManager.h
//  CRKit
//
//  Created by Yaroslav Glushchenko on 1/22/10.
//  Copyright 2010 Corner-A. All rights reserved.
//

//////////////////////////////////////////////////////////////////////
// Temporary files
//////////////////////////////////////////////////////////////////////
@interface CRTemporaryFilesManager : NSObject
{
	NSMutableArray* savedFiles;
}

+ (CRTemporaryFilesManager *)sharedManager;

- (NSString *)trackNewTempFile;
- (NSString *)trackNewTempFileWithExtenstion:(NSString *)extension;
- (NSString *)trackNewTempFileInDirectory:(NSString *)directory withExtenstion:(NSString *)extension;
- (NSString *)trackNewTempFileInDirectory:(NSString *)directory withBaseName:(NSString *)baseName withExtenstion:(NSString *)extension;
- (void)cleanup;

@end