Do not wrap the static methods in Java wrapper

This commit is contained in:
Sylvain Berfini 2017-10-18 10:19:59 +02:00
parent 927f2c5038
commit cf0502d382
2 changed files with 0 additions and 26 deletions

View file

@ -122,20 +122,6 @@ public {{#isLinphoneFactory}}abstract class{{/isLinphoneFactory}}{{#isNotLinphon
* Gets the object stored in this object user's data
*/
{{#isLinphoneFactory}}abstract {{/isLinphoneFactory}}public Object getUserData();
{{#isNotLinphoneFactory}}
{{#staticMethods}}
{{#doc}}
/**
{{#lines}}
* {{line}}
{{/lines}}
*/
{{/doc}}
public {{return}} {{name}}({{params}}){{#exception}} throws CoreException{{/exception}};
{{/staticMethods}}
{{/isNotLinphoneFactory}}
}
class {{classImplName}} {{#isLinphoneFactory}}extends{{/isLinphoneFactory}}{{#isNotLinphoneFactory}}implements{{/isNotLinphoneFactory}} {{className}} {
@ -214,12 +200,4 @@ class {{classImplName}} {{#isLinphoneFactory}}extends{{/isLinphoneFactory}}{{#is
public Object getUserData() {
return userData;
}
{{#isNotLinphoneFactory}}
{{#staticMethods}}
@Override
public native {{return_native}} {{name}}({{static_native_params}});
{{/staticMethods}}
{{/isNotLinphoneFactory}}
}

View file

@ -305,16 +305,12 @@ s/new XmlRpcSessionImpl(LinphoneManager.getLcIfManagerNotDestroyedOrNull(), /Lin
# Core.startEchoCancellerCalibration no longer takes a parameter
# XmlRpcSession.createRequest takes first the return arg type and then the name of the method, until now it was the other way around
# # Factory
#Factory.createLpConfigFromString => Config.newFromBuffer
#Factory.createLpConfig => Config.newWithFactory or Core.createConfig
#Factory.createAccountCreator() => Core.createAccountCreator()
#Factory.createPresenceModel() => Core.createPresenceModel()
#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