cocoaTouch/SettingsViewController.h
changeset 2720 a5111ec4d25f
parent 2702 48fc46a922fd
child 2743 39d097ac2276
--- a/cocoaTouch/SettingsViewController.h	Wed Jan 27 00:11:52 2010 +0000
+++ b/cocoaTouch/SettingsViewController.h	Wed Jan 27 19:58:52 2010 +0000
@@ -9,7 +9,8 @@
 #import <UIKit/UIKit.h>
 
 
-@interface SettingsViewController : UIViewController <UITableViewDelegate, UITableViewDataSource> {
+@interface SettingsViewController : UIViewController 
+		<UITableViewDelegate, UITableViewDataSource, UIActionSheetDelegate> {
 	UITextField *username;
 	UITextField *password;
 	UISwitch *musicSwitch;
@@ -19,7 +20,10 @@
 	UILabel *volumeLabel;
 	UITableView *table;
 	UITableViewCell *volumeCell;
+	UIView *buttonContainer;
+	BOOL needsReset;
 }
+
 @property (nonatomic, retain) IBOutlet UITextField *username;
 @property (nonatomic, retain) IBOutlet UITextField *password;
 @property (nonatomic, retain) UISwitch *musicSwitch;
@@ -29,8 +33,10 @@
 @property (nonatomic, retain) IBOutlet UILabel *volumeLabel;
 @property (nonatomic, retain) IBOutlet UITableView *table;
 @property (nonatomic, retain) IBOutlet UITableViewCell *volumeCell;
+@property (nonatomic, retain) IBOutlet UIView *buttonContainer;
 
 -(IBAction) sliderChanged: (id)sender;
 -(IBAction) backgroundTap: (id)sender;
 -(IBAction) textFieldDoneEditing: (id)sender;
+-(IBAction) deleteData: (id)sender;
 @end