diff options
author | rowanbeentje <rowan@beent.je> | 2009-03-26 02:29:06 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2009-03-26 02:29:06 +0000 |
commit | 8e148297c9ef0feda357265c91597d85769db6df (patch) | |
tree | 4c310ed1669c92ea0e93ff02717a5026e391b2de /Frameworks/Sparkle.framework/Versions/A/Headers/SUVersionComparisonProtocol.h | |
parent | 805aacd10db95bfe5db463a4a4e79efb8a9c8a95 (diff) | |
download | sequelpro-8e148297c9ef0feda357265c91597d85769db6df.tar.gz sequelpro-8e148297c9ef0feda357265c91597d85769db6df.tar.bz2 sequelpro-8e148297c9ef0feda357265c91597d85769db6df.zip |
- Update Sparkle to 1.5b6 (from 1.5b1). This should address Issue #197 as soon as the new framework is used (ie before 0.9.6)
- Add a public key to the project and add a link to it in Info.plist for use by Sparkle when verifying future updates
- Add a new build configuration (Distribution), and add a new script for use with only that configuration - constructs a basic disk image, asks for the private key file, and signs it.
Diffstat (limited to 'Frameworks/Sparkle.framework/Versions/A/Headers/SUVersionComparisonProtocol.h')
-rw-r--r-- | Frameworks/Sparkle.framework/Versions/A/Headers/SUVersionComparisonProtocol.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Frameworks/Sparkle.framework/Versions/A/Headers/SUVersionComparisonProtocol.h b/Frameworks/Sparkle.framework/Versions/A/Headers/SUVersionComparisonProtocol.h new file mode 100644 index 00000000..3d11ae87 --- /dev/null +++ b/Frameworks/Sparkle.framework/Versions/A/Headers/SUVersionComparisonProtocol.h @@ -0,0 +1,27 @@ +// +// SUVersionComparisonProtocol.h +// Sparkle +// +// Created by Andy Matuschak on 12/21/07. +// Copyright 2007 Andy Matuschak. All rights reserved. +// + +#ifndef SUVERSIONCOMPARISONPROTOCOL_H +#define SUVERSIONCOMPARISONPROTOCOL_H + +/*! + @protocol + @abstract Implement this protocol to provide version comparison facilities for Sparkle. +*/ +@protocol SUVersionComparison + +/*! + @method + @abstract An abstract method to compare two version strings. + @discussion Should return NSOrderedAscending if b > a, NSOrderedDescending if b < a, and NSOrderedSame if they are equivalent. +*/ +- (NSComparisonResult)compareVersion:(NSString *)versionA toVersion:(NSString *)versionB; + +@end + +#endif |