Fixed a segfault crash that would occur if you stepped at the end of a script
[macgdbp.git] / Sparkle.framework / Versions / A / Headers / SUConstants.h
1 //
2 // SUConstants.h
3 // Sparkle
4 //
5 // Created by Andy Matuschak on 3/16/06.
6 // Copyright 2006 Andy Matuschak. All rights reserved.
7 //
8
9
10 #ifndef SUCONSTANTS_H
11 #define SUCONSTANTS_H
12
13
14 extern NSString *SUUpdaterWillRestartNotification;
15 extern NSString *SUTechnicalErrorInformationKey;
16
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;
32
33 extern NSString *SUSparkleErrorDomain;
34 // Appcast phase errors.
35 extern OSStatus SUAppcastParseError;
36 extern OSStatus SUNoUpdateError;
37 extern OSStatus SUAppcastError;
38 extern OSStatus SURunningFromDiskImageError;
39
40 // Downlaod phase errors.
41 extern OSStatus SUTemporaryDirectoryError;
42
43 // Extraction phase errors.
44 extern OSStatus SUUnarchivingError;
45 extern OSStatus SUSignatureError;
46
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;
54
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;
61 #else
62 typedef int NSInteger;
63 typedef unsigned int NSUInteger;
64 #endif
65 #define NSIntegerMax LONG_MAX
66 #define NSIntegerMin LONG_MIN
67 #define NSUIntegerMax ULONG_MAX
68 #define NSINTEGER_DEFINED 1
69 #endif
70
71
72 #endif