2010-09-20 19:44:17 -05:00
|
|
|
//
|
|
|
|
// SUAppcastItem.h
|
|
|
|
// Sparkle
|
|
|
|
//
|
|
|
|
// Created by Andy Matuschak on 3/12/06.
|
|
|
|
// Copyright 2006 Andy Matuschak. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef SUAPPCASTITEM_H
|
|
|
|
#define SUAPPCASTITEM_H
|
|
|
|
|
2011-02-22 12:00:36 -06:00
|
|
|
@interface SUAppcastItem : NSObject
|
|
|
|
{
|
|
|
|
@private
|
2010-09-20 19:44:17 -05:00
|
|
|
NSString *title;
|
|
|
|
NSDate *date;
|
2011-02-22 12:00:36 -06:00
|
|
|
NSString *itemDescription;
|
2010-09-20 19:44:17 -05:00
|
|
|
|
|
|
|
NSURL *releaseNotesURL;
|
|
|
|
|
|
|
|
NSString *DSASignature;
|
|
|
|
NSString *minimumSystemVersion;
|
|
|
|
|
|
|
|
NSURL *fileURL;
|
|
|
|
NSString *versionString;
|
|
|
|
NSString *displayVersionString;
|
2011-02-22 12:00:36 -06:00
|
|
|
|
|
|
|
NSDictionary *deltaUpdates;
|
|
|
|
|
2010-09-20 19:44:17 -05:00
|
|
|
NSDictionary *propertiesDictionary;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Initializes with data from a dictionary provided by the RSS class.
|
|
|
|
- initWithDictionary:(NSDictionary *)dict;
|
2011-02-22 12:00:36 -06:00
|
|
|
- initWithDictionary:(NSDictionary *)dict failureReason:(NSString**)error;
|
2010-09-20 19:44:17 -05:00
|
|
|
|
|
|
|
- (NSString *)title;
|
|
|
|
- (NSString *)versionString;
|
|
|
|
- (NSString *)displayVersionString;
|
|
|
|
- (NSDate *)date;
|
2011-02-22 12:00:36 -06:00
|
|
|
- (NSString *)itemDescription;
|
2010-09-20 19:44:17 -05:00
|
|
|
- (NSURL *)releaseNotesURL;
|
|
|
|
- (NSURL *)fileURL;
|
|
|
|
- (NSString *)DSASignature;
|
|
|
|
- (NSString *)minimumSystemVersion;
|
2011-02-22 12:00:36 -06:00
|
|
|
- (NSDictionary *)deltaUpdates;
|
|
|
|
- (BOOL)isDeltaUpdate;
|
2010-09-20 19:44:17 -05:00
|
|
|
|
|
|
|
// Returns the dictionary provided in initWithDictionary; this might be useful later for extensions.
|
|
|
|
- (NSDictionary *)propertiesDictionary;
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
#endif
|