Files
Sparkle/SUAppcast.h
T
andym 87f28934fe Fixed warnings for missing newlines at the end of the file.
Replaced use of SystemVersion.plist with Gestalt()
2007-12-30 05:48:11 +00:00

33 lines
617 B
Objective-C

//
// SUAppcast.h
// Sparkle
//
// Created by Andy Matuschak on 3/12/06.
// Copyright 2006 Andy Matuschak. All rights reserved.
//
#ifndef SUAPPCAST_H
#define SUAPPCAST_H
@class RSS, SUAppcastItem;
@interface SUAppcast : NSObject {
NSArray *items;
id delegate;
}
- (void)fetchAppcastFromURL:(NSURL *)url;
- (void)setDelegate:delegate;
- (SUAppcastItem *)newestItem;
- (NSArray *)items;
@end
@interface NSObject (SUAppcastDelegate)
- (void)appcastDidFinishLoading:(SUAppcast *)appcast;
- (void)appcastDidFailToLoad:(SUAppcast *)appcast;
- (NSString *)userAgentForAppcast:(SUAppcast *)appcast;
@end
#endif