5
// Created by Evan Schoenberg on 7/6/06.
8
#import <Cocoa/Cocoa.h>
9
#import <Sparkle/SUUpdater.h>
11
@class SUStatusChecker;
13
@protocol SUStatusCheckerDelegate <NSObject>
14
//versionString will be nil and isNewVersion will be NO if version checking fails.
15
- (void)statusChecker:(SUStatusChecker *)statusChecker foundVersion:(NSString *)versionString isNewVersion:(BOOL)isNewVersion;
18
@interface SUStatusChecker : SUUpdater {
19
id<SUStatusCheckerDelegate> scDelegate;
22
// Create a status checker which will notifiy delegate once the appcast version is determined.
23
// Notification occurs via the method defined in the SUStatusCheckerDelegate informal protocol.
24
+ (SUStatusChecker *)statusCheckerForDelegate:(id<SUStatusCheckerDelegate>)delegate;