|
Revision 274, 0.9 kB
(checked in by durin42, 2 years ago)
|
Whoops, these were externally referenced. Fixed. Thanks Graham!
|
| Line | |
|---|
| 1 |
// |
|---|
| 2 |
// SUUpdateAlert.h |
|---|
| 3 |
// Sparkle |
|---|
| 4 |
// |
|---|
| 5 |
// Created by Andy Matuschak on 3/12/06. |
|---|
| 6 |
// Copyright 2006 Andy Matuschak. All rights reserved. |
|---|
| 7 |
// |
|---|
| 8 |
|
|---|
| 9 |
#import <Cocoa/Cocoa.h> |
|---|
| 10 |
|
|---|
| 11 |
typedef enum |
|---|
| 12 |
{ |
|---|
| 13 |
SUInstallUpdateChoice, |
|---|
| 14 |
SURemindMeLaterChoice, |
|---|
| 15 |
SUSkipThisVersionChoice |
|---|
| 16 |
} SUUpdateAlertChoice; |
|---|
| 17 |
|
|---|
| 18 |
@class WebView, SUAppcastItem; |
|---|
| 19 |
@interface SUUpdateAlert : NSWindowController { |
|---|
| 20 |
SUAppcastItem *updateItem; |
|---|
| 21 |
id delegate; |
|---|
| 22 |
|
|---|
| 23 |
IBOutlet WebView *releaseNotesView; |
|---|
| 24 |
IBOutlet NSTextField *description; |
|---|
| 25 |
NSProgressIndicator *releaseNotesSpinner; |
|---|
| 26 |
BOOL webViewFinishedLoading; |
|---|
| 27 |
} |
|---|
| 28 |
|
|---|
| 29 |
- initWithAppcastItem:(SUAppcastItem *)item; |
|---|
| 30 |
- (void)setDelegate:delegate; |
|---|
| 31 |
|
|---|
| 32 |
- (IBAction)installUpdate:sender; |
|---|
| 33 |
- (IBAction)skipThisVersion:sender; |
|---|
| 34 |
- (IBAction)remindMeLater:sender; |
|---|
| 35 |
|
|---|
| 36 |
@end |
|---|
| 37 |
|
|---|
| 38 |
@interface NSObject (SUUpdateAlertDelegate) |
|---|
| 39 |
- (void)updateAlert:(SUUpdateAlert *)updateAlert finishedWithChoice:(SUUpdateAlertChoice)updateChoice; |
|---|
| 40 |
@end |
|---|