Use search bar to show only folder objects that start with given filter
[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 toolbarActivityMessageVisible;
20     BOOL toolbarInfoMessageVisible;
21     AnimatedProgressView *toolbarProgressView;
22     
23     OpenStackRequest *failedRequest;
24     
25     NSIndexPath *selectedIndexPath;
26 }
27
28 @property (nonatomic, retain) IBOutlet UIToolbar *toolbar;
29 @property (nonatomic, retain) NSIndexPath *selectedIndexPath;
30
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;
35
36 - (void)hideToolbarActivityMessage;
37 - (void)hideToolbarInfoMessage;
38
39 - (void)addHomeButton;
40
41 - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath;
42
43 @end