Fixed issue in Java wrapper with XmlRpcRequest.Status

This commit is contained in:
Sylvain Berfini 2017-10-17 16:29:29 +02:00
parent 63a74d3ba8
commit c1a21d9090
2 changed files with 4 additions and 3 deletions

View file

@ -191,6 +191,8 @@ class JavaTranslator(object):
return 'int'
elif jni:
return 'jint'
if _type.desc.name.to_camel_case() == "XmlRpcStatus":
return "XmlRpcRequest.Status"
name = _type.desc.name.to_camel_case()
if name in ENUMS_LIST:
className = ENUMS_LIST[name]

View file

@ -308,9 +308,7 @@ eval "$SED_START 's/mLc.setCpuCount(/\/\/mLc.setCpuCount(/g' $SED_END"
#Tunnel, TunnelConfig
#LinphoneBuffer
#AccountCreator.updatePassword => What to do ?
# XmlRpcStatus ! must be XmlRpcRequest.Status
# XmlRpcRequest and XmlRpcSession constructors...
# Factory.createContent(
# XmlRpcRequest and XmlRpcSession constructors
# Callbacks with return like chat messages' file transfer
#Android specifics not wrapped automatically
@ -347,6 +345,7 @@ eval "$SED_START 's/mLc.setCpuCount(/\/\/mLc.setCpuCount(/g' $SED_END"
#Factory.instance().setLogCollectionPath(getFilesDir().getAbsolutePath()); => Core.setLogCollectionPath
#Factory.instance().enableLogCollection(isDebugEnabled); => Core.enableLogCollection
#Factory.instance().setDebugMode(isDebugEnabled, getString(R.string.app_name)); => Core.setLogLevelMask
#Factory.createContent( => Core.createContent(
# # Core
#Core.getVideoDevice and Core.setVideoDevice now takes/returns String instead of int