diff options
author | mattlangtree <matt@northofthree.com> | 2008-08-30 16:29:57 +0000 |
---|---|---|
committer | mattlangtree <matt@northofthree.com> | 2008-08-30 16:29:57 +0000 |
commit | 3346039f0a92087d9c45cc8b20ff99fb95f85c38 (patch) | |
tree | cddb09046c01f9be2422039fc1d9fcbc508311d0 /Sparkle.framework/Versions/A/Headers/SUConstants.h | |
parent | 7991997ee4ec10eb4fced5fe054b4af9b11f3b3f (diff) | |
download | sequelpro-3346039f0a92087d9c45cc8b20ff99fb95f85c38.tar.gz sequelpro-3346039f0a92087d9c45cc8b20ff99fb95f85c38.tar.bz2 sequelpro-3346039f0a92087d9c45cc8b20ff99fb95f85c38.zip |
#1 - Add Software Update checking
- Added Sparkle.Framework to Project.
- Added SUFeedURL key in Info.plist (set to http://sequelpro.com/appcast/app-releases.xml)
- Updated "Check for Updates..." menu item in MainMenu.xib to now point to SparkleFramework updater
Diffstat (limited to 'Sparkle.framework/Versions/A/Headers/SUConstants.h')
-rw-r--r-- | Sparkle.framework/Versions/A/Headers/SUConstants.h | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/Sparkle.framework/Versions/A/Headers/SUConstants.h b/Sparkle.framework/Versions/A/Headers/SUConstants.h new file mode 100644 index 00000000..c0c427af --- /dev/null +++ b/Sparkle.framework/Versions/A/Headers/SUConstants.h @@ -0,0 +1,72 @@ +// +// SUConstants.h +// Sparkle +// +// Created by Andy Matuschak on 3/16/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// + + +#ifndef SUCONSTANTS_H +#define SUCONSTANTS_H + + +extern NSString *SUUpdaterWillRestartNotification; +extern NSString *SUTechnicalErrorInformationKey; + +extern NSString *SUFeedURLKey; +extern NSString *SUHasLaunchedBeforeKey; +extern NSString *SUShowReleaseNotesKey; +extern NSString *SUSkippedVersionKey; +extern NSString *SUScheduledCheckIntervalKey; +extern NSString *SULastCheckTimeKey; +extern NSString *SUExpectsDSASignatureKey; +extern NSString *SUPublicDSAKeyKey; +extern NSString *SUPublicDSAKeyFileKey; +extern NSString *SUAutomaticallyUpdateKey; +extern NSString *SUAllowsAutomaticUpdatesKey; +extern NSString *SUEnableAutomaticChecksKey; +extern NSString *SUEnableAutomaticChecksKeyOld; +extern NSString *SUEnableSystemProfilingKey; +extern NSString *SUSendProfileInfoKey; + +extern NSString *SUSparkleErrorDomain; +// Appcast phase errors. +extern OSStatus SUAppcastParseError; +extern OSStatus SUNoUpdateError; +extern OSStatus SUAppcastError; +extern OSStatus SURunningFromDiskImageError; + +// Downlaod phase errors. +extern OSStatus SUTemporaryDirectoryError; + +// Extraction phase errors. +extern OSStatus SUUnarchivingError; +extern OSStatus SUSignatureError; + +// Installation phase errors. +extern OSStatus SUFileCopyFailure; +extern OSStatus SUAuthenticationFailure; +extern OSStatus SUMissingUpdateError; +extern OSStatus SUMissingInstallerToolError; +extern OSStatus SURelaunchError; +extern OSStatus SUInstallationError; + +// 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 +#endif + + +#endif |