Yini  1.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
WSQFileUploader.h
Go to the documentation of this file.
1 //
2 // WSQFileUploader.h
3 // WSQFileHelperTestProject
4 //
5 // Created by siqi wang on 12-7-10.
6 // Copyright (c) 2012年 siqi wang. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import <DropboxSDK/DropboxSDK.h>
11 #import "WSQFileHelper.h"
12 @interface WSQFileUploader : NSObject<DBRestClientDelegate>
13 {
14  NSFileManager *manager;
17  NSMutableDictionary *uploadingList;
18 }
19 
20 
21 
22 +(WSQFileUploader *)sharedLoader;
23 
24 -(void)saveSysFileOfNews:(NSString*)name withOldName:(NSString*)oldName;//reture string have not been changed the extension...
25 -(void)saveMediaFileOfNews:(NSString*)name withOldName:(NSString*)oldName;
26 -(NSString*)sysFileUploadingTempPathForNews:(NSString*)name;
27 -(NSString*)mediaFileUploadingTempPathForNews:(NSString*)name;
28 @property (nonatomic, strong) id delegate;
29 
30 -(void)selfDestory;
31 
32 -(void)setDBRootPath;
33 
34 @end
35 
36 @protocol WSQFileUploaderDelegate <NSObject>
37 
38 
39 
40 
41 @optional
42 -(void)fileUploadFinished:(BOOL)isSucceed;
43 @end