equal
deleted
inserted
replaced
20 |
20 |
21 |
21 |
22 #import <UIKit/UIKit.h> |
22 #import <UIKit/UIKit.h> |
23 #import "MapPreviewButtonView.h" |
23 #import "MapPreviewButtonView.h" |
24 |
24 |
25 @protocol MapConfigDelegate <NSObject> |
|
26 |
|
27 -(void) buttonPressed:(id) sender; |
|
28 |
|
29 @end |
|
30 |
|
31 |
|
32 @interface MapConfigViewController : UIViewController <UITableViewDelegate, UITableViewDataSource, MapPreviewViewDelegate> { |
25 @interface MapConfigViewController : UIViewController <UITableViewDelegate, UITableViewDataSource, MapPreviewViewDelegate> { |
33 id<MapConfigDelegate> delegate; |
|
34 |
|
35 NSInteger oldValue; //slider |
26 NSInteger oldValue; //slider |
36 NSInteger oldPage; //segmented control |
27 NSInteger oldPage; //segmented control |
37 BOOL busy; |
28 BOOL busy; |
38 |
29 |
39 // objects read (mostly) by parent view |
30 // objects read (mostly) by parent view |
57 // internal objects |
48 // internal objects |
58 NSIndexPath *lastIndexPath; |
49 NSIndexPath *lastIndexPath; |
59 NSArray *dataSourceArray; |
50 NSArray *dataSourceArray; |
60 } |
51 } |
61 |
52 |
62 @property (nonatomic,retain) id<MapConfigDelegate> delegate; |
|
63 |
53 |
64 @property (nonatomic,assign) NSInteger maxHogs; |
54 @property (nonatomic,assign) NSInteger maxHogs; |
65 @property (nonatomic,assign) BOOL busy; |
55 @property (nonatomic,assign) BOOL busy; |
66 @property (nonatomic,retain) NSString *seedCommand; |
56 @property (nonatomic,retain) NSString *seedCommand; |
67 @property (nonatomic,retain) NSString *templateFilterCommand; |
57 @property (nonatomic,retain) NSString *templateFilterCommand; |