5
// Created by Andy Matuschak on 3/12/06.
6
// Copyright 2006 Andy Matuschak. All rights reserved.
9
#import <Cocoa/Cocoa.h>
13
SUInstallUpdateChoice,
14
SURemindMeLaterChoice,
15
SUSkipThisVersionChoice
16
} SUUpdateAlertChoice;
18
@class WebView, SUAppcastItem;
19
@interface SUUpdateAlert : NSWindowController {
20
SUAppcastItem *updateItem;
23
IBOutlet WebView *releaseNotesView;
24
IBOutlet NSTextField *description;
25
NSProgressIndicator *releaseNotesSpinner;
26
BOOL webViewFinishedLoading;
29
- initWithAppcastItem:(SUAppcastItem *)item;
30
- (void)setDelegate:delegate;
32
- (IBAction)installUpdate:sender;
33
- (IBAction)skipThisVersion:sender;
34
- (IBAction)remindMeLater:sender;
38
@interface NSObject (SUUpdateAlertDelegate)
39
- (void)updateAlert:(SUUpdateAlert *)updateAlert finishedWithChoice:(SUUpdateAlertChoice)updateChoice;