Update dependency.
[cyberduck.git] / lib / Sparkle.framework / Versions / A / Headers / SUAppcastItem.h
blobe4c2a06df415794d29dfc7677215374a56182031
1 //
2 // SUAppcastItem.h
3 // Sparkle
4 //
5 // Created by Andy Matuschak on 3/12/06.
6 // Copyright 2006 Andy Matuschak. All rights reserved.
7 //
9 #ifndef SUAPPCASTITEM_H
10 #define SUAPPCASTITEM_H
12 #import <Foundation/Foundation.h>
13 #import "SUExport.h"
15 SU_EXPORT @interface SUAppcastItem : NSObject
16 @property (copy, readonly) NSString *title;
17 @property (copy, readonly) NSDate *date;
18 @property (copy, readonly) NSString *itemDescription;
19 @property (strong, readonly) NSURL *releaseNotesURL;
20 @property (copy, readonly) NSString *DSASignature;
21 @property (copy, readonly) NSString *minimumSystemVersion;
22 @property (copy, readonly) NSString *maximumSystemVersion;
23 @property (strong, readonly) NSURL *fileURL;
24 @property (copy, readonly) NSString *versionString;
25 @property (copy, readonly) NSString *displayVersionString;
26 @property (copy, readonly) NSDictionary *deltaUpdates;
27 @property (strong, readonly) NSURL *infoURL;
29 // Initializes with data from a dictionary provided by the RSS class.
30 - (instancetype)initWithDictionary:(NSDictionary *)dict;
31 - (instancetype)initWithDictionary:(NSDictionary *)dict failureReason:(NSString **)error;
33 @property (getter=isDeltaUpdate, readonly) BOOL deltaUpdate;
34 @property (getter=isCriticalUpdate, readonly) BOOL criticalUpdate;
36 // Returns the dictionary provided in initWithDictionary; this might be useful later for extensions.
37 @property (readonly, copy) NSDictionary *propertiesDictionary;
39 - (NSURL *)infoURL;
41 @end
43 #endif