equal
deleted
inserted
replaced
20 |
20 |
21 |
21 |
22 #import <UIKit/UIKit.h> |
22 #import <UIKit/UIKit.h> |
23 |
23 |
24 |
24 |
25 @interface SchemeWeaponConfigViewController : UITableViewController { |
25 @interface SchemeWeaponConfigViewController : UIViewController <UITableViewDelegate,UITableViewDataSource> { |
|
26 UITableView *tableView; |
|
27 |
26 NSArray *listOfSchemes; |
28 NSArray *listOfSchemes; |
27 NSArray *listOfWeapons; |
29 NSArray *listOfWeapons; |
28 NSArray *listOfScripts; |
30 NSArray *listOfScripts; |
29 |
31 |
30 NSIndexPath *lastIndexPath_sc; |
32 NSIndexPath *lastIndexPath_sc; |
35 NSString *selectedWeapon; |
37 NSString *selectedWeapon; |
36 NSString *selectedScript; |
38 NSString *selectedScript; |
37 NSString *scriptCommand; |
39 NSString *scriptCommand; |
38 |
40 |
39 UISegmentedControl *topControl; |
41 UISegmentedControl *topControl; |
40 BOOL hideSections; |
42 BOOL sectionsHidden; |
41 } |
43 } |
42 |
44 |
|
45 @property (nonatomic,retain) UITableView *tableView; |
43 @property (nonatomic,retain) NSArray *listOfSchemes; |
46 @property (nonatomic,retain) NSArray *listOfSchemes; |
44 @property (nonatomic,retain) NSArray *listOfWeapons; |
47 @property (nonatomic,retain) NSArray *listOfWeapons; |
45 @property (nonatomic,retain) NSArray *listOfScripts; |
48 @property (nonatomic,retain) NSArray *listOfScripts; |
46 @property (nonatomic,retain) NSIndexPath *lastIndexPath_sc; |
49 @property (nonatomic,retain) NSIndexPath *lastIndexPath_sc; |
47 @property (nonatomic,retain) NSIndexPath *lastIndexPath_we; |
50 @property (nonatomic,retain) NSIndexPath *lastIndexPath_we; |
49 @property (nonatomic,retain) NSString *selectedScheme; |
52 @property (nonatomic,retain) NSString *selectedScheme; |
50 @property (nonatomic,retain) NSString *selectedWeapon; |
53 @property (nonatomic,retain) NSString *selectedWeapon; |
51 @property (nonatomic,retain) NSString *selectedScript; |
54 @property (nonatomic,retain) NSString *selectedScript; |
52 @property (nonatomic,retain) NSString *scriptCommand; |
55 @property (nonatomic,retain) NSString *scriptCommand; |
53 @property (nonatomic,retain) UISegmentedControl *topControl; |
56 @property (nonatomic,retain) UISegmentedControl *topControl; |
54 @property (assign) BOOL hideSections; |
57 @property (nonatomic,assign) BOOL sectionsHidden; |
55 |
58 |
56 -(void) fillSections; |
59 +(void) fillInstanceSections; |
57 -(void) emptySections; |
60 +(void) emptyInstanceSections; |
58 |
61 |
59 @end |
62 @end |