cocoaTouch/SettingsViewController.h
changeset 2701 3a8560c00f78
parent 2696 41aa7b56c17b
child 2702 48fc46a922fd
--- a/cocoaTouch/SettingsViewController.h	Wed Jan 20 14:31:45 2010 +0000
+++ b/cocoaTouch/SettingsViewController.h	Sat Jan 23 13:15:27 2010 +0000
@@ -9,22 +9,26 @@
 #import <UIKit/UIKit.h>
 
 
-@interface SettingsViewController : UIViewController {
+@interface SettingsViewController : UIViewController <UITableViewDelegate, UITableViewDataSource> {
 	UITextField *username;
 	UITextField *password;
-	UISwitch *musicOn;
-	UISwitch *effectsOn;
-	UISwitch *altDamageOn;
+	UISwitch *musicSwitch;
+	UISwitch *effectsSwitch;
+	UISwitch *altDamageSwitch;
 	UISlider *volumeSlider;
 	UILabel *volumeLabel;
+	UITableView *table;
+	UITableViewCell *volumeCell;
 }
 @property (nonatomic, retain) IBOutlet UITextField *username;
 @property (nonatomic, retain) IBOutlet UITextField *password;
-@property (nonatomic, retain) IBOutlet UISwitch *musicOn;
-@property (nonatomic, retain) IBOutlet UISwitch *effectsOn;
-@property (nonatomic, retain) IBOutlet UISwitch *altDamageOn;
+@property (nonatomic, retain) UISwitch *musicSwitch;
+@property (nonatomic, retain) UISwitch *effectsSwitch;
+@property (nonatomic, retain) UISwitch *altDamageSwitch;
 @property (nonatomic, retain) IBOutlet UISlider *volumeSlider;
 @property (nonatomic, retain) IBOutlet UILabel *volumeLabel;
+@property (nonatomic, retain) IBOutlet UITableView *table;
+@property (nonatomic, retain) IBOutlet UITableViewCell *volumeCell;
 
 -(IBAction) sliderChanged: (id)sender;
 -(IBAction) backgroundTap: (id)sender;