]> src.bluestatic.org Git - macgdbp.git/blob - Headers/SUAppcast.h
Bump project version to 212.2.
[macgdbp.git] / Headers / SUAppcast.h
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 //
8
9 #ifndef SUAPPCAST_H
10 #define SUAPPCAST_H
11
12 @class SUAppcastItem;
13 @interface SUAppcast : NSObject {
14 NSArray *items;
15 NSString *userAgentString;
16 id delegate;
17 NSString *downloadFilename;
18 }
19
20 - (void)fetchAppcastFromURL:(NSURL *)url;
21 - (void)setDelegate:delegate;
22 - (void)setUserAgentString:(NSString *)userAgentString;
23
24 - (NSArray *)items;
25
26 @end
27
28 @interface NSObject (SUAppcastDelegate)
29 - (void)appcastDidFinishLoading:(SUAppcast *)appcast;
30 - (void)appcast:(SUAppcast *)appcast failedToLoadWithError:(NSError *)error;
31 @end
32
33 #endif