forked from rodvand/GeoEvents
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathIndexViewController.h
More file actions
55 lines (49 loc) · 1.57 KB
/
IndexViewController.h
File metadata and controls
55 lines (49 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//
// IndexViewController.h
// GeoEvents
//
// Created by Martin Roedvand on 12/12/2009.
// Copyright 2009 Redwater software. All rights reserved.
//
#import "GlobalHeader.h"
#import <UIKit/UIKit.h>
#import "MyCLController.h"
#import "SearchViewController.h"
#import "SettingsViewController.h"
@interface IndexViewController : UITableViewController <MyCLControllerDelegate, UITextFieldDelegate> {
UITextField * searchField;
MyCLController *locationController;
SearchViewController * searchViewViewController;
SettingsViewController * settingsViewController;
UIActivityIndicatorView * activityIndicator;
NSNumber * latitude;
NSNumber * longitude;
int run;
bool locationFound;
}
- (void)locationUpdate:(CLLocation *)location;
- (void)locationError:(NSError *)error;
- (void)search:(NSString *)searchText addToSearchHistory:(bool)addToSearch;
- (void)searchByGps;
- (void)loadSearchView:(bool)isUsingGps;
- (void)goToSettings:(id)sender;
@property (nonatomic, retain) SearchViewController * searchViewViewController;
@property (nonatomic, retain) SettingsViewController * settingsViewController;
@property (nonatomic, retain) UITextField * searchField;
@property (nonatomic, retain) NSNumber * latitude;
@property (nonatomic, retain) NSNumber * longitude;
@property (nonatomic, retain) UIActivityIndicatorView * activityIndicator;
@property bool locationFound;
@property int run;
enum Sections {
searchSection = 0,
//settingSection,
historySection,
NUM_SECTIONS
};
enum SearchSectionRows {
searchSectionSearchRow = 0,
searchSectionSearchByGpsRow,
NUM_HEADER_SECTION_ROWS
};
@end