source: trunk/macosx/Sparkle.framework/Versions/A/Headers/SUAppcast.h @ 6529

Last change on this file since 6529 was 6529, checked in by livings124, 13 years ago

initial Sparkle 1.5 b5 commit

File size: 668 bytes
Line 
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        NSMutableData *incrementalData;
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
Note: See TracBrowser for help on using the repository browser.