cocoaTouch/DetailViewController.h
author koda
Sat, 01 May 2010 21:54:08 +0000
changeset 3395 095273ad0e08
parent 3356 3ae3fccb439e
child 3490 016b3172b645
permissions -rw-r--r--
adding a somewhat working autoration for ipad (uStore.pas and uWorld.pas got mixed in the last two commits)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3305
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
     1
//
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
     2
//  DetailViewController.h
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
     3
//  HedgewarsMobile
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
     4
//
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
     5
//  Created by Vittorio on 27/03/10.
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
     6
//  Copyright 2010 __MyCompanyName__. All rights reserved.
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
     7
//
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
     8
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
     9
#import <UIKit/UIKit.h>
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    10
3356
3ae3fccb439e add missing controller stubs
koda
parents: 3321
diff changeset
    11
@class GeneralSettingsViewController;
3ae3fccb439e add missing controller stubs
koda
parents: 3321
diff changeset
    12
@class TeamSettingsViewController;
3ae3fccb439e add missing controller stubs
koda
parents: 3321
diff changeset
    13
@class WeaponSettingsViewController;
3ae3fccb439e add missing controller stubs
koda
parents: 3321
diff changeset
    14
@class SchemeSettingsViewController;
3321
988e39ef3c20 rewrote a couple of things i didn't like
koda
parents: 3305
diff changeset
    15
#ifdef __IPHONE_3_2
3305
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    16
@interface DetailViewController : UITableViewController <UIPopoverControllerDelegate, UISplitViewControllerDelegate> {
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    17
#else
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    18
@interface DetailViewController : UITableViewController {
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    19
#endif
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    20
    id popoverController;
3356
3ae3fccb439e add missing controller stubs
koda
parents: 3321
diff changeset
    21
    NSArray *controllerNames;
3ae3fccb439e add missing controller stubs
koda
parents: 3321
diff changeset
    22
    GeneralSettingsViewController *generalSettingsViewController;
3ae3fccb439e add missing controller stubs
koda
parents: 3321
diff changeset
    23
    TeamSettingsViewController *teamSettingsViewController;
3ae3fccb439e add missing controller stubs
koda
parents: 3321
diff changeset
    24
    WeaponSettingsViewController *weaponSettingsViewController;
3ae3fccb439e add missing controller stubs
koda
parents: 3321
diff changeset
    25
    SchemeSettingsViewController *schemeSettingsViewController;
3305
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    26
}
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    27
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    28
// used in iphone version
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    29
-(IBAction) dismissSplitView;
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    30
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    31
@property (nonatomic, retain) id popoverController;
3356
3ae3fccb439e add missing controller stubs
koda
parents: 3321
diff changeset
    32
@property (nonatomic, retain) NSArray *controllerNames;
3305
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    33
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    34
@end