source: trunk/Sparkle.framework/Versions/A/Headers/SUUpdateAlert.h @ 272

Last change on this file since 272 was 272, checked in by livings124, 16 years ago

First commit on my own 8-)

Sorting by progress, sorting no longer causes crashes.
New look for the table.
Info is now inspector: can set individual and multiple ratio limits, shows listing of files, more info in general, resizes when changing tabs, can change tabs with cmd-left and cmd-right.
Menu items moved to "Transfers" menu.
Sliding status bar in its own view.
Prefs moved into their own nib.
Toolbar items for pause and resume selected (many wanted this, but it needs better icons)
New icons for Transfers and General.
A lot of tweaking of main window to fix alignment etc.
Sparkle used for updated (still needs to be added to website to work).

And a lot more tweaking and changes that I'm too lazy to list.

...now let's hope I commit this right

File size: 888 bytes
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
11typedef 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
Note: See TracBrowser for help on using the repository browser.