axmol/tests/lua-tests/project/proj.ios_mac/mac/LuaObjectCBridgeTest.h

21 lines
556 B
C
Raw Normal View History

#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;
@end
#endif // COCOS2DX_SAMPLES_TESTLUA_PROJ_IOS_LUAOBJECTCBRIDGETEST_H