aboutsummaryrefslogtreecommitdiffstats
path: root/trunk/Sparkle.framework/Versions/A/Headers/SUAppcastItem.h
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/Sparkle.framework/Versions/A/Headers/SUAppcastItem.h')
-rw-r--r--trunk/Sparkle.framework/Versions/A/Headers/SUAppcastItem.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/trunk/Sparkle.framework/Versions/A/Headers/SUAppcastItem.h b/trunk/Sparkle.framework/Versions/A/Headers/SUAppcastItem.h
new file mode 100644
index 00000000..d0c0523e
--- /dev/null
+++ b/trunk/Sparkle.framework/Versions/A/Headers/SUAppcastItem.h
@@ -0,0 +1,48 @@
+//
+// SUAppcastItem.h
+// Sparkle
+//
+// Created by Andy Matuschak on 3/12/06.
+// Copyright 2006 Andy Matuschak. All rights reserved.
+//
+
+#ifndef SUAPPCASTITEM_H
+#define SUAPPCASTITEM_H
+
+
+@interface SUAppcastItem : NSObject {
+ NSString *title;
+ NSDate *date;
+ NSString *description;
+
+ NSURL *releaseNotesURL;
+
+ NSString *DSASignature;
+ NSString *minimumSystemVersion;
+
+ NSURL *fileURL;
+ NSString *versionString;
+ NSString *displayVersionString;
+
+ NSDictionary *propertiesDictionary;
+}
+
+// Initializes with data from a dictionary provided by the RSS class.
+- initWithDictionary:(NSDictionary *)dict;
+
+- (NSString *)title;
+- (NSString *)versionString;
+- (NSString *)displayVersionString;
+- (NSDate *)date;
+- (NSString *)description;
+- (NSURL *)releaseNotesURL;
+- (NSURL *)fileURL;
+- (NSString *)DSASignature;
+- (NSString *)minimumSystemVersion;
+
+// Returns the dictionary provided in initWithDictionary; this might be useful later for extensions.
+- (NSDictionary *)propertiesDictionary;
+
+@end
+
+#endif