Sparkle support for automatic updates
[MacVim.git] / src / MacVim / Sparkle.framework / Versions / A / Headers / SUStatusChecker.h
blobe83d15206e4fea3d69800213402287b376126fe6
1 //
2 // SUStatusChecker.h
3 // Sparkle
4 //
5 // Created by Evan Schoenberg on 7/6/06.
6 //
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;
16 @end
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;
26 @end