diff --git a/NSBundle+SUAdditions.h b/NSBundle+SUAdditions.h index e0fb9bbb..a5f124d0 100644 --- a/NSBundle+SUAdditions.h +++ b/NSBundle+SUAdditions.h @@ -6,7 +6,8 @@ // Copyright 2007 Andy Matuschak. All rights reserved. // -#import +#ifndef NSBUNDLE_PLUS_ADDITIONS_H +#define NSBUNDLE_PLUS_ADDITIONS_H @interface NSBundle (SUAdditions) /*! @@ -43,3 +44,5 @@ */ - (BOOL)isRunningFromDiskImage; @end + +#endif \ No newline at end of file diff --git a/NSBundle+SUAdditions.m b/NSBundle+SUAdditions.m index 8a2d0d64..ff91fc60 100644 --- a/NSBundle+SUAdditions.m +++ b/NSBundle+SUAdditions.m @@ -6,8 +6,8 @@ // Copyright 2007 Andy Matuschak. All rights reserved. // +#import "Sparkle.h" #import "NSBundle+SUAdditions.h" -#import "NSWorkspace_RBAdditions.h" @implementation NSBundle (SUAdditions) diff --git a/NSFileManager+Authentication.h b/NSFileManager+Authentication.h index 8e515037..be525358 100644 --- a/NSFileManager+Authentication.h +++ b/NSFileManager+Authentication.h @@ -6,8 +6,11 @@ // Copyright 2006 Andy Matuschak. All rights reserved. // -#import "Sparkle.h" +#ifndef NSFILEMANAGER_PLUS_AUTHENTICATION_H +#define NSFILEMANAGER_PLUS_AUTHENTICATION_H @interface NSFileManager (SUAuthenticationAdditions) - (BOOL)copyPath:(NSString *)src overPath:(NSString *)dst withAuthentication:(BOOL)useAuthentication; @end + +#endif \ No newline at end of file diff --git a/NSFileManager+Authentication.m b/NSFileManager+Authentication.m index dcce68bb..790daf52 100644 --- a/NSFileManager+Authentication.m +++ b/NSFileManager+Authentication.m @@ -8,6 +8,7 @@ // This code based on generous contribution from Allan Odgaard. Thanks, Allan! +#import "Sparkle.h" #import "NSFileManager+Authentication.h" #import diff --git a/NSFileManager+Verification.h b/NSFileManager+Verification.h index 850e7240..36193a1d 100644 --- a/NSFileManager+Verification.h +++ b/NSFileManager+Verification.h @@ -6,9 +6,12 @@ // Copyright 2006 Andy Matuschak. All rights reserved. // -#import +#ifndef NSFILEMANAGER_PLUS_VERIFICATION_H +#define NSFILEMANAGER_PLUS_VERIFICATION_H // For the paranoid folks! @interface NSFileManager (SUVerification) - (BOOL)validatePath:(NSString *)path withEncodedDSASignature:(NSString *)encodedSignature withPublicDSAKey:(NSString *)pkeyString; @end + +#endif \ No newline at end of file diff --git a/NSFileManager+Verification.m b/NSFileManager+Verification.m index 42840b58..51d0a62d 100644 --- a/NSFileManager+Verification.m +++ b/NSFileManager+Verification.m @@ -8,6 +8,7 @@ // DSA stuff adapted from code provided by Allan Odgaard. Thanks, Allan! +#import "Sparkle.h" #import "NSFileManager+Verification.h" #import diff --git a/NSString+extras.h b/NSString+extras.h index 3a7fccbe..4ddf9f7f 100644 --- a/NSString+extras.h +++ b/NSString+extras.h @@ -31,6 +31,9 @@ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMA */ +#ifndef NSSTRING_PLUS_EXTRAS_H +#define NSSTRING_PLUS_EXTRAS_H + /* NSString+extras.h @@ -59,3 +62,5 @@ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMA @end + +#endif \ No newline at end of file diff --git a/NSString+extras.m b/NSString+extras.m index 28a1d293..a252c881 100644 --- a/NSString+extras.m +++ b/NSString+extras.m @@ -40,6 +40,7 @@ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMA Copyright (c) 2002 Brent Simmons. All rights reserved. */ +#import "Sparkle.h" #import "NSString+extras.h" diff --git a/NSWorkspace_RBAdditions.h b/NSWorkspace_RBAdditions.h index ae09bc64..265785d4 100644 --- a/NSWorkspace_RBAdditions.h +++ b/NSWorkspace_RBAdditions.h @@ -6,7 +6,9 @@ // Copyright 2007 Rainer Brockerhoff. All rights reserved. // -#import +#ifndef NSWORKSPACE_RBADDITIONS_H +#define NSWORKSPACE_RBADDITIONS_H + extern NSString* NSWorkspace_RBfstypename; extern NSString* NSWorkspace_RBmntonname; @@ -35,3 +37,5 @@ extern NSString* NSWorkspace_RBserverURL; - (NSDictionary*)propertiesForPath:(NSString*)path; @end + +#endif \ No newline at end of file diff --git a/NSWorkspace_RBAdditions.m b/NSWorkspace_RBAdditions.m index 8942904a..4e120476 100644 --- a/NSWorkspace_RBAdditions.m +++ b/NSWorkspace_RBAdditions.m @@ -6,7 +6,9 @@ // Copyright 2007 Rainer Brockerhoff. All rights reserved. // +#import "Sparkle.h" #import "NSWorkspace_RBAdditions.h" + #include #include #include diff --git a/NTSynchronousTask.h b/NTSynchronousTask.h index ee946db7..dce0eee9 100644 --- a/NTSynchronousTask.h +++ b/NTSynchronousTask.h @@ -6,7 +6,8 @@ // Copyright 2005 __MyCompanyName__. All rights reserved. // -#import +#ifndef NTSYNCHRONOUSTASK_H +#define NTSYNCHRONOUSTASK_H @interface NTSynchronousTask : NSObject { @@ -24,3 +25,5 @@ + (NSData*)task:(NSString*)toolPath directory:(NSString*)currentDirectory withArgs:(NSArray*)args input:(NSData*)input; @end + +#endif \ No newline at end of file diff --git a/NTSynchronousTask.m b/NTSynchronousTask.m index 3debab3c..d2ff7db2 100644 --- a/NTSynchronousTask.m +++ b/NTSynchronousTask.m @@ -6,6 +6,7 @@ // Copyright 2005 __MyCompanyName__. All rights reserved. // +#import "Sparkle.h" #import "NTSynchronousTask.h" @interface NTSynchronousTask (Private) diff --git a/RSS.h b/RSS.h index 82da04a4..dd3c9e4b 100644 --- a/RSS.h +++ b/RSS.h @@ -31,6 +31,10 @@ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMA */ +#ifndef RSS_H +#define RSS_H + + /* RSS.h A class for reading RSS feeds. @@ -96,3 +100,5 @@ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMA - (NSString *) getelementvalue: (CFXMLTreeRef) tree; @end + +#endif \ No newline at end of file diff --git a/RSS.m b/RSS.m index 90ca8367..b73db123 100644 --- a/RSS.m +++ b/RSS.m @@ -40,6 +40,7 @@ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMA */ +#import "Sparkle.h" #import "RSS.h" #if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_4 diff --git a/SUAppcast.h b/SUAppcast.h index 3b08d153..436e13cd 100644 --- a/SUAppcast.h +++ b/SUAppcast.h @@ -6,7 +6,8 @@ // Copyright 2006 Andy Matuschak. All rights reserved. // -#import "Sparkle.h" +#ifndef SUAPPCAST_H +#define SUAPPCAST_H @class RSS, SUAppcastItem; @interface SUAppcast : NSObject { @@ -27,3 +28,5 @@ - (void)appcastDidFailToLoad:(SUAppcast *)appcast; - (NSString *)userAgentForAppcast:(SUAppcast *)appcast; @end + +#endif \ No newline at end of file diff --git a/SUAppcast.m b/SUAppcast.m index 608872fe..47a41ebd 100644 --- a/SUAppcast.m +++ b/SUAppcast.m @@ -6,8 +6,8 @@ // Copyright 2006 Andy Matuschak. All rights reserved. // +#import "Sparkle.h" #import "SUAppcast.h" -#import "RSS.h" @implementation SUAppcast diff --git a/SUAppcastItem.h b/SUAppcastItem.h index e6e0d320..de2f60ba 100644 --- a/SUAppcastItem.h +++ b/SUAppcastItem.h @@ -6,7 +6,9 @@ // Copyright 2006 Andy Matuschak. All rights reserved. // -#import "Sparkle.h" +#ifndef SUAPPCASTITEM_H +#define SUAPPCASTITEM_H + @interface SUAppcastItem : NSObject { NSString *title; @@ -59,3 +61,5 @@ - (void)setMinimumSystemVersion:(NSString *)systemVersionString; @end + +#endif \ No newline at end of file diff --git a/SUAppcastItem.m b/SUAppcastItem.m index 0f935c14..4d482bc5 100644 --- a/SUAppcastItem.m +++ b/SUAppcastItem.m @@ -6,6 +6,7 @@ // Copyright 2006 Andy Matuschak. All rights reserved. // +#import "Sparkle.h" #import "SUAppcastItem.h" @implementation SUAppcastItem diff --git a/SUAutomaticUpdateAlert.h b/SUAutomaticUpdateAlert.h index 5784199f..47174807 100644 --- a/SUAutomaticUpdateAlert.h +++ b/SUAutomaticUpdateAlert.h @@ -6,7 +6,8 @@ // Copyright 2006 Andy Matuschak. All rights reserved. // -#import "Sparkle.h" +#ifndef SUAUTOMATICUPDATEALERT_H +#define SUAUTOMATICUPDATEALERT_H @class SUAppcastItem; @interface SUAutomaticUpdateAlert : NSWindowController { @@ -20,3 +21,5 @@ - (IBAction)relaunchLater:sender; @end + +#endif \ No newline at end of file diff --git a/SUAutomaticUpdateAlert.m b/SUAutomaticUpdateAlert.m index 9bdd32c7..4948b3b6 100644 --- a/SUAutomaticUpdateAlert.m +++ b/SUAutomaticUpdateAlert.m @@ -6,6 +6,7 @@ // Copyright 2006 Andy Matuschak. All rights reserved. // +#import "Sparkle.h" #import "SUAutomaticUpdateAlert.h" @implementation SUAutomaticUpdateAlert diff --git a/SUConstants.h b/SUConstants.h index 55138978..1562ba11 100644 --- a/SUConstants.h +++ b/SUConstants.h @@ -6,6 +6,11 @@ // Copyright 2006 Andy Matuschak. All rights reserved. // + +#ifndef SUCONSTANTS_H +#define SUCONSTANTS_H + + extern NSString *SUUpdaterWillRestartNotification; extern NSString *SUFeedURLKey; @@ -23,15 +28,18 @@ extern NSString *SUEnableAutomaticChecksKey; // NSInteger is a type that was added to Leopard. // Here is some glue to ensure that NSInteger will work with pre-10.5 SDKs: #ifndef NSINTEGER_DEFINED -#ifdef NS_BUILD_32_LIKE_64 -typedef long NSInteger; -typedef unsigned long NSUInteger; -#else -typedef int NSInteger; -typedef unsigned int NSUInteger; -#endif -#define NSIntegerMax LONG_MAX -#define NSIntegerMin LONG_MIN -#define NSUIntegerMax ULONG_MAX -#define NSINTEGER_DEFINED 1 + #ifdef NS_BUILD_32_LIKE_64 + typedef long NSInteger; + typedef unsigned long NSUInteger; + #else + typedef int NSInteger; + typedef unsigned int NSUInteger; + #endif + #define NSIntegerMax LONG_MAX + #define NSIntegerMin LONG_MIN + #define NSUIntegerMax ULONG_MAX + #define NSINTEGER_DEFINED 1 #endif + + +#endif \ No newline at end of file diff --git a/SUConstants.m b/SUConstants.m index 3d713271..2f3cae47 100644 --- a/SUConstants.m +++ b/SUConstants.m @@ -6,7 +6,8 @@ // Copyright 2006 Andy Matuschak. All rights reserved. // -#import +#import "Sparkle.h" +#import "SUConstants.h" NSString *SUUpdaterWillRestartNotification = @"SUUpdaterWillRestartNotificationName"; diff --git a/SUStandardVersionComparator.h b/SUStandardVersionComparator.h index 1c021457..35364591 100644 --- a/SUStandardVersionComparator.h +++ b/SUStandardVersionComparator.h @@ -6,7 +6,11 @@ // Copyright 2007 __MyCompanyName__. All rights reserved. // -#import "Sparkle.h" +#ifndef SUSTANDARDVERSIONCOMPARATOR_H +#define SUSTANDARDVERSIONCOMPARATOR_H + + +#import "SUVersionComparisonProtocol.h" /*! @class @@ -28,3 +32,5 @@ */ - (NSComparisonResult)compareVersion:(NSString *)versionA toVersion:(NSString *)versionB; @end + +#endif \ No newline at end of file diff --git a/SUStandardVersionComparator.m b/SUStandardVersionComparator.m index 0aa30a69..123f6e59 100644 --- a/SUStandardVersionComparator.m +++ b/SUStandardVersionComparator.m @@ -6,6 +6,7 @@ // Copyright 2007 __MyCompanyName__. All rights reserved. // +#import "Sparkle.h" #import "SUStandardVersionComparator.h" @implementation SUStandardVersionComparator diff --git a/SUStatusChecker.h b/SUStatusChecker.h index 2913ea88..ec79876d 100644 --- a/SUStatusChecker.h +++ b/SUStatusChecker.h @@ -5,6 +5,9 @@ // Created by Evan Schoenberg on 7/6/06. // +#ifndef SUSTATUSCHECKER_H +#define SUSTATUSCHECKER_H + #import "SUUpdater.h" @class SUStatusChecker; @@ -23,3 +26,5 @@ + (SUStatusChecker *)statusCheckerForDelegate:(id)delegate; @end + +#endif \ No newline at end of file diff --git a/SUStatusChecker.m b/SUStatusChecker.m index 8894fa2a..72ce7561 100644 --- a/SUStatusChecker.m +++ b/SUStatusChecker.m @@ -5,6 +5,7 @@ // Created by Evan Schoenberg on 7/6/06. // +#import "Sparkle.h" #import "SUStatusChecker.h" @interface SUStatusChecker (Private) diff --git a/SUStatusController.h b/SUStatusController.h index ec91c51b..94ce2ec9 100644 --- a/SUStatusController.h +++ b/SUStatusController.h @@ -6,7 +6,9 @@ // Copyright 2006 Andy Matuschak. All rights reserved. // -#import "Sparkle.h" +#ifndef SUSTATUSCONTROLLER_H +#define SUSTATUSCONTROLLER_H + @interface SUStatusController : NSWindowController { double progressValue, maxProgressValue; @@ -34,3 +36,5 @@ - (void)setStatusText:(NSString *)statusText; @end + +#endif \ No newline at end of file diff --git a/SUStatusController.m b/SUStatusController.m index 1a78c482..0b2c8e43 100644 --- a/SUStatusController.m +++ b/SUStatusController.m @@ -6,6 +6,7 @@ // Copyright 2006 Andy Matuschak. All rights reserved. // +#import "Sparkle.h" #import "SUStatusController.h" @implementation SUStatusController diff --git a/SUSystemProfiler.h b/SUSystemProfiler.h index 5a1b4342..3fd04c0b 100644 --- a/SUSystemProfiler.h +++ b/SUSystemProfiler.h @@ -6,8 +6,11 @@ // Copyright 2007 __MyCompanyName__. All rights reserved. // -#import "Sparkle.h" +#ifndef SUSYSTEMPROFILER_H +#define SUSYSTEMPROFILER_H @interface SUSystemProfiler : NSObject {} + (NSURL *)profiledURLForAppcastURL:(NSURL *)appcastURL hostBundle:(NSBundle *)hostBundle; @end + +#endif \ No newline at end of file diff --git a/SUSystemProfiler.m b/SUSystemProfiler.m index 0761ebe6..07242a1d 100644 --- a/SUSystemProfiler.m +++ b/SUSystemProfiler.m @@ -6,8 +6,9 @@ // Copyright 2007 __MyCompanyName__. All rights reserved. // +#import "Sparkle.h" #import "SUSystemProfiler.h" -#import "NSBundle+SUAdditions.h" + #import @implementation SUSystemProfiler diff --git a/SUUnarchiver.h b/SUUnarchiver.h index c008ab1f..e5a5748d 100644 --- a/SUUnarchiver.h +++ b/SUUnarchiver.h @@ -6,7 +6,8 @@ // Copyright 2006 Andy Matuschak. All rights reserved. // -#import "Sparkle.h" +#ifndef SUUNARCHIVER_H +#define SUUNARCHIVER_H @interface SUUnarchiver : NSObject { id delegate; @@ -22,3 +23,5 @@ - (void)unarchiverDidFinish:(SUUnarchiver *)unarchiver; - (void)unarchiverDidFail:(SUUnarchiver *)unarchiver; @end + +#endif \ No newline at end of file diff --git a/SUUnarchiver.m b/SUUnarchiver.m index 94206adf..0994139c 100644 --- a/SUUnarchiver.m +++ b/SUUnarchiver.m @@ -6,9 +6,9 @@ // Copyright 2006 Andy Matuschak. All rights reserved. // + +#import "Sparkle.h" #import "SUUnarchiver.h" -#import -#import "NTSynchronousTask.h" @implementation SUUnarchiver diff --git a/SUUpdateAlert.h b/SUUpdateAlert.h index ac03a404..ae5dcc99 100644 --- a/SUUpdateAlert.h +++ b/SUUpdateAlert.h @@ -6,7 +6,8 @@ // Copyright 2006 Andy Matuschak. All rights reserved. // -#import "Sparkle.h" +#ifndef SUUPDATEALERT_H +#define SUUPDATEALERT_H typedef enum { @@ -39,3 +40,5 @@ typedef enum @interface NSObject (SUUpdateAlertDelegate) - (void)updateAlert:(SUUpdateAlert *)updateAlert finishedWithChoice:(SUUpdateAlertChoice)updateChoice; @end + +#endif \ No newline at end of file diff --git a/SUUpdateAlert.m b/SUUpdateAlert.m index 820f5a12..d94383f4 100644 --- a/SUUpdateAlert.m +++ b/SUUpdateAlert.m @@ -6,7 +6,9 @@ // Copyright 2006 Andy Matuschak. All rights reserved. // +#import "Sparkle.h" #import "SUUpdateAlert.h" + #import @implementation SUUpdateAlert diff --git a/SUUpdater+Authentication.m b/SUUpdater+Authentication.m index b622abe2..f1846529 100644 --- a/SUUpdater+Authentication.m +++ b/SUUpdater+Authentication.m @@ -6,8 +6,12 @@ // Copyright 2006 __MyCompanyName__. All rights reserved. // +#import "Sparkle.h" #import "SUUpdater.h" -#import "sys/stat.h" + +#import +#import +#import #import @implementation SUUpdater (SUAuthenticationAdditions) diff --git a/SUUpdater+DSA.m b/SUUpdater+DSA.m index 3567176a..b642cc71 100644 --- a/SUUpdater+DSA.m +++ b/SUUpdater+DSA.m @@ -8,7 +8,9 @@ // Thanks to Allan Odgaard for this code! +#import "Sparkle.h" #import "SUUpdater.h" + #import #import #import diff --git a/SUUpdater.h b/SUUpdater.h index c3d1906a..5d4a9db0 100644 --- a/SUUpdater.h +++ b/SUUpdater.h @@ -6,7 +6,8 @@ // Copyright 2006 Andy Matuschak. All rights reserved. // -#import +#ifndef SUUPDATER_H +#define SUUPDATER_H // Before you use Sparkle in your app, you must set SUFeedURL in Info.plist to the // address of the appcast on your webserver. If you don't already have an @@ -53,18 +54,17 @@ @end -#import "Sparkle.h" - - // Define some minimum intervals to avoid DOS-like checking attacks. These are in seconds. #ifdef DEBUG -#define SU_MIN_CHECK_INTERVAL 60 + #define SU_MIN_CHECK_INTERVAL 60 #else -#define SU_MIN_CHECK_INTERVAL 60*60 + #define SU_MIN_CHECK_INTERVAL 60*60 #endif #ifdef DEBUG -#define SU_DEFAULT_CHECK_INTERVAL 60 + #define SU_DEFAULT_CHECK_INTERVAL 60 #else -#define SU_DEFAULT_CHECK_INTERVAL 60*60*24 + #define SU_DEFAULT_CHECK_INTERVAL 60*60*24 +#endif + #endif \ No newline at end of file diff --git a/SUUpdater.m b/SUUpdater.m index e6fe255a..03aed624 100644 --- a/SUUpdater.m +++ b/SUUpdater.m @@ -6,7 +6,9 @@ // Copyright 2006 Andy Matuschak. All rights reserved. // +#import "Sparkle.h" #import "SUUpdater.h" + #import #import #import diff --git a/SUUserDefaults.h b/SUUserDefaults.h index 70bb19cb..5023e7e7 100644 --- a/SUUserDefaults.h +++ b/SUUserDefaults.h @@ -6,7 +6,8 @@ // Copyright 2007 __MyCompanyName__. All rights reserved. // -#import +#ifndef SUUSERDEFAULTS_H +#define SUUSERDEFAULTS_H /*! @class @@ -36,3 +37,5 @@ - (BOOL)boolForKey:(NSString *)defaultName; - (void)setBool:(BOOL)value forKey:(NSString *)defaultName; @end + +#endif \ No newline at end of file diff --git a/SUUserDefaults.m b/SUUserDefaults.m index b8c6aaf2..e8742a7e 100644 --- a/SUUserDefaults.m +++ b/SUUserDefaults.m @@ -6,9 +6,9 @@ // Copyright 2007 __MyCompanyName__. All rights reserved. // +#import "Sparkle.h" #import "SUUserDefaults.h" - @implementation SUUserDefaults + (SUUserDefaults *)standardUserDefaults diff --git a/SUVersionComparisonProtocol.h b/SUVersionComparisonProtocol.h index 1fafdeb5..8a52b248 100644 --- a/SUVersionComparisonProtocol.h +++ b/SUVersionComparisonProtocol.h @@ -6,7 +6,8 @@ // Copyright 2007 __MyCompanyName__. All rights reserved. // -#import +#ifndef SUVERSIONCOMPARISONPROTOCOL_H +#define SUVERSIONCOMPARISONPROTOCOL_H /*! @protocol @@ -22,3 +23,5 @@ - (NSComparisonResult)compareVersion:(NSString *)versionA toVersion:(NSString *)versionB; @end + +#endif \ No newline at end of file diff --git a/Sparkle.h b/Sparkle.h index 0ddfe6be..6caa17e3 100644 --- a/Sparkle.h +++ b/Sparkle.h @@ -2,15 +2,17 @@ // Sparkle.h // Sparkle // -// Created by Andy Matuschak on 3/16/06. +// Created by Andy Matuschak on 3/16/06. (Modified by CDHW on 23/12/07) // Copyright 2006 Andy Matuschak. All rights reserved. // // // Prefix header for all source files of the 'Sparkle' target in the 'Sparkle' project. // + #ifndef SPARKLE_H #define SPARKLE_H + #define SULocalizedString(key,comment) NSLocalizedStringFromTableInBundle(key, @"Sparkle", [NSBundle bundleForClass:[self class]], comment) #ifdef __OBJC__ @@ -24,24 +26,33 @@ // This returns a version string of the form X.Y.Z #define SUSystemVersionString() [[NSDictionary dictionaryWithContentsOfFile:@"/System/Library/CoreServices/SystemVersion.plist"] objectForKey:@"ProductVersion"] -#import "SUUpdater.h" -#import "SUConstants.h" -#import "SUAppcast.h" -#import "SUAppcastItem.h" -#import "SUUpdateAlert.h" -#import "SUAutomaticUpdateAlert.h" -#import "SUStatusController.h" -#import "SUUnarchiver.h" -#import "SUStatusChecker.h" -#import "SUUserDefaults.h" -#import "SUVersionComparisonProtocol.h" -#import "SUStandardVersionComparator.h" +// 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 "NSBundle+SUAdditions.h" #import "NSFileManager+Authentication.h" #import "NSFileManager+Verification.h" -#import "NSBundle+SUAdditions.h" +#import "NSString+extras.h" +#import "NSWorkspace_RBAdditions.h" + +#import "NTSynchronousTask.h" + +#import "RSS.h" + +#import "SUAppcast.h" +#import "SUAppcastItem.h" +#import "SUAutomaticUpdateAlert.h" +#import "SUConstants.h" +#import "SUStandardVersionComparator.h" +#import "SUStatusChecker.h" +#import "SUStatusController.h" +#import "SUSystemProfiler.h" +#import "SUUnarchiver.h" +#import "SUUpdateAlert.h" +#import "SUUpdater.h" +#import "SUUserDefaults.h" +#import "SUVersionComparisonProtocol.h" -#else -/* Sparkle.h included more than once */ #endif diff --git a/relaunch.m b/relaunch.m index 568e759e..1482d13e 100644 --- a/relaunch.m +++ b/relaunch.m @@ -1,5 +1,6 @@ // gcc -Wall -arch i386 -arch ppc -Os -s -framework AppKit -o relaunch relaunch.m +#import "Sparkle.h" #import #import