project_files/HedgewarsMobile/Classes/SettingsBaseViewController.m
changeset 6832 fae8fd118da9
parent 6700 e04da46ee43c
child 6869 a187c280dd3d
equal deleted inserted replaced
6831:f848120b3fcc 6832:fae8fd118da9
    12  * GNU General Public License for more details.
    12  * GNU General Public License for more details.
    13  *
    13  *
    14  * You should have received a copy of the GNU General Public License
    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
    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.
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    17  *
       
    18  * File created on 27/03/2010.
       
    19  */
    17  */
    20 
    18 
    21 
    19 
    22 #import "SettingsBaseViewController.h"
    20 #import "SettingsBaseViewController.h"
    23 #import "GeneralSettingsViewController.h"
    21 #import "GeneralSettingsViewController.h"
    24 #import "TeamSettingsViewController.h"
    22 #import "TeamSettingsViewController.h"
    25 #import "WeaponSettingsViewController.h"
    23 #import "WeaponSettingsViewController.h"
    26 #import "SchemeSettingsViewController.h"
    24 #import "SchemeSettingsViewController.h"
    27 #import "SupportViewController.h"
    25 #import "SupportViewController.h"
    28 
    26 
       
    27 
    29 @implementation SettingsBaseViewController
    28 @implementation SettingsBaseViewController
    30 @synthesize tabController, targetController, controllerNames, lastIndexPath;
    29 @synthesize tabController, targetController, controllerNames, lastIndexPath;
    31 
    30 
    32 
       
    33 -(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation {
    31 -(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation {
    34     return rotationManager(interfaceOrientation);
    32     return rotationManager(interfaceOrientation);
    35 }
    33 }
    36 
       
    37 
    34 
    38 #pragma mark -
    35 #pragma mark -
    39 #pragma mark View lifecycle
    36 #pragma mark View lifecycle
    40 -(void) viewDidLoad {
    37 -(void) viewDidLoad {
    41     // the list of available controllers
    38     // the list of available controllers