summaryrefslogtreecommitdiffstats
path: root/macosx/Sparkle.framework/Versions/A/Headers/SUVersionDisplayProtocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/Sparkle.framework/Versions/A/Headers/SUVersionDisplayProtocol.h')
-rw-r--r--macosx/Sparkle.framework/Versions/A/Headers/SUVersionDisplayProtocol.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/macosx/Sparkle.framework/Versions/A/Headers/SUVersionDisplayProtocol.h b/macosx/Sparkle.framework/Versions/A/Headers/SUVersionDisplayProtocol.h
index 97fae4c90..980efb3fe 100644
--- a/macosx/Sparkle.framework/Versions/A/Headers/SUVersionDisplayProtocol.h
+++ b/macosx/Sparkle.framework/Versions/A/Headers/SUVersionDisplayProtocol.h
@@ -6,7 +6,11 @@
// 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"
/*!
@@ -20,6 +24,6 @@
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