From 8e148297c9ef0feda357265c91597d85769db6df Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Thu, 26 Mar 2009 02:29:06 +0000 Subject: - 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. --- .../A/Headers/SUVersionComparisonProtocol.h | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Frameworks/Sparkle.framework/Versions/A/Headers/SUVersionComparisonProtocol.h (limited to 'Frameworks/Sparkle.framework/Versions/A/Headers/SUVersionComparisonProtocol.h') 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 -- cgit v1.2.3