diff options
author | stuconnolly <stuart02@gmail.com> | 2008-12-10 16:52:52 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2008-12-10 16:52:52 +0000 |
commit | fab9a6506cd04ec8f840c98772a80c44a79c74a7 (patch) | |
tree | 3cd483487bef381c934717f10df71d306c7eaf97 /Frameworks/Sparkle.framework/Versions/A/Headers/SUStatusChecker.h | |
parent | 4c3b208fad0572d8d1a79bba1bd1b8147fd0f8a6 (diff) | |
download | sequelpro-fab9a6506cd04ec8f840c98772a80c44a79c74a7.tar.gz sequelpro-fab9a6506cd04ec8f840c98772a80c44a79c74a7.tar.bz2 sequelpro-fab9a6506cd04ec8f840c98772a80c44a79c74a7.zip |
MERGED r262:266 from branches/stuart02 to trunk to include new project structure.
Diffstat (limited to 'Frameworks/Sparkle.framework/Versions/A/Headers/SUStatusChecker.h')
-rwxr-xr-x | Frameworks/Sparkle.framework/Versions/A/Headers/SUStatusChecker.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Frameworks/Sparkle.framework/Versions/A/Headers/SUStatusChecker.h b/Frameworks/Sparkle.framework/Versions/A/Headers/SUStatusChecker.h new file mode 100755 index 00000000..a1fca913 --- /dev/null +++ b/Frameworks/Sparkle.framework/Versions/A/Headers/SUStatusChecker.h @@ -0,0 +1,30 @@ +// +// SUStatusChecker.h +// Sparkle +// +// Created by Evan Schoenberg on 7/6/06. +// + +#ifndef SUSTATUSCHECKER_H +#define SUSTATUSCHECKER_H + +#import "SUUpdater.h" + +@class SUStatusChecker; + +@protocol SUStatusCheckerDelegate <NSObject> +//versionString will be nil and isNewVersion will be NO if version checking fails. +- (void)statusChecker:(SUStatusChecker *)statusChecker foundVersion:(NSString *)versionString isNewVersion:(BOOL)isNewVersion; +@end + +@interface SUStatusChecker : SUUpdater { + id<SUStatusCheckerDelegate> scDelegate; +} + +// Create a status checker which will notifiy delegate once the appcast version is determined. +// Notification occurs via the method defined in the SUStatusCheckerDelegate informal protocol. ++ (SUStatusChecker *)statusCheckerForDelegate:(id<SUStatusCheckerDelegate>)delegate; + +@end + +#endif |