Last change
on this file since 22548 was 22548, checked in by davidb, 14 years ago |
Original version of Greenstone2 app for iPhone/iPod-touch
|
File size:
726 bytes
|
Line | |
---|
1 | /*
|
---|
2 | By: Sean Heber <[email protected]>, J. Zdziarski
|
---|
3 | iApp-a-Day - November, 2007
|
---|
4 | BSD License
|
---|
5 | */
|
---|
6 | #import <UIKit/UIKit.h>
|
---|
7 | #import <UIKit/UIScroller.h>
|
---|
8 | #import <UIKit/UIWebView.h>
|
---|
9 |
|
---|
10 | @interface MyWebView : UIWebView
|
---|
11 | {
|
---|
12 |
|
---|
13 | }
|
---|
14 | -(void) gestureEnded:(struct __GSEvent *)event;
|
---|
15 | -(void) doubleTap:(struct __GSEvent *)event;
|
---|
16 |
|
---|
17 | @end
|
---|
18 |
|
---|
19 | @interface SimpleWebView : UIView {
|
---|
20 | UIView* _parent;
|
---|
21 | MyWebView *webView;
|
---|
22 | UIScroller *scroller;
|
---|
23 | NSURLRequest *urlRequest;
|
---|
24 |
|
---|
25 | CGSize lastSize, size;
|
---|
26 | }
|
---|
27 |
|
---|
28 | -(id)initWithFrame:(CGRect)frame;
|
---|
29 | -(id)initWithFrame:(CGRect)frame withParent:(UIView*)parent;
|
---|
30 |
|
---|
31 | -(void) setParent:(UIView*)parent;
|
---|
32 |
|
---|
33 | -(id) loadURL:(NSURL*)url;
|
---|
34 |
|
---|
35 |
|
---|
36 |
|
---|
37 | -(void) dealloc;
|
---|
38 | @end
|
---|
39 |
|
---|
40 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.