//
//  FileHandler.h
//  FieldMapper
//
//  Created by Ram Madichetty on 5/8/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WebQuery.h"

@protocol FileHandlerDelegate
- (void)fileHandlerGetSuccess:(NSString *)path ;
- (void)fileHandlerUploadSuccess;
- (void)fileHandlerFailed:(NSString *)error ;
@end

@interface FileHandler : NSObject <WebQueryDelegate>

@property (nonatomic, weak) id delegate;
//- (void)getDocument:(NSString *)name;
- (void)getDocument:(NSString *)name andDocumentCode:(NSString *)docCode;
//- (void)uploadDocument:(NSString *)name;
- (void)uploadDocument:(NSString *)name andDocumentCode:(NSString *)docCode;

@end
