Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 45 lines (34 sloc) 1.188 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
98832c4 @andymatuschak Beginnings of insane SUHost-based refactoring to get rid of NSBundle+…
andymatuschak authored
14 @class SUHost;
d7774c0 performed a code review, specifically:
Sean McBride authored
15 @interface SUStatusController : SUWindowController
16 {
17 @private
9fa3da5 Holy restructuring, batman! Watch out for falling folders.
andym authored
18 double progressValue, maxProgressValue;
19 NSString *title, *statusText, *buttonTitle;
20 IBOutlet NSButton *actionButton;
63011aa Beware of falling bricks! Huge refactoring commit #1: cleansing Spark…
andym authored
21 IBOutlet NSProgressIndicator* progressBar;
98832c4 @andymatuschak Beginnings of insane SUHost-based refactoring to get rid of NSBundle+…
andymatuschak authored
22 SUHost *host;
9fa3da5 Holy restructuring, batman! Watch out for falling folders.
andym authored
23 }
24
98832c4 @andymatuschak Beginnings of insane SUHost-based refactoring to get rid of NSBundle+…
andymatuschak authored
25 - (id)initWithHost:(SUHost *)host;
5e05339 #76 Support for Plug-ins
catlan authored
26
9fa3da5 Holy restructuring, batman! Watch out for falling folders.
andym authored
27 // Pass 0 for the max progress value to get an indeterminate progress bar.
28 // Pass nil for the status text to not show it.
29 - (void)beginActionWithTitle:(NSString *)title maxProgressValue:(double)maxProgressValue statusText:(NSString *)statusText;
30
31 // If isDefault is YES, the button's key equivalent will be \r.
32 - (void)setButtonTitle:(NSString *)buttonTitle target:target action:(SEL)action isDefault:(BOOL)isDefault;
33 - (void)setButtonEnabled:(BOOL)enabled;
34
35 - (double)progressValue;
36 - (void)setProgressValue:(double)value;
37 - (double)maxProgressValue;
38 - (void)setMaxProgressValue:(double)value;
39
40 - (void)setStatusText:(NSString *)statusText;
41
42 @end
5aa1e18 Improved headers from Charles D. H. Williams.
andym authored
43
87f2893 Fixed warnings for missing newlines at the end of the file.
andym authored
44 #endif
Something went wrong with that request. Please try again.