diff options
author | mattlangtree <matt@northofthree.com> | 2008-08-30 16:29:57 +0000 |
---|---|---|
committer | mattlangtree <matt@northofthree.com> | 2008-08-30 16:29:57 +0000 |
commit | 3346039f0a92087d9c45cc8b20ff99fb95f85c38 (patch) | |
tree | cddb09046c01f9be2422039fc1d9fcbc508311d0 /Sparkle.framework/Versions/A/Headers/SUAutomaticUpdateAlert.h | |
parent | 7991997ee4ec10eb4fced5fe054b4af9b11f3b3f (diff) | |
download | sequelpro-3346039f0a92087d9c45cc8b20ff99fb95f85c38.tar.gz sequelpro-3346039f0a92087d9c45cc8b20ff99fb95f85c38.tar.bz2 sequelpro-3346039f0a92087d9c45cc8b20ff99fb95f85c38.zip |
#1 - Add Software Update checking
- Added Sparkle.Framework to Project.
- Added SUFeedURL key in Info.plist (set to http://sequelpro.com/appcast/app-releases.xml)
- Updated "Check for Updates..." menu item in MainMenu.xib to now point to SparkleFramework updater
Diffstat (limited to 'Sparkle.framework/Versions/A/Headers/SUAutomaticUpdateAlert.h')
-rw-r--r-- | Sparkle.framework/Versions/A/Headers/SUAutomaticUpdateAlert.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Sparkle.framework/Versions/A/Headers/SUAutomaticUpdateAlert.h b/Sparkle.framework/Versions/A/Headers/SUAutomaticUpdateAlert.h new file mode 100644 index 00000000..76fb35f4 --- /dev/null +++ b/Sparkle.framework/Versions/A/Headers/SUAutomaticUpdateAlert.h @@ -0,0 +1,39 @@ +// +// SUAutomaticUpdateAlert.h +// Sparkle +// +// Created by Andy Matuschak on 3/18/06. +// Copyright 2006 Andy Matuschak. All rights reserved. +// + +#ifndef SUAUTOMATICUPDATEALERT_H +#define SUAUTOMATICUPDATEALERT_H + +#import "SUWindowController.h" + +typedef enum +{ + SUInstallNowChoice, + SUInstallLaterChoice, + SUDoNotInstallChoice +} SUAutomaticInstallationChoice; + +@class SUAppcastItem; +@interface SUAutomaticUpdateAlert : SUWindowController { + SUAppcastItem *updateItem; + id delegate; + NSBundle *hostBundle; +} + +- (id)initWithAppcastItem:(SUAppcastItem *)item hostBundle:(NSBundle *)hostBundle delegate:delegate; +- (IBAction)installNow:sender; +- (IBAction)installLater:sender; +- (IBAction)doNotInstall:sender; + +@end + +@interface NSObject (SUAutomaticUpdateAlertDelegateProtocol) +- (void)automaticUpdateAlert:(SUAutomaticUpdateAlert *)aua finishedWithChoice:(SUAutomaticInstallationChoice)choice; +@end + +#endif |