aboutsummaryrefslogtreecommitdiff
path: root/Sparkle.framework/Versions/A/Headers/SUAppcast.h
diff options
context:
space:
mode:
Diffstat (limited to 'Sparkle.framework/Versions/A/Headers/SUAppcast.h')
-rw-r--r--Sparkle.framework/Versions/A/Headers/SUAppcast.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/Sparkle.framework/Versions/A/Headers/SUAppcast.h b/Sparkle.framework/Versions/A/Headers/SUAppcast.h
new file mode 100644
index 0000000..702f549
--- /dev/null
+++ b/Sparkle.framework/Versions/A/Headers/SUAppcast.h
@@ -0,0 +1,30 @@
+//
+// SUAppcast.h
+// Sparkle
+//
+// Created by Andy Matuschak on 3/12/06.
+// Copyright 2006 Andy Matuschak. All rights reserved.
+//
+
+#ifndef SUAPPCAST_H
+#define SUAPPCAST_H
+
+@protocol SUAppcastDelegate;
+
+@class SUAppcastItem;
+@interface SUAppcast : NSObject <NSURLDownloadDelegate>
+
+@property (weak) id<SUAppcastDelegate> delegate;
+@property (copy) NSString *userAgentString;
+
+- (void)fetchAppcastFromURL:(NSURL *)url;
+
+@property (readonly, copy) NSArray *items;
+@end
+
+@protocol SUAppcastDelegate <NSObject>
+- (void)appcastDidFinishLoading:(SUAppcast *)appcast;
+- (void)appcast:(SUAppcast *)appcast failedToLoadWithError:(NSError *)error;
+@end
+
+#endif