2 // OpenStackViewController.h
5 // Created by Mike Mayo on 10/21/10.
6 // The OpenStack project is provided under the Apache 2.0 license.
9 #import <UIKit/UIKit.h>
11 @class OpenStackRequest, LogEntryModalViewController, AnimatedProgressView;
13 @interface OpenStackViewController : UIViewController {
14 IBOutlet UIToolbar *toolbar;
15 UILabel *toolbarLabel;
16 UIActivityIndicatorView *toolbarActivityIndicatorView;
17 UIBarButtonItem *toolbarActivityIndicatorItem;
18 UIBarButtonItem *toolbarLabelItem;
19 BOOL toolbarActivityMessageVisible;
20 BOOL toolbarInfoMessageVisible;
21 AnimatedProgressView *toolbarProgressView;
23 OpenStackRequest *failedRequest;
25 NSIndexPath *selectedIndexPath;
28 @property (nonatomic, retain) IBOutlet UIToolbar *toolbar;
29 @property (nonatomic, retain) NSIndexPath *selectedIndexPath;
31 // assumes the first two items in the toolbar are flexible width spaces
32 - (void)showToolbarActivityMessage:(NSString *)text progress:(BOOL)hasProgress;
33 - (void)showToolbarActivityMessage:(NSString *)text;
34 - (void)showToolbarInfoMessage:(NSString *)text;
36 - (void)hideToolbarActivityMessage;
37 - (void)hideToolbarInfoMessage;
39 - (void)addHomeButton;
41 - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath;