Yini  1.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
NewsObjectPhoto.h
Go to the documentation of this file.
1 //
2 // NewsObjectPhoto.h
3 // socioville
4 //
5 // TO ADD A PROPERTY:
6 // 1. ADD PROPERTY AND SYNTHESIS IT
7 // 2. INIT WITH DB OBJECT IF IT IS RELATED
8 // 3. ADD TO ENCODE AND DECODE METHOD
9 //
10 //
11 // Created by Siqi Wang on 12-6-15.
12 // Copyright (c) 2012年 Universitatea Babeș-Bolyai. All rights reserved.
13 //
14 
15 #import <Foundation/Foundation.h>
16 #import "WSQNews.h"
17 
18 @interface NewsObjectPhoto : WSQNews<NSCoding>
19 {
20  //NewsObjectPhoto *newsP;
21 
22 }
23 
24 
25 @property (nonatomic, strong) NSString *dbpath;
26 
27 
28 -(NewsObjectPhoto*)loadPhoto;
29 //-(id)initPhotoNewsWith:(WSQNews*)news;
30 //-(id)initWithDBobject:(DBMetadata *)metadata;
31 //-(id)initWithName:(NSString *)name;
32 -(id)initWithSysFilePath:(NSString *)path;
33 -(NSString*)mediaPath;
34 -(NSString*)thumbnailPath;
35 
36 @end