5 // Created by Andy Matuschak on 3/16/06.
6 // Copyright 2006 Andy Matuschak. All rights reserved.
14 extern NSString
*SUUpdaterWillRestartNotification
;
15 extern NSString
*SUTechnicalErrorInformationKey
;
17 extern NSString
*SUFeedURLKey
;
18 extern NSString
*SUHasLaunchedBeforeKey
;
19 extern NSString
*SUShowReleaseNotesKey
;
20 extern NSString
*SUSkippedVersionKey
;
21 extern NSString
*SUScheduledCheckIntervalKey
;
22 extern NSString
*SULastCheckTimeKey
;
23 extern NSString
*SUExpectsDSASignatureKey
;
24 extern NSString
*SUPublicDSAKeyKey
;
25 extern NSString
*SUPublicDSAKeyFileKey
;
26 extern NSString
*SUAutomaticallyUpdateKey
;
27 extern NSString
*SUAllowsAutomaticUpdatesKey
;
28 extern NSString
*SUEnableAutomaticChecksKey
;
29 extern NSString
*SUEnableAutomaticChecksKeyOld
;
30 extern NSString
*SUEnableSystemProfilingKey
;
31 extern NSString
*SUSendProfileInfoKey
;
33 extern NSString
*SUSparkleErrorDomain
;
34 // Appcast phase errors.
35 extern OSStatus SUAppcastParseError
;
36 extern OSStatus SUNoUpdateError
;
37 extern OSStatus SUAppcastError
;
38 extern OSStatus SURunningFromDiskImageError
;
40 // Downlaod phase errors.
41 extern OSStatus SUTemporaryDirectoryError
;
43 // Extraction phase errors.
44 extern OSStatus SUUnarchivingError
;
45 extern OSStatus SUSignatureError
;
47 // Installation phase errors.
48 extern OSStatus SUFileCopyFailure
;
49 extern OSStatus SUAuthenticationFailure
;
50 extern OSStatus SUMissingUpdateError
;
51 extern OSStatus SUMissingInstallerToolError
;
52 extern OSStatus SURelaunchError
;
53 extern OSStatus SUInstallationError
;
55 // NSInteger is a type that was added to Leopard.
56 // Here is some glue to ensure that NSInteger will work with pre-10.5 SDKs:
57 #ifndef NSINTEGER_DEFINED
58 #ifdef NS_BUILD_32_LIKE_64
59 typedef long NSInteger
;
60 typedef unsigned long NSUInteger
;
62 typedef int NSInteger
;
63 typedef unsigned int NSUInteger
;
65 #define NSIntegerMax LONG_MAX
66 #define NSIntegerMin LONG_MIN
67 #define NSUIntegerMax ULONG_MAX
68 #define NSINTEGER_DEFINED 1