project_files/HedgewarsMobile/Classes/GeneralSettingsViewController.h
author koda
Thu, 17 Jun 2010 20:30:39 +0200
changeset 3514 59dbd31e9953
parent 3332 cocoaTouch/GeneralSettingsViewController.h@3c90a923f156
child 3546 ccf4854df294
permissions -rw-r--r--
move stuff around and update iphone project
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3312
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
     1
//
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
     2
//  SettingsViewController.h
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
     3
//  hwengine
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
     4
//
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
     5
//  Created by Vittorio on 08/01/10.
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
     6
//  Copyright 2010 __MyCompanyName__. All rights reserved.
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
     7
//
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
     8
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
     9
#import <UIKit/UIKit.h>
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    10
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    11
3332
3c90a923f156 simplify the general settings and review minor stuff
koda
parents: 3312
diff changeset
    12
@interface GeneralSettingsViewController : UITableViewController <UITextFieldDelegate> {
3c90a923f156 simplify the general settings and review minor stuff
koda
parents: 3312
diff changeset
    13
    NSMutableDictionary *settingsDictionary;
3c90a923f156 simplify the general settings and review minor stuff
koda
parents: 3312
diff changeset
    14
	UITextField *textFieldBeingEdited;
3312
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    15
	UISwitch *musicSwitch;
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    16
	UISwitch *soundSwitch;
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    17
	UISwitch *altDamageSwitch;
3332
3c90a923f156 simplify the general settings and review minor stuff
koda
parents: 3312
diff changeset
    18
    BOOL isWriteNeeded;
3312
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    19
}
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    20
3332
3c90a923f156 simplify the general settings and review minor stuff
koda
parents: 3312
diff changeset
    21
@property (nonatomic, retain) NSMutableDictionary *settingsDictionary;
3c90a923f156 simplify the general settings and review minor stuff
koda
parents: 3312
diff changeset
    22
@property (nonatomic, retain) UITextField *textFieldBeingEdited;;
3312
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    23
@property (nonatomic, retain) UISwitch *musicSwitch;
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    24
@property (nonatomic, retain) UISwitch *soundSwitch;
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    25
@property (nonatomic, retain) UISwitch *altDamageSwitch;
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    26
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    27
#define kNetworkFields 0
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    28
#define kAudioFields 1
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    29
#define kOtherFields 2
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    30
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    31
@end