]> sjero.net Git - linphone/commitdiff
add tunnelSetHttpProxy()
authorSimon Morlat <simon.morlat@linphone.org>
Mon, 18 Jun 2012 15:00:26 +0000 (17:00 +0200)
committerSimon Morlat <simon.morlat@linphone.org>
Mon, 18 Jun 2012 15:05:23 +0000 (17:05 +0200)
LinphoneCallLogImpl.java
LinphoneCoreImpl.java

index 1bdb8472052efffd506fc321c5631aa502cc90c7..895e27a388597463782b10afcf8c5ed4dfd17a3f 100644 (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;
+       }
 
 }
index 54f6383a09b4d02bce83140140f7f57aa2d6eefc..d02f69cfb370675771b42469c66eabf08e646d72 100644 (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
+               
+       }
 }