-
Notifications
You must be signed in to change notification settings - Fork 18
/
FeedItem.h
executable file
·67 lines (61 loc) · 1.69 KB
/
FeedItem.h
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
//
// FeedItem.h
// Frenzy
//
// Created by John Winter on 16/06/10.
// Copyright 2010 Aptonic Software. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "Dropbox.h"
#define FeedItemURLType @"link"
#define FeedItemMessageType @"message"
#define FeedItemReplyType @"reply"
#define FeedItemFileType @"files"
@interface FeedItem : NSObject {
int itemTimestamp;
int clockSkew;
NSString *type;
NSString *title;
NSArray *messages;
NSArray *files;
NSString *filesDirectory;
NSString *originalSender;
NSString *originalItemID;
NSString *message;
NSArray *to;
NSString *url;
NSString *avatarPath;
NSString *feedName;
NSString *replyTo;
NSString *replyToID;
NSString *replaces;
NSString *uniqueID;
NSString *itemID;
NSMutableArray *sharedFolders;
NSDictionary *itemAsDictionaryCache;
}
@property (nonatomic) int itemTimestamp;
@property int clockSkew;
@property (retain) NSString *type;
@property (retain) NSString *title;
@property (retain) NSString *message;
@property (retain) NSArray *messages;
@property (retain) NSArray *files;
@property (retain) NSArray *to;
@property (retain) NSString *url;
@property (retain) NSString *avatarPath;
@property (retain) NSString *feedName;
@property (retain) NSString *replyTo;
@property (retain) NSString *replyToID;
@property (retain) NSString *replaces;
@property (retain) NSString *uniqueID;
@property (retain) NSString *itemID;
@property (retain) NSString *originalItemID;
@property (retain) NSString *filesDirectory;
@property (retain) NSString *originalSender;
@property (retain) NSMutableArray *sharedFolders;
- (NSDictionary *)getItemAsDict;
- (NSString *)actionText;
- (NSString *)avatarPathForUniqueID:(NSString *)aUniqueID;
- (void)recacheItemDict;
@end