aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/iOSSampleApp/Shared/SkUIDetailViewController.h
diff options
context:
space:
mode:
authorGravatar yangsu@google.com <yangsu@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-08-02 13:20:22 +0000
committerGravatar yangsu@google.com <yangsu@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-08-02 13:20:22 +0000
commit5987045388920e5830e7c141c8bfe4205ef6ebf3 (patch)
tree2b72e77f48fd3cf5142fbce2505c6a202c00a5b2 /experimental/iOSSampleApp/Shared/SkUIDetailViewController.h
parentb3d5bc1059d2b35d4d9148f50611a0455b403772 (diff)
iOS Sample App menu implementation
Diffstat (limited to 'experimental/iOSSampleApp/Shared/SkUIDetailViewController.h')
-rw-r--r--experimental/iOSSampleApp/Shared/SkUIDetailViewController.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/experimental/iOSSampleApp/Shared/SkUIDetailViewController.h b/experimental/iOSSampleApp/Shared/SkUIDetailViewController.h
index 05d1f37e8c..7435a9dc69 100644
--- a/experimental/iOSSampleApp/Shared/SkUIDetailViewController.h
+++ b/experimental/iOSSampleApp/Shared/SkUIDetailViewController.h
@@ -6,35 +6,34 @@
* found in the LICENSE file.
*/
#import <UIKit/UIKit.h>
+#import "SkOptionsTableViewController.h"
#import "SkUIRootViewController.h"
#import "SkUIView.h"
class SampleWindow;
class SkData;
@interface SkUIDetailViewController : UIViewController {
- UINavigationBar* fNavigationBar;
UIPopoverController* fPopOverController;
+ SkOptionsTableViewController* fOptionsController;
UIBarButtonItem* fPrintButton;
- UIBarButtonItem* fCycleButton;
+ UIBarButtonItem* fOptionsButton;
SkData* fData;
SkUIView* fSkUIView;
SampleWindow* fWind;
}
-@property (nonatomic, retain) IBOutlet UINavigationBar *fNavigationBar;
+
@property (nonatomic, retain) UIBarButtonItem* fPrintButton;
-@property (nonatomic, retain) UIBarButtonItem* fCycleButton;
+@property (nonatomic, retain) UIBarButtonItem* fOptionsButton;
+@property (nonatomic, retain) SkOptionsTableViewController* fOptionsController;
@property (nonatomic, assign) UIPopoverController* fPopOverController;
//Instance methods
-- (void)redraw;
- (void)populateRoot:(SkUIRootViewController*)root;
- (void)goToItem:(NSUInteger)index;
- (void)createButtons;
//UI actions
-- (IBAction)usePipe:(id)sender;
-- (IBAction)enterServerIP:(id)sender;
- (void)printContent;
-- (void)cycleDeviceType;
+- (void)presentOptions;
//SplitView popover management
- (void)showRootPopoverButtonItem:(UIBarButtonItem *)barButtonItem;