File: Element.h

package info (click to toggle)
plopfolio.app 0.1.0-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 792 kB
  • ctags: 41
  • sloc: objc: 3,467; makefile: 40
file content (44 lines) | stat: -rw-r--r-- 623 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44


#import <Foundation/Foundation.h>

#define UNKNOWN   1
#define CHANNEL   1
#define IMAGE     2
#define ITEM      3
#define TEXTINPUT 4


@interface Element : NSObject
{
  NSString *title, *description;
  NSURL *link, *url;
  
  int type;
}

- (id) init;
- (void) dealloc;


//
// access / mutation methods
//
- (NSString *) title;
- (void) setTitle: (NSString *) theTitle;


- (NSString *) description;
- (void) setDescription: (NSString *) theDescription;

- (NSURL *) link;
- (void) setLink: (NSURL *) theLink;

- (NSURL *) url;
- (void) setURL: (NSURL *) theURL;

- (int) type;
- (void) setType: (int) theType;


@end