project_files/HedgewarsMobile/Classes/GeneralSettingsViewController.h
author koda
Wed, 23 Jun 2010 22:03:56 +0200
changeset 3547 02875b1145b7
parent 3546 ccf4854df294
child 3660 bc125bea5849
permissions -rw-r--r--
i <3 mercurial
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3547
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     1
//
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     2
//  SettingsViewController.h
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     3
//  hwengine
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     4
//
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     5
//  Created by Vittorio on 08/01/10.
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     6
//  Copyright 2010 __MyCompanyName__. All rights reserved.
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     7
//
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     8
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
     9
#import <UIKit/UIKit.h>
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    10
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    11
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    12
@interface GeneralSettingsViewController : UITableViewController <UITextFieldDelegate> {
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    13
    NSMutableDictionary *settingsDictionary;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    14
    UITextField *textFieldBeingEdited;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    15
    UISwitch *musicSwitch;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    16
    UISwitch *soundSwitch;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    17
    UISwitch *altDamageSwitch;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    18
    BOOL isWriteNeeded;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    19
}
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    20
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    21
@property (nonatomic, retain) NSMutableDictionary *settingsDictionary;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    22
@property (nonatomic, retain) UITextField *textFieldBeingEdited;;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    23
@property (nonatomic, retain) UISwitch *musicSwitch;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    24
@property (nonatomic, retain) UISwitch *soundSwitch;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    25
@property (nonatomic, retain) UISwitch *altDamageSwitch;
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    26
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    27
#define kNetworkFields 0
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    28
#define kAudioFields 1
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    29
#define kOtherFields 2
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    30
02875b1145b7 i <3 mercurial
koda
parents: 3546
diff changeset
    31
@end