//
//  DataUpload.h
//  EAMiPad
//
//  Created by Ram Madichetty on 8/27/12.
//
//

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

@protocol DataUploadDelegate
- (void)dataUploadSuccess;
- (void)dataUploadFailed;
- (void)dataUploadProgress:(float)progress;

@end

@interface DataUpload : NSObject

@property (nonatomic, weak) id delegate;
@property (nonatomic, weak) id onDemandSyncDelegate;
@property (nonatomic)       BOOL    isOnDemandSync;

- (void)uploadData:(BOOL)newOnly;
- (void)stopSync;
- (BOOL)uploadInProgress;

@end
