Sparkle support for automatic updates
[MacVim.git] / src / MacVim / Sparkle.framework / Versions / A / Headers / SUStatusController.h
blob19a3f89ecf00b1471199c9a1d9fcf8367bf5a4f0
1 //
2 // SUStatusController.h
3 // Sparkle
4 //
5 // Created by Andy Matuschak on 3/14/06.
6 // Copyright 2006 Andy Matuschak. All rights reserved.
7 //
9 #import <Cocoa/Cocoa.h>
12 @interface SUStatusController : NSWindowController {
13 double progressValue, maxProgressValue;
14 NSString *title, *statusText, *buttonTitle;
15 IBOutlet NSButton *actionButton;
18 // Pass 0 for the max progress value to get an indeterminate progress bar.
19 // Pass nil for the status text to not show it.
20 - (void)beginActionWithTitle:(NSString *)title maxProgressValue:(double)maxProgressValue statusText:(NSString *)statusText;
22 // If isDefault is YES, the button's key equivalent will be \r.
23 - (void)setButtonTitle:(NSString *)buttonTitle target:target action:(SEL)action isDefault:(BOOL)isDefault;
24 - (void)setButtonEnabled:(BOOL)enabled;
26 - (double)progressValue;
27 - (void)setProgressValue:(double)value;
28 - (double)maxProgressValue;
29 - (void)setMaxProgressValue:(double)value;
31 - (void)setStatusText:(NSString *)statusText;
33 @end