| Revision 128,
705 bytes
checked in by speck, 4 years ago
(diff) |
|
Fixed missing display of update notes in Sparkle. Embedded Sparkle so subversion has the proper version instead of having to download Sparkle and apply several patches.
|
| Line | |
|---|
| 1 | // |
|---|
| 2 | // SUVersionComparisonProtocol.h |
|---|
| 3 | // Sparkle |
|---|
| 4 | // |
|---|
| 5 | // Created by Andy Matuschak on 12/21/07. |
|---|
| 6 | // Copyright 2007 Andy Matuschak. All rights reserved. |
|---|
| 7 | // |
|---|
| 8 | |
|---|
| 9 | #ifndef SUVERSIONCOMPARISONPROTOCOL_H |
|---|
| 10 | #define SUVERSIONCOMPARISONPROTOCOL_H |
|---|
| 11 | |
|---|
| 12 | /*! |
|---|
| 13 | @protocol |
|---|
| 14 | @abstract Implement this protocol to provide version comparison facilities for Sparkle. |
|---|
| 15 | */ |
|---|
| 16 | @protocol SUVersionComparison |
|---|
| 17 | |
|---|
| 18 | /*! |
|---|
| 19 | @method |
|---|
| 20 | @abstract An abstract method to compare two version strings. |
|---|
| 21 | @discussion Should return NSOrderedAscending if b > a, NSOrderedDescending if b < a, and NSOrderedSame if they are equivalent. |
|---|
| 22 | */ |
|---|
| 23 | - (NSComparisonResult)compareVersion:(NSString *)versionA toVersion:(NSString *)versionB; |
|---|
| 24 | |
|---|
| 25 | @end |
|---|
| 26 | |
|---|
| 27 | #endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.