Variant ALProxy::call(const std::string &method, const Variant &val1, const Variant &val2,const Variant &val3) { AL::ALValue param; AL::ALValue result; Variant resJava; param.arrayPush(val1.toALValue()); param.arrayPush(val2.toALValue()); param.arrayPush(val3.toALValue()); fProxy->genericCall(method, param,result); resJava.fromALValue(result); return resJava; }
Variant ALProxy::call(const std::string &method, const Variant &val) { AL::ALValue param; AL::ALValue result; Variant vResult(0); param.arrayPush(val.toALValue()); fProxy->genericCall(method, param,result); vResult.fromALValue(result); return vResult; }