Yini  1.0
 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 
20 -(void)noChange;
22 
23 @end
24 
25 
27 {
28  id<NewsLoaderDelegate> delegate;
29 
30  NSMutableArray *list;
31 
34 
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