root/apps/iphone/superbook/trunk/Classes/LocateThem_ViewController.h
@
386
| Revision 386, 3.2 kB (checked in by henri, 4 years ago) |
|---|
| Line | |
|---|---|
| 1 | // |
| 2 | // LocateThem_ViewController.h |
| 3 | // LocateThem |
| 4 | // |
| 5 | // Created by Henri Asseily on 8/13/08. |
| 6 | /* |
| 7 | Copyright (c) 2008-2009, Telnic Ltd. All rights reserved. |
| 8 | |
| 9 | Redistribution and use in source and binary forms, with or without modification, |
| 10 | are permitted provided that the following conditions are met: |
| 11 | |
| 12 | Redistributions of source code must retain the above copyright notice, this list of conditions |
| 13 | and the following disclaimer. Redistributions in binary form must reproduce the above copyright |
| 14 | notice, this list of conditions and the following disclaimer in the documentation and/or other |
| 15 | materials provided with the distribution. |
| 16 | Neither the name of the Telnic Ltd. nor the names of its contributors may be used to endorse or |
| 17 | promote products derived from this software without specific prior written permission. |
| 18 | THIS DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS |
| 19 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY |
| 20 | AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR |
| 21 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 22 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 23 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER |
| 24 | IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
| 25 | OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 26 | */ |
| 27 | // |
| 28 | |
| 29 | #import <UIKit/UIKit.h> |
| 30 | #import "MyCLController.h" |
| 31 | #import <AddressBookUI/AddressBookUI.h> |
| 32 | #import "NaptrViewController.h" |
| 33 | #import "FriendsMapViewController.h" |
| 34 | #import "CustomAlertView.h" |
| 35 | |
| 36 | @interface LocateThem_ViewController : UIViewController <MyCLControllerDelegate, FriendsDataDelegate, |
| 37 | UINavigationControllerDelegate, UISearchBarDelegate, UIWebViewDelegate> { |
| 38 | |
| 39 | IBOutlet UITableView *friendsTableView; |
| 40 | IBOutlet UILabel *labelGpsLastUpdateDate; |
| 41 | IBOutlet UIProgressView *progressView; |
| 42 | IBOutlet UIView *loadingView; |
| 43 | IBOutlet UISearchBar *telSearch; |
| 44 | FriendsMapViewController *mapViewController; |
| 45 | UINavigationController *telNavController; |
| 46 | @private |
| 47 | BOOL isFirstRun; |
| 48 | BOOL keyboardShown; |
| 49 | BOOL isUpdatingLocation; |
| 50 | BOOL needsFriendsTableRefresh; |
| 51 | UILabel *instructionsView; |
| 52 | } |
| 53 | |
| 54 | @property (nonatomic, retain) IBOutlet UITableView *friendsTableView; |
| 55 | @property (nonatomic, retain) IBOutlet UILabel *labelGpsLastUpdateDate; |
| 56 | @property (nonatomic, retain) IBOutlet UIProgressView *progressView; |
| 57 | @property (nonatomic, retain) IBOutlet UIView *loadingView; |
| 58 | @property (nonatomic, retain) IBOutlet UISearchBar *telSearch; |
| 59 | @property (nonatomic, retain) UINavigationController *telNavController; |
| 60 | |
| 61 | - (void)updateFriendsListInBackground; |
| 62 | - (void)updateFriendsTableViewWithTimestamp:(NSDate *)theStamp; |
| 63 | - (void)updateProgressView:(NSNumber *)val; |
| 64 | - (void)launchNavControllerForTel:(NSString *)aTel personId:(NSNumber *)aPersonId; |
| 65 | - (IBAction)cancelNavController:(id)sender; |
| 66 | - (IBAction)didPressInfoButton:(id)sender; |
| 67 | |
| 68 | // Explicity state this delegate method because we're calling it directly |
| 69 | - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath; |
| 70 | |
| 71 | @end |
Note: See TracBrowser
for help on using the browser.








