Yini
1.0
Main Page
Related Pages
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Pages
NewsLoader.h
Go to the documentation of this file.
1
//
2
// NewsLoader.h
3
// socioville
4
//
5
// Created by Siqi Wang on 12-6-15.
6
// Copyright (c) 2012年 Universitatea Babeș-Bolyai. All rights reserved.
7
//
8
9
#import <Foundation/Foundation.h>
10
#import <DropboxSDK/DropboxSDK.h>
11
#import "
NewsObjectPhoto.h
"
12
#import "
WSQFileHelper.h
"
13
#import "
WSQFileUploader.h
"
14
15
16
@protocol
NewsLoaderDelegate
<NSObject>
17
18
-(void)
newsLoaderDidLoadNewsList
;
19
-(void)
newsLoaderDidLoadFile
;
20
-(void)
noChange
;
21
-(void)
saveNewsObjectSucceed
;
22
23
@end
24
25
26
@interface
NewsLoader
: NSObject <
WSQFileHelperDelegate
,
WSQFileUploaderDelegate
>
27
{
28
id<NewsLoaderDelegate>
delegate
;
29
30
NSMutableArray *
list
;
31
32
WSQFileHelper
*
manager
;
33
WSQFileUploader
*
uploader
;
34
35
DBRestClient
*
restClient
;
36
37
// BOOL loadingMetadata;
38
}
39
40
@property
(nonatomic, strong)
id
delegate;
41
42
43
+(
NewsLoader
*)sharedLoader;
44
45
-(NSArray*)list;
46
47
-(void)refresh;
48
49
//-(void)getAllNews;
50
51
-(void)loadThumbnailWithDBPath:(NSString*)path;
52
53
//-(void)loadSystemFile;
54
55
-(void)loadMediaFileForNews:(
id
)wsqNews;
56
57
-(void)saveNewsObject:(
id
)newsObject;
58
59
-(void)refreshForNews:(
id
)wsqNews;
60
61
-(void)selfDestory;
62
63
@end
socioville
Classes
Common Views
MasterView
NewsLoader.h
Generated on Thu Aug 9 2012 11:05:51 for Yini by
1.8.1.2