Use double quote includes with pragma ignore warning

This commit is contained in:
Zorg committed 2020-10-03 00:10:24 -07:00
1 parent 852d678585
commit 8c7adbdca7
10 files changed
+38 -33

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@
//
#import <Foundation/Foundation.h>
#import <Sparkle/SUExport.h>
#import "SUExport.h"
NS_ASSUME_NONNULL_BEGIN
+1 -1
View File
@@ -10,7 +10,7 @@
#define SUAPPCAST_H
#import <Foundation/Foundation.h>
#import <Sparkle/SUExport.h>
#import "SUExport.h"
NS_ASSUME_NONNULL_BEGIN
+1 -1
View File
@@ -10,7 +10,7 @@
#define SUAPPCASTITEM_H
#import <Foundation/Foundation.h>
#import <Sparkle/SUExport.h>
#import "SUExport.h"
@class SUSignatures;
SU_EXPORT @interface SUAppcastItem : NSObject<NSSecureCoding>
+1 -1
View File
@@ -10,7 +10,7 @@
#define SUERRORS_H
#import <Foundation/Foundation.h>
#import <Sparkle/SUExport.h>
#import "SUExport.h"
/**
* Error domain used by Sparkle
+1 -1
View File
@@ -7,7 +7,7 @@
//
#import "SUFileManager.h"
#import <Sparkle/SUErrors.h>
#import "SUErrors.h"
#include <sys/xattr.h>
#include <sys/errno.h>
+2 -2
View File
@@ -10,8 +10,8 @@
#define SUSTANDARDVERSIONCOMPARATOR_H
#import <Foundation/Foundation.h>
#import <Sparkle/SUExport.h>
#import <Sparkle/SUVersionComparisonProtocol.h>
#import "SUExport.h"
#import "SUVersionComparisonProtocol.h"
NS_ASSUME_NONNULL_BEGIN
+4 -4
View File
@@ -10,10 +10,10 @@
#define SUUPDATER_H
#import <Cocoa/Cocoa.h>
#import <Sparkle/SUExport.h>
#import <Sparkle/SUVersionComparisonProtocol.h>
#import <Sparkle/SUVersionDisplayProtocol.h>
#import <Sparkle/SUUpdaterDelegate.h>
#import "SUExport.h"
#import "SUVersionComparisonProtocol.h"
#import "SUVersionDisplayProtocol.h"
#import "SUUpdaterDelegate.h"
@class SUAppcastItem, SUAppcast, NSMenuItem;
+1 -1
View File
@@ -7,7 +7,7 @@
//
#import <Foundation/Foundation.h>
#import <Sparkle/SUExport.h>
#import "SUExport.h"
@protocol SUVersionComparison, SUVersionDisplay;
@class SUUpdater, SUAppcast, SUAppcastItem;
+1 -1
View File
@@ -7,7 +7,7 @@
//
#import <Foundation/Foundation.h>
#import <Sparkle/SUExport.h>
#import "SUExport.h"
/*!
Applies special display formatting to version numbers.
+25 -20
View File
@@ -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 <Sparkle/SUExport.h>
#import <Sparkle/SUAppcast.h>
#import <Sparkle/SUAppcastItem.h>
#import <Sparkle/SUStandardVersionComparator.h>
#import <Sparkle/SPUUpdater.h>
#import <Sparkle/SPUUpdaterDelegate.h>
#import <Sparkle/SPUUpdaterSettings.h>
#import <Sparkle/SPUStandardUpdaterController.h>
#import <Sparkle/SUVersionComparisonProtocol.h>
#import <Sparkle/SUVersionDisplayProtocol.h>
#import <Sparkle/SUErrors.h>
#import <Sparkle/SPUUpdatePermissionRequest.h>
#import <Sparkle/SUUpdatePermissionResponse.h>
#import <Sparkle/SPUUserDriver.h>
#import <Sparkle/SPUStandardUserDriver.h>
#import <Sparkle/SPUStandardUserDriverDelegate.h>
#import <Sparkle/SPUUserDriverCoreComponent.h>
#import <Sparkle/SPUDownloadData.h>
#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 <Sparkle/SUUpdater.h> // deprecated
#import <Sparkle/SUUpdaterDelegate.h> // 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