-
Notifications
You must be signed in to change notification settings - Fork 17
/
MVFileUploadDelegate.h
executable file
·25 lines (20 loc) · 865 Bytes
/
MVFileUploadDelegate.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//
// MVFileUploadDelegate.h
// FileShuttle
//
// Created by Michael Villar on 12/10/11.
//
#import <Foundation/Foundation.h>
@class MVFileUpload;
///////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////
@protocol MVFileUploadDelegate <NSObject>
@optional
- (void)fileUpload:(MVFileUpload*)fileUpload didFailWithError:(NSString*)error;
- (void)fileUploadDidSuccess:(MVFileUpload*)fileUpload;
- (void)fileUploadDidStartUpload:(MVFileUpload*)fileUpload;
- (void)fileUpload:(MVFileUpload*)fileUpload didChangeProgression:(float)progression
bytesRead:(long)bytesRead
totalBytes:(long)totalBytes;
@end