Last change
on this file since 28652 was 22548, checked in by davidb, 14 years ago |
Original version of Greenstone2 app for iPhone/iPod-touch
|
File size:
1.1 KB
|
Line | |
---|
1 | #import <UIKit/UIKit.h>
|
---|
2 | #import <UIKit/UIApplication.h>
|
---|
3 |
|
---|
4 | #import "BrowseCascadeView.h"
|
---|
5 | #import "QueryCascadeView.h"
|
---|
6 | #import "PrefCascadeView.h"
|
---|
7 |
|
---|
8 | #import "SimpleWebView.h"
|
---|
9 |
|
---|
10 | #import "GreenstoneAPI.h"
|
---|
11 |
|
---|
12 | #import "AppDefs.h"
|
---|
13 |
|
---|
14 | @interface GreenstoneApplication : UIApplication
|
---|
15 | {
|
---|
16 | UIWindow* _window;
|
---|
17 | UIButtonBar* _butbar;
|
---|
18 |
|
---|
19 | BrowseCascadeView* _browseCascadeView;
|
---|
20 | QueryCascadeView* _queryCascadeView;
|
---|
21 | PrefCascadeView* _prefCascadeView;
|
---|
22 | }
|
---|
23 |
|
---|
24 |
|
---|
25 | -(NSString*) languagePref;
|
---|
26 |
|
---|
27 | +(GreenstoneApplication*) toplevelApp;
|
---|
28 | +(GreenstoneAPI*) greenstoneAPI;
|
---|
29 |
|
---|
30 | +(CGRect)workAreaRect;
|
---|
31 |
|
---|
32 | +(void) setInCollection:(NSString*)collection;
|
---|
33 | +(int) inCollectionRowId;
|
---|
34 |
|
---|
35 |
|
---|
36 | -(void) applicationDidFinishLaunching: (NSNotification*)aNotification;
|
---|
37 |
|
---|
38 | -(void) deviceOrientationChanged:(struct __GSEvent *)event;
|
---|
39 |
|
---|
40 | -(void) buttonBarClicked:(id)sender;
|
---|
41 |
|
---|
42 | +(void) transitionView:(int)eventNum fromView:(UIView*)from toView:(UIView*)to;
|
---|
43 |
|
---|
44 | +(void) startWebViewBusy;
|
---|
45 | +(void) stopWebViewBusy;
|
---|
46 |
|
---|
47 | +(void) loadURL:(NSURL*)url;
|
---|
48 | +(void) showWebView:(int)eventNum fromView:(UIView*)from withURL:(NSURL*)url;
|
---|
49 |
|
---|
50 | -(void) alertSheet:(UIAlertSheet*)sheet buttonClicked: (int)button;
|
---|
51 |
|
---|
52 | @end
|
---|
53 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.