//
// WebViewController.h
// Web
//
// Created by HuTao on 8/21/12.
// Copyright __MyCompanyName__ 2012. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface WebViewController : UIViewController<UIWebViewDelegate>
{
IBOutlet UIButton * btnBack;
IBOutlet UIButton * btnForward;
IBOutlet UIButton * btnStop;
IBOutlet UIButton * btnReload;
IBOutlet UIButton * btnGo;
IBOutlet UIWebView * webView;
IBOutlet UITextField * textFieldUrl;
UIActivityIndicatorView * activityIndicatorView;
}
@property (retain, nonatomic) UIButton * btnBack;
@property (retain, nonatomic) UIButton * btnForward;
@property (retain, nonatomic) UIButton * btnStop;
@property (retain, nonatomic) UIButton * btnReload;
@property (retain, nonatomic) UIButton * btnGo;
@property (retain, nonatomic) UIWebView * webView;
@property (retain, nonatomic) UITextField * textFieldUrl;
@property (retain, nonatomic) UIActivityIndicatorView * activityIndicatorView;
-(IBAction)btnBack:(id)sender;
-(IBAction)btnForward:(id)sender;
-(IBAction)btnStop:(id)sender;
-(IBAction)btnReload:(id)sender;
-(IBAction)btnGo:(id)sender;
-(void)loadWebPageWithUrl:(NSString *)url;
-(void)refreshGui;
@end