//
//  NSFileHandle+MCAdditions.h
//  MCFoundation
//
//  Created by Sebastien Boisvert on 2010-02-09.
//  Copyright 2010 Marketcircle, Inc. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface NSFileHandle (MCAdditions)

// provides a filehandle for the given path, creating it if flag is YES, and seeks to end of the file. Should be matched with a call to -mcCloseFileHandle (see implementation file for details)
+(NSFileHandle*)mcFileHandleForUpdatingAtPath:(NSString*)aPath createIfMissing:(BOOL)flag;
-(void)mcCloseFileHandle;
@end
