root/apps/iphone/sampleTelApp/trunk/Classes/sampleTelAppViewController.h
@
84
| Revision 84, 0.9 kB (checked in by henri, 5 years ago) |
|---|
| Line | |
|---|---|
| 1 | // |
| 2 | // sampleTelAppViewController.h |
| 3 | // sampleTelApp |
| 4 | // |
| 5 | // Created by Henri Asseily on 9/12/08. |
| 6 | // Copyright __MyCompanyName__ 2008. All rights reserved. |
| 7 | // |
| 8 | |
| 9 | #import <UIKit/UIKit.h> |
| 10 | #import <CFNetwork/CFSocketStream.h> |
| 11 | #import "DnsResolver.h" |
| 12 | |
| 13 | enum table_sections { |
| 14 | SECTION_HEADER = 0, |
| 15 | SECTION_NAPTR = 1, |
| 16 | SECTION_TXT = 2, |
| 17 | SECTION_LOC = 3, |
| 18 | SECTION_OTHER = 4 |
| 19 | }; |
| 20 | |
| 21 | @interface sampleTelAppViewController : UIViewController <UIAlertViewDelegate> { |
| 22 | NSMutableString *headerText; |
| 23 | NSMutableArray *naptrArray; |
| 24 | NSMutableArray *txtArray; |
| 25 | NSMutableArray *locArray; |
| 26 | NSMutableArray *otherArray; |
| 27 | NSMutableString *requestedDomain; |
| 28 | |
| 29 | IBOutlet UITableView *telTable; |
| 30 | IBOutlet UITextField *telEntryField; |
| 31 | DnsResolver *resolver; |
| 32 | } |
| 33 | |
| 34 | - (IBAction)getTelData:(UITextField *)sender; |
| 35 | - (void)lookupDomain:(NSString *)domain; |
| 36 | |
| 37 | @property (nonatomic, retain) NSMutableString *headerText; |
| 38 | |
| 39 | @end |
Note: See TracBrowser
for help on using the browser.








