cocoaTouch/SingleTeamViewController.h
author koda
Sat, 10 Apr 2010 01:09:29 +0000
changeset 3330 987ec27b6042
parent 3329 d8e41ee0b3ae
child 3332 3c90a923f156
permissions -rw-r--r--
add support for modifying the name of the team nicer presentation of hog+hat
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
//  SingleTeamViewController.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 02/04/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
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    11
@class HogHatViewController;
3329
d8e41ee0b3ae add support to editing hog names
koda
parents: 3325
diff changeset
    12
@interface SingleTeamViewController : UITableViewController <UITextFieldDelegate> {
3315
4e2813713358 usa a cached dictionary and write only when needed
koda
parents: 3312
diff changeset
    13
    NSMutableDictionary *teamDictionary;
3329
d8e41ee0b3ae add support to editing hog names
koda
parents: 3325
diff changeset
    14
    
d8e41ee0b3ae add support to editing hog names
koda
parents: 3325
diff changeset
    15
    UITextField *textFieldBeingEdited;
d8e41ee0b3ae add support to editing hog names
koda
parents: 3325
diff changeset
    16
    NSInteger selectedHog;
3330
987ec27b6042 add support for modifying the name of the team
koda
parents: 3329
diff changeset
    17
    NSString *teamName;
3315
4e2813713358 usa a cached dictionary and write only when needed
koda
parents: 3312
diff changeset
    18
    NSArray *hatArray;
3312
6d8f1c76756d restore and update the old general settings
koda
parents: 3305
diff changeset
    19
    
3325
652a8ebdf667 moved around team creation
koda
parents: 3315
diff changeset
    20
    NSArray *secondaryItems;
652a8ebdf667 moved around team creation
koda
parents: 3315
diff changeset
    21
    NSArray *secondaryControllers;
3315
4e2813713358 usa a cached dictionary and write only when needed
koda
parents: 3312
diff changeset
    22
    BOOL isWriteNeeded;
3325
652a8ebdf667 moved around team creation
koda
parents: 3315
diff changeset
    23
    
3305
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    24
    HogHatViewController *hogChildController;
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    25
}
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    26
3315
4e2813713358 usa a cached dictionary and write only when needed
koda
parents: 3312
diff changeset
    27
@property (nonatomic,retain) NSMutableDictionary *teamDictionary;
3329
d8e41ee0b3ae add support to editing hog names
koda
parents: 3325
diff changeset
    28
@property (nonatomic,retain) UITextField *textFieldBeingEdited;
3330
987ec27b6042 add support for modifying the name of the team
koda
parents: 3329
diff changeset
    29
@property (nonatomic,retain) NSString *teamName;
3315
4e2813713358 usa a cached dictionary and write only when needed
koda
parents: 3312
diff changeset
    30
@property (nonatomic,retain) NSArray *hatArray;
3305
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    31
@property (nonatomic,retain) NSArray *secondaryItems;
3325
652a8ebdf667 moved around team creation
koda
parents: 3315
diff changeset
    32
@property (nonatomic,retain) NSArray *secondaryControllers;
3330
987ec27b6042 add support for modifying the name of the team
koda
parents: 3329
diff changeset
    33
987ec27b6042 add support for modifying the name of the team
koda
parents: 3329
diff changeset
    34
-(void) writeFile;
987ec27b6042 add support for modifying the name of the team
koda
parents: 3329
diff changeset
    35
-(void) setWriteNeeded;
987ec27b6042 add support for modifying the name of the team
koda
parents: 3329
diff changeset
    36
3305
91074496d5c9 merged code from ipad and iphone frontends
koda
parents:
diff changeset
    37
@end