diff options
author | dynaflash <[email protected]> | 2009-06-17 15:04:14 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2009-06-17 15:04:14 +0000 |
commit | 17add0e3258936078d05508709f550a74e5c4146 (patch) | |
tree | a1974c5838add7f1237c6bce18a6bed565ab7e1c /macosx | |
parent | c8a71b5b873bf738a2675d666885336187042469 (diff) |
MacGui: remove deprecated headers from the previous Sparkle framework
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2550 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
12 files changed, 0 insertions, 383 deletions
diff --git a/macosx/Sparkle.framework/Versions/A/Headers/NSApplication+AppCopies.h b/macosx/Sparkle.framework/Versions/A/Headers/NSApplication+AppCopies.h deleted file mode 100644 index ee901e685..000000000 --- a/macosx/Sparkle.framework/Versions/A/Headers/NSApplication+AppCopies.h +++ /dev/null @@ -1,13 +0,0 @@ -// -// NSApplication+AppCopies.h -// Sparkle -// -// Created by Andy Matuschak on 3/16/06. -// Copyright 2006 Andy Matuschak. All rights reserved. -// - -#import <Cocoa/Cocoa.h> - -@interface NSApplication (SUAppCopies) -- (int)copiesRunning; -@end diff --git a/macosx/Sparkle.framework/Versions/A/Headers/NSFileManager+Authentication.h b/macosx/Sparkle.framework/Versions/A/Headers/NSFileManager+Authentication.h deleted file mode 100644 index c995911ca..000000000 --- a/macosx/Sparkle.framework/Versions/A/Headers/NSFileManager+Authentication.h +++ /dev/null @@ -1,11 +0,0 @@ -// -// NSFileManager+Authentication.m -// Sparkle -// -// Created by Andy Matuschak on 3/9/06. -// Copyright 2006 Andy Matuschak. All rights reserved. -// - -@interface NSFileManager (SUAuthenticationAdditions) -- (BOOL)movePathWithAuthentication:(NSString *)src toPath:(NSString *)dst; -@end diff --git a/macosx/Sparkle.framework/Versions/A/Headers/NSFileManager+Verification.h b/macosx/Sparkle.framework/Versions/A/Headers/NSFileManager+Verification.h deleted file mode 100644 index f0ce7c20c..000000000 --- a/macosx/Sparkle.framework/Versions/A/Headers/NSFileManager+Verification.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// NSFileManager+Verification.h -// Sparkle -// -// Created by Andy Matuschak on 3/16/06. -// Copyright 2006 Andy Matuschak. All rights reserved. -// - -#import <Cocoa/Cocoa.h> - -// For the paranoid folks! -@interface NSFileManager (SUVerification) -- (BOOL)validatePath:(NSString *)path withMD5Hash:(NSString *)hash; -- (BOOL)validatePath:(NSString *)path withEncodedDSASignature:(NSString *)encodedSignature; -@end diff --git a/macosx/Sparkle.framework/Versions/A/Headers/NSString+extras.h b/macosx/Sparkle.framework/Versions/A/Headers/NSString+extras.h deleted file mode 100755 index 498e4d01c..000000000 --- a/macosx/Sparkle.framework/Versions/A/Headers/NSString+extras.h +++ /dev/null @@ -1,61 +0,0 @@ -/* - -BSD License - -Copyright (c) 2002, Brent Simmons -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. -* Neither the name of ranchero.com or Brent Simmons nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, -OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT -OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - -*/ - - -/* - NSString+extras.h - NetNewsWire - - Created by Brent Simmons on Fri Jun 14 2002. - Copyright (c) 2002 Brent Simmons. All rights reserved. -*/ - - -#import <Foundation/Foundation.h> -#import <CoreFoundation/CoreFoundation.h> - - -@interface NSString (extras) - -- (NSString *)stringWithSubstitute:(NSString *)subs forCharactersFromSet:(NSCharacterSet *)set; - -- (NSString *) trimWhiteSpace; - -- (NSString *) stripHTML; - -- (NSString *) ellipsizeAfterNWords: (int) n; - -+ (BOOL) stringIsEmpty: (NSString *) s; - - -@end diff --git a/macosx/Sparkle.framework/Versions/A/Headers/RSS.h b/macosx/Sparkle.framework/Versions/A/Headers/RSS.h deleted file mode 100755 index 82da04a44..000000000 --- a/macosx/Sparkle.framework/Versions/A/Headers/RSS.h +++ /dev/null @@ -1,98 +0,0 @@ -/* - -BSD License - -Copyright (c) 2002, Brent Simmons -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. -* Neither the name of ranchero.com or Brent Simmons nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, -THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, -OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT -OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - -*/ - -/* - RSS.h - A class for reading RSS feeds. - - Created by Brent Simmons on Wed Apr 17 2002. - Copyright (c) 2002 Brent Simmons. All rights reserved. -*/ - - -#import <Cocoa/Cocoa.h> -#import <CoreFoundation/CoreFoundation.h> -#import "NSString+extras.h" - - -@interface RSS : NSObject { - - NSDictionary *headerItems; - NSMutableArray *newsItems; - NSString *version; - - BOOL flRdf; - BOOL normalize; - } - - -/*Public*/ - -- (RSS *) initWithTitle: (NSString *) title andDescription: (NSString *) description; - -- (RSS *) initWithData: (NSData *) rssData normalize: (BOOL) fl; - -- (RSS *) initWithURL: (NSURL *) url normalize: (BOOL) fl; -- (RSS *) initWithURL: (NSURL *) url normalize: (BOOL) fl userAgent:(NSString *)userAgent; - -- (NSDictionary *) headerItems; - -- (NSMutableArray *) newsItems; - -- (NSString *) version; - -// AMM's extensions for Sparkle -- (NSDictionary *)newestItem; - - -/*Private*/ - -- (void) createheaderdictionary: (CFXMLTreeRef) tree; - -- (void) createitemsarray: (CFXMLTreeRef) tree; - -- (void) setversionstring: (CFXMLTreeRef) tree; - -- (void) flattenimagechildren: (CFXMLTreeRef) tree into: (NSMutableDictionary *) dictionary; - -- (void) flattensourceattributes: (CFXMLNodeRef) node into: (NSMutableDictionary *) dictionary; - -- (CFXMLTreeRef) getchanneltree: (CFXMLTreeRef) tree; - -- (CFXMLTreeRef) getnamedtree: (CFXMLTreeRef) currentTree name: (NSString *) name; - -- (void) normalizeRSSItem: (NSMutableDictionary *) rssItem; - -- (NSString *) getelementvalue: (CFXMLTreeRef) tree; - -@end diff --git a/macosx/Sparkle.framework/Versions/A/Headers/SUAutomaticUpdateAlert.h b/macosx/Sparkle.framework/Versions/A/Headers/SUAutomaticUpdateAlert.h deleted file mode 100644 index fc0ac9fd0..000000000 --- a/macosx/Sparkle.framework/Versions/A/Headers/SUAutomaticUpdateAlert.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// SUAutomaticUpdateAlert.h -// Sparkle -// -// Created by Andy Matuschak on 3/18/06. -// Copyright 2006 Andy Matuschak. All rights reserved. -// - -#import <Cocoa/Cocoa.h> - -@class SUAppcastItem; -@interface SUAutomaticUpdateAlert : NSWindowController { - SUAppcastItem *updateItem; -} - -- initWithAppcastItem:(SUAppcastItem *)item; - -- (IBAction)relaunchNow:sender; -- (IBAction)relaunchLater:sender; - -@end diff --git a/macosx/Sparkle.framework/Versions/A/Headers/SUConstants.h b/macosx/Sparkle.framework/Versions/A/Headers/SUConstants.h deleted file mode 100644 index bfbe625bb..000000000 --- a/macosx/Sparkle.framework/Versions/A/Headers/SUConstants.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// SUConstants.h -// Sparkle -// -// Created by Andy Matuschak on 3/16/06. -// Copyright 2006 Andy Matuschak. All rights reserved. -// - -extern NSString *SUUpdaterWillRestartNotification; - -extern NSString *SUCheckAtStartupKey; -extern NSString *SUFeedURLKey; -extern NSString *SUShowReleaseNotesKey; -extern NSString *SUSkippedVersionKey; -extern NSString *SUScheduledCheckIntervalKey; -extern NSString *SULastCheckTimeKey; -extern NSString *SUExpectsDSASignatureKey; -extern NSString *SUPublicDSAKeyKey; -extern NSString *SUAutomaticallyUpdateKey; -extern NSString *SUAllowsAutomaticUpdatesKey;
\ No newline at end of file diff --git a/macosx/Sparkle.framework/Versions/A/Headers/SUStatusChecker.h b/macosx/Sparkle.framework/Versions/A/Headers/SUStatusChecker.h deleted file mode 100644 index e83d15206..000000000 --- a/macosx/Sparkle.framework/Versions/A/Headers/SUStatusChecker.h +++ /dev/null @@ -1,26 +0,0 @@ -// -// SUStatusChecker.h -// Sparkle -// -// Created by Evan Schoenberg on 7/6/06. -// - -#import <Cocoa/Cocoa.h> -#import <Sparkle/SUUpdater.h> - -@class SUStatusChecker; - -@protocol SUStatusCheckerDelegate <NSObject> -//versionString will be nil and isNewVersion will be NO if version checking fails. -- (void)statusChecker:(SUStatusChecker *)statusChecker foundVersion:(NSString *)versionString isNewVersion:(BOOL)isNewVersion; -@end - -@interface SUStatusChecker : SUUpdater { - id<SUStatusCheckerDelegate> scDelegate; -} - -// Create a status checker which will notifiy delegate once the appcast version is determined. -// Notification occurs via the method defined in the SUStatusCheckerDelegate informal protocol. -+ (SUStatusChecker *)statusCheckerForDelegate:(id<SUStatusCheckerDelegate>)delegate; - -@end diff --git a/macosx/Sparkle.framework/Versions/A/Headers/SUStatusController.h b/macosx/Sparkle.framework/Versions/A/Headers/SUStatusController.h deleted file mode 100644 index 19a3f89ec..000000000 --- a/macosx/Sparkle.framework/Versions/A/Headers/SUStatusController.h +++ /dev/null @@ -1,33 +0,0 @@ -// -// SUStatusController.h -// Sparkle -// -// Created by Andy Matuschak on 3/14/06. -// Copyright 2006 Andy Matuschak. All rights reserved. -// - -#import <Cocoa/Cocoa.h> - - -@interface SUStatusController : NSWindowController { - double progressValue, maxProgressValue; - NSString *title, *statusText, *buttonTitle; - IBOutlet NSButton *actionButton; -} - -// Pass 0 for the max progress value to get an indeterminate progress bar. -// Pass nil for the status text to not show it. -- (void)beginActionWithTitle:(NSString *)title maxProgressValue:(double)maxProgressValue statusText:(NSString *)statusText; - -// If isDefault is YES, the button's key equivalent will be \r. -- (void)setButtonTitle:(NSString *)buttonTitle target:target action:(SEL)action isDefault:(BOOL)isDefault; -- (void)setButtonEnabled:(BOOL)enabled; - -- (double)progressValue; -- (void)setProgressValue:(double)value; -- (double)maxProgressValue; -- (void)setMaxProgressValue:(double)value; - -- (void)setStatusText:(NSString *)statusText; - -@end diff --git a/macosx/Sparkle.framework/Versions/A/Headers/SUUnarchiver.h b/macosx/Sparkle.framework/Versions/A/Headers/SUUnarchiver.h deleted file mode 100644 index da111c158..000000000 --- a/macosx/Sparkle.framework/Versions/A/Headers/SUUnarchiver.h +++ /dev/null @@ -1,25 +0,0 @@ -// -// SUUnarchiver.h -// Sparkle -// -// Created by Andy Matuschak on 3/16/06. -// Copyright 2006 Andy Matuschak. All rights reserved. -// - -#import <Cocoa/Cocoa.h> - - -@interface SUUnarchiver : NSObject { - id delegate; -} - -- (void)unarchivePath:(NSString *)path; -- (void)setDelegate:delegate; - -@end - -@interface NSObject (SUUnarchiverDelegate) -- (void)unarchiver:(SUUnarchiver *)unarchiver extractedLength:(long)length; -- (void)unarchiverDidFinish:(SUUnarchiver *)unarchiver; -- (void)unarchiverDidFail:(SUUnarchiver *)unarchiver; -@end
\ No newline at end of file diff --git a/macosx/Sparkle.framework/Versions/A/Headers/SUUpdateAlert.h b/macosx/Sparkle.framework/Versions/A/Headers/SUUpdateAlert.h deleted file mode 100644 index 69c281749..000000000 --- a/macosx/Sparkle.framework/Versions/A/Headers/SUUpdateAlert.h +++ /dev/null @@ -1,40 +0,0 @@ -// -// SUUpdateAlert.h -// Sparkle -// -// Created by Andy Matuschak on 3/12/06. -// Copyright 2006 Andy Matuschak. All rights reserved. -// - -#import <Cocoa/Cocoa.h> - -typedef enum -{ - SUInstallUpdateChoice, - SURemindMeLaterChoice, - SUSkipThisVersionChoice -} SUUpdateAlertChoice; - -@class WebView, SUAppcastItem; -@interface SUUpdateAlert : NSWindowController { - SUAppcastItem *updateItem; - id delegate; - - IBOutlet WebView *releaseNotesView; - IBOutlet NSTextField *description; - NSProgressIndicator *releaseNotesSpinner; - BOOL webViewFinishedLoading; -} - -- initWithAppcastItem:(SUAppcastItem *)item; -- (void)setDelegate:delegate; - -- (IBAction)installUpdate:sender; -- (IBAction)skipThisVersion:sender; -- (IBAction)remindMeLater:sender; - -@end - -@interface NSObject (SUUpdateAlertDelegate) -- (void)updateAlert:(SUUpdateAlert *)updateAlert finishedWithChoice:(SUUpdateAlertChoice)updateChoice; -@end diff --git a/macosx/Sparkle.framework/Versions/A/Headers/SUUtilities.h b/macosx/Sparkle.framework/Versions/A/Headers/SUUtilities.h deleted file mode 100644 index 5af355083..000000000 --- a/macosx/Sparkle.framework/Versions/A/Headers/SUUtilities.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// SUUtilities.h -// Sparkle -// -// Created by Andy Matuschak on 3/12/06. -// Copyright 2006 Andy Matuschak. All rights reserved. -// - -#import <Cocoa/Cocoa.h> - -id SUInfoValueForKey(NSString *key); -NSString *SUHostAppName(); -NSString *SUHostAppDisplayName(); -NSString *SUHostAppVersion(); -NSString *SUHostAppVersionString(); - -NSComparisonResult SUStandardVersionComparison(NSString * versionA, NSString * versionB); - -// If running make localizable-strings for genstrings, ignore the error on this line. -NSString *SULocalizedString(NSString *key, NSString *comment); |