Skip to content
Newer
Older
100644 73 lines (60 sloc) 1.96 KB
9fa3da5 Holy restructuring, batman! Watch out for falling folders.
andym authored
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
5aa1e18 Improved headers from Charles D. H. Williams.
andym authored
9
10 #ifndef SUCONSTANTS_H
11 #define SUCONSTANTS_H
12
13
9fa3da5 Holy restructuring, batman! Watch out for falling folders.
andym authored
14 extern NSString *SUUpdaterWillRestartNotification;
bc3be9a Touched practically every line of code in a super-monster-awesome ref…
andym authored
15 extern NSString *SUTechnicalErrorInformationKey;
9fa3da5 Holy restructuring, batman! Watch out for falling folders.
andym authored
16
17 extern NSString *SUFeedURLKey;
6a7c8b3 Substantial changes made to how Sparkle works on startup now. SUCheck…
andym authored
18 extern NSString *SUHasLaunchedBeforeKey;
9fa3da5 Holy restructuring, batman! Watch out for falling folders.
andym authored
19 extern NSString *SUShowReleaseNotesKey;
20 extern NSString *SUSkippedVersionKey;
21 extern NSString *SUScheduledCheckIntervalKey;
22 extern NSString *SULastCheckTimeKey;
23 extern NSString *SUExpectsDSASignatureKey;
24 extern NSString *SUPublicDSAKeyKey;
21b4aee @andymatuschak Fixes bug 228454.
andymatuschak authored
25 extern NSString *SUPublicDSAKeyFileKey;
9fa3da5 Holy restructuring, batman! Watch out for falling folders.
andym authored
26 extern NSString *SUAutomaticallyUpdateKey;
27 extern NSString *SUAllowsAutomaticUpdatesKey;
6a7c8b3 Substantial changes made to how Sparkle works on startup now. SUCheck…
andym authored
28 extern NSString *SUEnableAutomaticChecksKey;
6294668 @andymatuschak Sparkle now migrates SUCheckAtStartup preferences from pre-startup-re…
andymatuschak authored
29 extern NSString *SUEnableAutomaticChecksKeyOld;
8c3960f Finished integrating SparklePlus profiling! Just set SUEnableSystemPr…
andym authored
30 extern NSString *SUEnableSystemProfilingKey;
645a96e Made a good deal more progress integrating the profile checking featu…
andym authored
31 extern NSString *SUSendProfileInfoKey;
acdc8ea Making Sparkle 64-bit compatible, thanks to Nick Zitzmann
andym authored
32
49e3d81 Major refactoring, yay.
andym authored
33 extern NSString *SUSparkleErrorDomain;
bc3be9a Touched practically every line of code in a super-monster-awesome ref…
andym authored
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.
49e3d81 Major refactoring, yay.
andym authored
48 extern OSStatus SUFileCopyFailure;
49 extern OSStatus SUAuthenticationFailure;
50 extern OSStatus SUMissingUpdateError;
51 extern OSStatus SUMissingInstallerToolError;
bc3be9a Touched practically every line of code in a super-monster-awesome ref…
andym authored
52 extern OSStatus SURelaunchError;
53 extern OSStatus SUInstallationError;
49e3d81 Major refactoring, yay.
andym authored
54
acdc8ea Making Sparkle 64-bit compatible, thanks to Nick Zitzmann
andym authored
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
5aa1e18 Improved headers from Charles D. H. Williams.
andym authored
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
acdc8ea Making Sparkle 64-bit compatible, thanks to Nick Zitzmann
andym authored
69 #endif
5aa1e18 Improved headers from Charles D. H. Williams.
andym authored
70
71
87f2893 Fixed warnings for missing newlines at the end of the file.
andym authored
72 #endif
Something went wrong with that request. Please try again.