project_files/HedgewarsMobile/Classes/EditableCellView.h
changeset 3660 bc125bea5849
parent 3659 f8d5ac50e307
child 3662 a44406f4369b
--- a/project_files/HedgewarsMobile/Classes/EditableCellView.h	Tue Jul 20 03:14:43 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/EditableCellView.h	Tue Jul 20 05:37:58 2010 +0200
@@ -8,19 +8,25 @@
 
 #import <UIKit/UIKit.h>
 
+#define MAX_STRING_LENGTH 64
+
 @protocol EditableCellViewDelegate <NSObject>
 
--(void) saveTextFieldValue:(NSString *)textString;
+-(void) saveTextFieldValue:(NSString *)textString withTag:(NSInteger) tagValue;
 
 @end
 
 @interface EditableCellView : UITableViewCell <UITextFieldDelegate> {
     id<EditableCellViewDelegate> delegate;
     UITextField *textField;
+    
+@private
+    NSString *oldValue;
 }
 
 @property (nonatomic,assign) id<EditableCellViewDelegate> delegate;
 @property (nonatomic,retain,readonly) UITextField *textField;
+@property (nonatomic,retain) NSString *oldValue;
 
 -(void) replyKeyboard;
 -(void) cancel:(id) sender;