Add Sparkle update framework
[GitX.git] / Sparkle.framework / Versions / A / Headers / SUAppcast.h
blob171148a4d1c810b929c11052da71ad3f6e589749
1 //
2 // SUAppcast.h
3 // Sparkle
4 //
5 // Created by Andy Matuschak on 3/12/06.
6 // Copyright 2006 Andy Matuschak. All rights reserved.
7 //
9 #ifndef SUAPPCAST_H
10 #define SUAPPCAST_H
12 @class SUAppcastItem;
13 @interface SUAppcast : NSObject {
14 NSArray *items;
15 NSString *userAgentString;
16 id delegate;
17 NSMutableData *incrementalData;
20 - (void)fetchAppcastFromURL:(NSURL *)url;
21 - (void)setDelegate:delegate;
22 - (void)setUserAgentString:(NSString *)userAgentString;
24 - (NSArray *)items;
26 @end
28 @interface NSObject (SUAppcastDelegate)
29 - (void)appcastDidFinishLoading:(SUAppcast *)appcast;
30 - (void)appcast:(SUAppcast *)appcast failedToLoadWithError:(NSError *)error;
31 @end
33 #endif