cocoaTouch/GeneralSettingsViewController.h
author koda
Tue, 06 Apr 2010 21:54:46 +0000
changeset 3315 4e2813713358
parent 3312 6d8f1c76756d
child 3332 3c90a923f156
permissions -rw-r--r--
usa a cached dictionary and write only when needed
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
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    12
@interface GeneralSettingsViewController : UITableViewController <UIActionSheetDelegate> {
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    13
    NSDictionary *dataDict;
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    14
	NSString *username;
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    15
	NSString *password;
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    16
	UISwitch *musicSwitch;
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    17
	UISwitch *soundSwitch;
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    18
	UISwitch *altDamageSwitch;
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
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    21
@property (nonatomic, retain) NSDictionary *dataDict;
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    22
@property (nonatomic, retain) NSString *username;
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    23
@property (nonatomic, retain) NSString *password;
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    24
@property (nonatomic, retain) UISwitch *musicSwitch;
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    25
@property (nonatomic, retain) UISwitch *soundSwitch;
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    26
@property (nonatomic, retain) UISwitch *altDamageSwitch;
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    27
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    28
#define kNetworkFields 0
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    29
#define kAudioFields 1
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    30
#define kOtherFields 2
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    31
6d8f1c76756d restore and update the old general settings
koda
parents:
diff changeset
    32
@end