9 #if SPARKLE_BUILD_UI_BITS || !BUILDING_SPARKLE
11 #ifndef SUSTATUSCONTROLLER_H
12 #define SUSTATUSCONTROLLER_H
14 #import <Cocoa/Cocoa.h>
18 @property (weak) IBOutlet NSButton *actionButton;
19 @property (weak) IBOutlet NSProgressIndicator *progressBar;
20 @property (weak) IBOutlet NSTextField *statusTextField;
22 @property (copy) NSString *statusText;
23 @property double progressValue;
24 @property (nonatomic)
double maxProgressValue;
25 @property (getter=isButtonEnabled) BOOL buttonEnabled;
27 - (instancetype)initWithHost:(
SUHost *)host;
31 - (void)beginActionWithTitle:(NSString *)title maxProgressValue:(double)maxProgressValue statusText:(NSString *)statusText;
34 - (void)setButtonTitle:(NSString *)buttonTitle target:(id)target action:(
SEL)action isDefault:(BOOL)isDefault;
Definition: SUStatusController.h:18