Yini  1.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
WSQNews.h
Go to the documentation of this file.
1 //
2 // WSQNews.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 "WSQFileHelper.h"
12 #import "BWComment.h"
13 
14 //#import "NewsObjectPhoto.h"
15 
20 };
21 
22 @interface WSQNews : NSObject<NSCoding>
23 
24 +(NSArray*)photoExtensions;
25 +(NSArray*)videoExtensions;
26 +(NSArray*)articleExtensions;
27 
28 
29 
30 -(id)initWithMetadataPath:(NSString*)path;
31 -(id)initWithSysFilePath:(NSString *)path;
32 
33 
34 -(NSString*)sysFileFullPath;
35 @property (nonatomic, strong) NSDate *createdDate;
36 @property (nonatomic) int newsType;
37 @property (nonatomic, strong) NSDate *lastModifiedDate;
38 @property (nonatomic, strong) NSString *filename;
39 @property (nonatomic, strong) NSString *newsName;
40 @property (nonatomic, strong) NSArray *commentsArray;
41 @property (nonatomic, strong) NSString *namePath;//sys name path
42 @property (nonatomic, strong) BWUser *author;
43 
44 
45 
46 
47 @end