summaryrefslogtreecommitdiffstats
path: root/OSX/Sparkle.framework/Versions/A/Headers/SUVersionDisplayProtocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'OSX/Sparkle.framework/Versions/A/Headers/SUVersionDisplayProtocol.h')
-rw-r--r--[-rwxr-xr-x]OSX/Sparkle.framework/Versions/A/Headers/SUVersionDisplayProtocol.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/OSX/Sparkle.framework/Versions/A/Headers/SUVersionDisplayProtocol.h b/OSX/Sparkle.framework/Versions/A/Headers/SUVersionDisplayProtocol.h
index 368b9c9..980efb3 100755..100644
--- a/OSX/Sparkle.framework/Versions/A/Headers/SUVersionDisplayProtocol.h
+++ b/OSX/Sparkle.framework/Versions/A/Headers/SUVersionDisplayProtocol.h
@@ -6,22 +6,24 @@
// Copyright 2009 Elgato Systems GmbH. All rights reserved.
//
-#import <Cocoa/Cocoa.h>
-
+#if __has_feature(modules)
+@import Foundation;
+#else
+#import <Foundation/Foundation.h>
+#endif
+#import "SUExport.h"
/*!
- @protocol
- @abstract Implement this protocol to apply special formatting to the two
- version numbers.
+ Applies special display formatting to 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.
+ Formats two version strings.
+
+ Both versions are provided so that important distinguishing information
+ can be displayed while also leaving out unnecessary/confusing parts.
*/
--(void) formatVersion: (NSString**)inOutVersionA andVersion: (NSString**)inOutVersionB;
+- (void)formatVersion:(NSString *_Nonnull*_Nonnull)inOutVersionA andVersion:(NSString *_Nonnull*_Nonnull)inOutVersionB;
@end