forked from sparkle-project/Sparkle
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delegate can now control how version numbers are formatted/displayed …
…to the user, so we can e.g. exclude build numbers or whatever makes sense for a particular application.
- Loading branch information
Uli Kusterer
committed
Dec 8, 2009
1 parent
cee669c
commit a453afa
Showing
5 changed files
with
77 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// | ||
// SUVersionDisplayProtocol.h | ||
// EyeTV | ||
// | ||
// Created by Uli Kusterer on 08.12.09. | ||
// Copyright 2009 Elgato Systems GmbH. All rights reserved. | ||
// | ||
|
||
#import <Cocoa/Cocoa.h> | ||
|
||
|
||
/*! | ||
@protocol | ||
@abstract Implement this protocol to apply special formatting to the two | ||
version numbers. | ||
*/ | ||
@protocol SUVersionDisplay | ||
|
||
/*! | ||
@method | ||
@abstract An abstract method to format two version strings. | ||
@discussion You get both so you can display important distinguishing | ||
information, but leave out unnecessary/confusing parts. | ||
*/ | ||
-(void) formatVersion: (NSString**)inOutVersionA andVersion: (NSString**)inOutVersionB; | ||
|
||
@end |