add tunnelSetHttpProxy()

This commit is contained in:
Simon Morlat 2012-06-18 17:00:26 +02:00
parent 74de890a09
commit c00e540378
3 changed files with 32 additions and 1 deletions

View file

@ -45,5 +45,15 @@ class LinphoneCallLogImpl implements LinphoneCallLog {
public CallStatus getStatus() {
throw new RuntimeException("not implemented yet");
}
@Override
public String getStartDate() {
// TODO Auto-generated method stub
return null;
}
@Override
public int getCallDuration() {
// TODO Auto-generated method stub
return 0;
}
}

View file

@ -704,4 +704,25 @@ class LinphoneCoreImpl implements LinphoneCore {
{
setCpuCountNative(count);
}
private native void tunnelSetHttpProxyNative(long nativePtr, String proxy_host, int port, String username, String password);
@Override
public void tunnelSetHttpProxy(String proxy_host, int port,
String username, String password) {
tunnelSetHttpProxyNative(nativePtr,proxy_host, port, username, password);
}
@Override
public void removeCallLog(LinphoneCallLog log) {
// TODO Auto-generated method stub
}
@Override
public int getMissedCallsCount() {
// TODO Auto-generated method stub
return 0;
}
@Override
public void resetMissedCallsCount() {
// TODO Auto-generated method stub
}
}

@ -1 +1 @@
Subproject commit 23d589cec01361b7c08528cd7433d5b01c0579bb
Subproject commit 80e4341e05c2410d4b3e64ac8c2b997910ef7075