Frameworks/Sparkle.framework/Versions/A/Headers/SUVersionComparisonProtocol.h
branchadium-1.5.10.4
changeset 5985 5883c460b8cb
parent 5924 f0f2d246891c
equal deleted inserted replaced
5984:c42b73c02750 5985:5883c460b8cb
     7 //
     7 //
     8 
     8 
     9 #ifndef SUVERSIONCOMPARISONPROTOCOL_H
     9 #ifndef SUVERSIONCOMPARISONPROTOCOL_H
    10 #define SUVERSIONCOMPARISONPROTOCOL_H
    10 #define SUVERSIONCOMPARISONPROTOCOL_H
    11 
    11 
    12 #import <Cocoa/Cocoa.h>
    12 #if __has_feature(modules)
       
    13 @import Foundation;
       
    14 #else
       
    15 #import <Foundation/Foundation.h>
       
    16 #endif
    13 #import "SUExport.h"
    17 #import "SUExport.h"
       
    18 
       
    19 NS_ASSUME_NONNULL_BEGIN
    14 
    20 
    15 /*!
    21 /*!
    16     Provides version comparison facilities for Sparkle.
    22     Provides version comparison facilities for Sparkle.
    17 */
    23 */
    18 @protocol SUVersionComparison
    24 @protocol SUVersionComparison
    25 */
    31 */
    26 - (NSComparisonResult)compareVersion:(NSString *)versionA toVersion:(NSString *)versionB; // *** MAY BE CALLED ON NON-MAIN THREAD!
    32 - (NSComparisonResult)compareVersion:(NSString *)versionA toVersion:(NSString *)versionB; // *** MAY BE CALLED ON NON-MAIN THREAD!
    27 
    33 
    28 @end
    34 @end
    29 
    35 
       
    36 NS_ASSUME_NONNULL_END
    30 #endif
    37 #endif