Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 42 lines (31 sloc) 1.186 kB
9fa3da5 Holy restructuring, batman! Watch out for falling folders.
andym authored
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 //
8
5aa1e18 Improved headers from Charles D. H. Williams.
andym authored
9 #ifndef SUSTATUSCONTROLLER_H
10 #define SUSTATUSCONTROLLER_H
11
1462087 Added SUWindowController to reduce duplication of running-in-bundle s…
andym authored
12 #import "SUWindowController.h"
9fa3da5 Holy restructuring, batman! Watch out for falling folders.
andym authored
13
1462087 Added SUWindowController to reduce duplication of running-in-bundle s…
andym authored
14 @interface SUStatusController : SUWindowController {
9fa3da5 Holy restructuring, batman! Watch out for falling folders.
andym authored
15 double progressValue, maxProgressValue;
16 NSString *title, *statusText, *buttonTitle;
17 IBOutlet NSButton *actionButton;
63011aa Beware of falling bricks! Huge refactoring commit #1: cleansing Spark…
andym authored
18 IBOutlet NSProgressIndicator* progressBar;
19 NSBundle *hostBundle;
9fa3da5 Holy restructuring, batman! Watch out for falling folders.
andym authored
20 }
21
a7148d9 Numerous minor changes courtesy Sean McBride. Mostly clarifications.
andym authored
22 - (id)initWithHostBundle:(NSBundle *)hostBundle;
5e05339 #76 Support for Plug-ins
catlan authored
23
9fa3da5 Holy restructuring, batman! Watch out for falling folders.
andym authored
24 // Pass 0 for the max progress value to get an indeterminate progress bar.
25 // Pass nil for the status text to not show it.
26 - (void)beginActionWithTitle:(NSString *)title maxProgressValue:(double)maxProgressValue statusText:(NSString *)statusText;
27
28 // If isDefault is YES, the button's key equivalent will be \r.
29 - (void)setButtonTitle:(NSString *)buttonTitle target:target action:(SEL)action isDefault:(BOOL)isDefault;
30 - (void)setButtonEnabled:(BOOL)enabled;
31
32 - (double)progressValue;
33 - (void)setProgressValue:(double)value;
34 - (double)maxProgressValue;
35 - (void)setMaxProgressValue:(double)value;
36
37 - (void)setStatusText:(NSString *)statusText;
38
39 @end
5aa1e18 Improved headers from Charles D. H. Williams.
andym authored
40
87f2893 Fixed warnings for missing newlines at the end of the file.
andym authored
41 #endif
Something went wrong with that request. Please try again.