2014-03-10 15:32:48 +08:00
|
|
|
#ifndef COCOS2DX_SAMPLES_TESTLUA_PROJ_IOS_LUAOBJECTCBRIDGETEST_H
|
|
|
|
#define COCOS2DX_SAMPLES_TESTLUA_PROJ_IOS_LUAOBJECTCBRIDGETEST_H
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
@interface LuaObjectCBridgeTest : NSObject {
|
|
|
|
int _scriptHandler;
|
|
|
|
}
|
|
|
|
+ (LuaObjectCBridgeTest*) getInstance;
|
|
|
|
+ (void) destroyInstance;
|
|
|
|
|
|
|
|
+ (void) registerScriptHandler:(NSDictionary *)dict;
|
|
|
|
+ (void) unregisterScriptHandler;
|
|
|
|
|
|
|
|
+ (int) addTwoNumbers:(NSDictionary *)dict;
|
|
|
|
+ (void) callbackScriptHandler;
|
|
|
|
|
2014-11-05 07:42:29 +08:00
|
|
|
- (id) init;
|
2014-03-10 15:32:48 +08:00
|
|
|
@end
|
|
|
|
|
|
|
|
#endif // COCOS2DX_SAMPLES_TESTLUA_PROJ_IOS_LUAOBJECTCBRIDGETEST_H
|