Added public object functionality.
[pithos-ios] / Classes / OpenStackViewController.h
1 //
2 //  OpenStackViewController.h
3 //  OpenStack
4 //
5 //  Created by Mike Mayo on 10/21/10.
6 //  The OpenStack project is provided under the Apache 2.0 license.
7 //
8
9 #import <UIKit/UIKit.h>
10
11 @class OpenStackRequest, LogEntryModalViewController, AnimatedProgressView;
12
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;
21     
22     OpenStackRequest *failedRequest;
23     
24     NSIndexPath *selectedIndexPath;
25 }
26
27 @property (nonatomic, retain) IBOutlet UIToolbar *toolbar;
28 @property (nonatomic, retain) NSIndexPath *selectedIndexPath;
29
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;
33
34 - (void)hideToolbarActivityMessage;
35 - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath;
36
37
38 @end