added new signature for SendCommand in JGE that takes in a command string and a parameter

added native keyboard handling in iOS
TODO: add same feature for Android tablets/phones
This commit is contained in:
techdragon.nguyen@gmail.com
2011-12-15 11:11:08 +00:00
parent f9016f70ab
commit dc7d52c48c
14 changed files with 785 additions and 535 deletions
+4 -5
View File
@@ -1,20 +1,19 @@
#import <UIKit/UIKit.h>
#import "Reachability.h"
#import "WagicDownloadProgressViewController.h"
#import "Reachability.h"
@class EAGLViewController;
@interface wagicAppDelegate : NSObject <UIApplicationDelegate> {
UIWindow *window;
EAGLViewController *glViewController;
//Reachability variables
Reachability* hostReach;
Reachability* internetReach;
Reachability* wifiReach;
Reachability *hostReach, *internetReach, *wifiReach;
}
- (void) rotateBackgroundImage:(UIInterfaceOrientation)fromInterfaceOrientation toInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation;
- (void) handleWEngineCommand:(NSString *) command;
- (void) handleWEngineCommand:(NSString *) command withParameter: (NSString *) parameter;
@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) EAGLViewController *glViewController;