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 toolbarMessageVisible;
20 AnimatedProgressView *toolbarProgressView;
22 OpenStackRequest *failedRequest;
24 NSIndexPath *selectedIndexPath;
27 @property (nonatomic, retain) IBOutlet UIToolbar *toolbar;
28 @property (nonatomic, retain) NSIndexPath *selectedIndexPath;
30 // assumes the first two items in the toolbar are flexible width spaces
31 - (void)showToolbarActivityMessage:(NSString *)text progress:(BOOL)hasProgress;
32 - (void)showToolbarActivityMessage:(NSString *)text;
34 - (void)hideToolbarActivityMessage;
35 - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath;