diff --git a/Sparkle/SPUDownloadData.h b/Sparkle/SPUDownloadData.h index dffd271c..e18e657e 100644 --- a/Sparkle/SPUDownloadData.h +++ b/Sparkle/SPUDownloadData.h @@ -7,7 +7,7 @@ // #import -#import +#import "SUExport.h" NS_ASSUME_NONNULL_BEGIN diff --git a/Sparkle/SUAppcast.h b/Sparkle/SUAppcast.h index b21e59c9..a2f5ff1f 100644 --- a/Sparkle/SUAppcast.h +++ b/Sparkle/SUAppcast.h @@ -10,7 +10,7 @@ #define SUAPPCAST_H #import -#import +#import "SUExport.h" NS_ASSUME_NONNULL_BEGIN diff --git a/Sparkle/SUAppcastItem.h b/Sparkle/SUAppcastItem.h index b85b9865..50999d59 100644 --- a/Sparkle/SUAppcastItem.h +++ b/Sparkle/SUAppcastItem.h @@ -10,7 +10,7 @@ #define SUAPPCASTITEM_H #import -#import +#import "SUExport.h" @class SUSignatures; SU_EXPORT @interface SUAppcastItem : NSObject diff --git a/Sparkle/SUErrors.h b/Sparkle/SUErrors.h index 02e504b7..9a29fed8 100644 --- a/Sparkle/SUErrors.h +++ b/Sparkle/SUErrors.h @@ -10,7 +10,7 @@ #define SUERRORS_H #import -#import +#import "SUExport.h" /** * Error domain used by Sparkle diff --git a/Sparkle/SUFileManager.m b/Sparkle/SUFileManager.m index 2b7f1035..8b29d440 100644 --- a/Sparkle/SUFileManager.m +++ b/Sparkle/SUFileManager.m @@ -7,7 +7,7 @@ // #import "SUFileManager.h" -#import +#import "SUErrors.h" #include #include diff --git a/Sparkle/SUStandardVersionComparator.h b/Sparkle/SUStandardVersionComparator.h index 1190d12c..acd6711e 100644 --- a/Sparkle/SUStandardVersionComparator.h +++ b/Sparkle/SUStandardVersionComparator.h @@ -10,8 +10,8 @@ #define SUSTANDARDVERSIONCOMPARATOR_H #import -#import -#import +#import "SUExport.h" +#import "SUVersionComparisonProtocol.h" NS_ASSUME_NONNULL_BEGIN diff --git a/Sparkle/SUUpdater.h b/Sparkle/SUUpdater.h index c2a1b309..d50fc333 100644 --- a/Sparkle/SUUpdater.h +++ b/Sparkle/SUUpdater.h @@ -10,10 +10,10 @@ #define SUUPDATER_H #import -#import -#import -#import -#import +#import "SUExport.h" +#import "SUVersionComparisonProtocol.h" +#import "SUVersionDisplayProtocol.h" +#import "SUUpdaterDelegate.h" @class SUAppcastItem, SUAppcast, NSMenuItem; diff --git a/Sparkle/SUUpdaterDelegate.h b/Sparkle/SUUpdaterDelegate.h index f50bb3ec..c5f8ac7a 100644 --- a/Sparkle/SUUpdaterDelegate.h +++ b/Sparkle/SUUpdaterDelegate.h @@ -7,7 +7,7 @@ // #import -#import +#import "SUExport.h" @protocol SUVersionComparison, SUVersionDisplay; @class SUUpdater, SUAppcast, SUAppcastItem; diff --git a/Sparkle/SUVersionDisplayProtocol.h b/Sparkle/SUVersionDisplayProtocol.h index 2efc4e7d..623ca16b 100644 --- a/Sparkle/SUVersionDisplayProtocol.h +++ b/Sparkle/SUVersionDisplayProtocol.h @@ -7,7 +7,7 @@ // #import -#import +#import "SUExport.h" /*! Applies special display formatting to version numbers. diff --git a/Sparkle/Sparkle.h b/Sparkle/Sparkle.h index 3b4bfe63..a3ec078f 100644 --- a/Sparkle/Sparkle.h +++ b/Sparkle/Sparkle.h @@ -12,27 +12,32 @@ // This list should include the shared headers. It doesn't matter if some of them aren't shared (unless // there are name-space collisions) so we can list all of them to start with: -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import -#import +#pragma clang diagnostic push +// Do not use <> style includes since 2.x has two frameworks that need to work: Sparkle and SparkleCore +#pragma clang diagnostic ignored "-Wquoted-include-in-framework-header" -#import // deprecated -#import // deprecated +#import "SUExport.h" +#import "SUAppcast.h" +#import "SUAppcastItem.h" +#import "SUStandardVersionComparator.h" +#import "SPUUpdater.h" +#import "SPUUpdaterDelegate.h" +#import "SPUUpdaterSettings.h" +#import "SPUStandardUpdaterController.h" +#import "SUVersionComparisonProtocol.h" +#import "SUVersionDisplayProtocol.h" +#import "SUErrors.h" +#import "SPUUpdatePermissionRequest.h" +#import "SUUpdatePermissionResponse.h" +#import "SPUUserDriver.h" +#import "SPUStandardUserDriver.h" +#import "SPUStandardUserDriverDelegate.h" +#import "SPUUserDriverCoreComponent.h" +#import "SPUDownloadData.h" +#import "SUUpdater.h" // deprecated +#import "SUUpdaterDelegate.h" // deprecated + +#pragma clang diagnostic pop #endif