source: gs2-extensions/iOS-3.x/trunk/Classes/GreenstoneApplication.h@ 32258

Last change on this file since 32258 was 22603, checked in by davidb, 14 years ago

Initial cut as iOs 3.x version of Greenstone2.app

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