-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
181 changed files
with
606 additions
and
407 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Versions/Current/Modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Versions/Current/PrivateHeaders |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
// | ||
// SUErrors.h | ||
// Sparkle | ||
// | ||
// Created by C.W. Betts on 10/13/14. | ||
// Copyright (c) 2014 Sparkle Project. All rights reserved. | ||
// | ||
|
||
#ifndef SUERRORS_H | ||
#define SUERRORS_H | ||
|
||
#import <Foundation/Foundation.h> | ||
#import "SUExport.h" | ||
|
||
/** | ||
* Error domain used by Sparkle | ||
*/ | ||
SU_EXPORT extern NSString *const SUSparkleErrorDomain; | ||
|
||
typedef NS_ENUM(OSStatus, SUError) { | ||
// Appcast phase errors. | ||
SUAppcastParseError = 1000, | ||
SUNoUpdateError = 1001, | ||
SUAppcastError = 1002, | ||
SURunningFromDiskImageError = 1003, | ||
|
||
// Downlaod phase errors. | ||
SUTemporaryDirectoryError = 2000, | ||
|
||
// Extraction phase errors. | ||
SUUnarchivingError = 3000, | ||
SUSignatureError = 3001, | ||
|
||
// Installation phase errors. | ||
SUFileCopyFailure = 4000, | ||
SUAuthenticationFailure = 4001, | ||
SUMissingUpdateError = 4002, | ||
SUMissingInstallerToolError = 4003, | ||
SURelaunchError = 4004, | ||
SUInstallationError = 4005, | ||
SUDowngradeError = 4006, | ||
|
||
// System phase errors | ||
SUSystemPowerOffError = 5000 | ||
}; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// | ||
// SUExport.h | ||
// Sparkle | ||
// | ||
// Created by Jake Petroules on 2014-08-23. | ||
// Copyright (c) 2014 Sparkle Project. All rights reserved. | ||
// | ||
|
||
#ifndef SUEXPORT_H | ||
#define SUEXPORT_H | ||
|
||
#ifdef BUILDING_SPARKLE | ||
#define SU_EXPORT __attribute__((visibility("default"))) | ||
#else | ||
#define SU_EXPORT | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
framework module Sparkle { | ||
umbrella header "Sparkle.h" | ||
|
||
export * | ||
module * { export * } | ||
} |
35 changes: 35 additions & 0 deletions
35
Sparkle.framework/Versions/A/PrivateHeaders/SUUnarchiver.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// | ||
// SUUnarchiver.h | ||
// Sparkle | ||
// | ||
// Created by Andy Matuschak on 3/16/06. | ||
// Copyright 2006 Andy Matuschak. All rights reserved. | ||
// | ||
|
||
#ifndef SUUNARCHIVER_H | ||
#define SUUNARCHIVER_H | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
@class SUHost; | ||
@protocol SUUnarchiverDelegate; | ||
|
||
@interface SUUnarchiver : NSObject | ||
|
||
@property (copy, readonly) NSString *archivePath; | ||
@property (copy, readonly) NSString *updateHostBundlePath; | ||
@property (weak) id<SUUnarchiverDelegate> delegate; | ||
|
||
+ (SUUnarchiver *)unarchiverForPath:(NSString *)path updatingHostBundlePath:(NSString *)host; | ||
|
||
- (void)start; | ||
@end | ||
|
||
@protocol SUUnarchiverDelegate <NSObject> | ||
- (void)unarchiverDidFinish:(SUUnarchiver *)unarchiver; | ||
- (void)unarchiverDidFail:(SUUnarchiver *)unarchiver; | ||
@optional | ||
- (void)unarchiver:(SUUnarchiver *)unarchiver extractedProgress:(double)progress; | ||
@end | ||
|
||
#endif |
Oops, something went wrong.