~ubuntu-branches/ubuntu/quantal/sunpinyin/quantal

« back to all changes in this revision

Viewing changes to wrapper/macos/Frameworks/Sparkle.framework/Versions/A/Headers/SUVersionComparisonProtocol.h

  • Committer: Package Import Robot
  • Author(s): YunQiang Su
  • Date: 2012-03-30 15:31:55 UTC
  • mfrom: (1.1.3) (1.2.7 sid)
  • Revision ID: package-import@ubuntu.com-20120330153155-qgls77sogzgtg9zp
Tags: 2.0.3+git20120222-1
* Team upload: git snapshot 20120222.
   - fix breaks if LDFLAGS in environment contains
       multiple words (Closese #646001).
   - rm patches merged to upstream:
       append-os-environ-toenv.patch
       fix-ftbfs-on-sh.patch
       remove-10-candidate-words-limitation.patch
   - refresh disable-lm-dict-compile.patch.
* Bump stardard version to 3.9.3: no modify needed.
* add libsunpinyin3-dbg and python-sunpinyin packages.
* debian/compat to 9, multiarch it.
* rewrite debian/rules with dh 7 format.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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