project_files/HedgewarsMobile/Classes/MasterViewController.h
branchhedgeroid
changeset 6224 42b256eca362
parent 6055 88cfcd9161d3
parent 6223 cc3eb9b7230f
child 6226 3106add9a5bf
equal deleted inserted replaced
6055:88cfcd9161d3 6224:42b256eca362
     1 /*
       
     2  * Hedgewars-iOS, a Hedgewars port for iOS devices
       
     3  * Copyright (c) 2009-2011 Vittorio Giovara <vittorio.giovara@gmail.com>
       
     4  *
       
     5  * This program is free software; you can redistribute it and/or modify
       
     6  * it under the terms of the GNU General Public License as published by
       
     7  * the Free Software Foundation; version 2 of the License
       
     8  *
       
     9  * This program is distributed in the hope that it will be useful,
       
    10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    12  * GNU General Public License for more details.
       
    13  *
       
    14  * You should have received a copy of the GNU General Public License
       
    15  * along with this program; if not, write to the Free Software
       
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
       
    17  *
       
    18  * File created on 27/03/2010.
       
    19  */
       
    20 
       
    21 
       
    22 #import <UIKit/UIKit.h>
       
    23 
       
    24 
       
    25 @class SplitViewRootController;
       
    26 @class GeneralSettingsViewController;
       
    27 @class TeamSettingsViewController;
       
    28 @class WeaponSettingsViewController;
       
    29 @class SchemeSettingsViewController;
       
    30 @class SupportViewController;
       
    31 
       
    32 @interface MasterViewController : UITableViewController {
       
    33     SplitViewRootController *rootController;
       
    34     MasterViewController *targetController;
       
    35     NSArray *controllerNames;
       
    36     NSIndexPath *lastIndexPath;
       
    37     GeneralSettingsViewController *generalSettingsViewController;
       
    38     TeamSettingsViewController *teamSettingsViewController;
       
    39     WeaponSettingsViewController *weaponSettingsViewController;
       
    40     SchemeSettingsViewController *schemeSettingsViewController;
       
    41     SupportViewController *supportViewController;
       
    42 }
       
    43 
       
    44 @property (nonatomic, retain) MasterViewController *targetController;
       
    45 @property (nonatomic, retain) SplitViewRootController *rootController;
       
    46 @property (nonatomic, retain) NSArray *controllerNames;
       
    47 @property (nonatomic, retain) NSIndexPath *lastIndexPath;
       
    48 
       
    49 -(IBAction) dismissSplitView;
       
    50 
       
    51 @end