summaryrefslogtreecommitdiffstats
path: root/macosx/Sparkle.framework/Versions/A/Headers/SUAppcastItem.h
blob: c0202e3d9e4e2b18e40f42e4ae127bda9f8a3614 (plain)
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
//
//  SUAppcastItem.h
//  Sparkle
//
//  Created by Andy Matuschak on 3/12/06.
//  Copyright 2006 Andy Matuschak. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface SUAppcastItem : NSObject {
	NSString *title;
	NSDate *date;
	NSString *description;
	
	NSURL *releaseNotesURL;
	
	NSString *DSASignature;
	NSString *MD5Sum;
	
	NSURL *fileURL;
	NSString *fileVersion;
	NSString *versionString;
}

// Initializes with data from a dictionary provided by the RSS class.
- initWithDictionary:(NSDictionary *)dict;

- (NSString *)title;
- (void)setTitle:(NSString *)aTitle;

- (NSDate *)date;
- (void)setDate:(NSDate *)aDate;

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

- (NSURL *)releaseNotesURL;
- (void)setReleaseNotesURL:(NSURL *)aReleaseNotesURL;

- (NSString *)DSASignature;
- (void)setDSASignature:(NSString *)aDSASignature;

- (NSString *)MD5Sum;
- (void)setMD5Sum:(NSString *)aMd5Sum;

- (NSURL *)fileURL;
- (void)setFileURL:(NSURL *)aFileURL;

- (NSString *)fileVersion;
- (void)setFileVersion:(NSString *)aFileVersion;

- (NSString *)versionString;
- (void)setVersionString:(NSString *)versionString;

@end