Home | History | Annotate | Download | only in Shared
      1 
      2 /*
      3  * Copyright 2011 Google Inc.
      4  *
      5  * Use of this source code is governed by a BSD-style license that can be
      6  * found in the LICENSE file.
      7  */
      8 #import <UIKit/UIKit.h>
      9 #import "SkOptionsTableViewController.h"
     10 #import "SkUIRootViewController.h"
     11 #import "SkUIView.h"
     12 
     13 class SampleWindow;
     14 class SkData;
     15 @interface SkUIDetailViewController : UIViewController {
     16     UIPopoverController* fPopOverController;
     17     SkOptionsTableViewController* fOptionsController;
     18     UIBarButtonItem* fPrintButton;
     19     UIBarButtonItem* fOptionsButton;
     20     SkData* fData;
     21     SkUIView* fSkUIView;
     22     SampleWindow* fWind;
     23 }
     24 
     25 @property (nonatomic, retain) UIBarButtonItem* fPrintButton;
     26 @property (nonatomic, retain) UIBarButtonItem* fOptionsButton;
     27 @property (nonatomic, retain) SkOptionsTableViewController* fOptionsController;
     28 @property (nonatomic, assign) UIPopoverController* fPopOverController;
     29 
     30 //Instance methods
     31 - (void)populateRoot:(SkUIRootViewController*)root;
     32 - (void)goToItem:(NSUInteger)index;
     33 - (void)createButtons;
     34 //UI actions
     35 - (void)printContent;
     36 - (void)presentOptions;
     37 
     38 //SplitView popover management
     39 - (void)showRootPopoverButtonItem:(UIBarButtonItem *)barButtonItem;
     40 - (void)invalidateRootPopoverButtonItem:(UIBarButtonItem *)barButtonItem;
     41 
     42 @end
     43