]> sjero.net Git - linphone/commitdiff
modify interface
authorSimon Morlat <simon.morlat@linphone.org>
Tue, 27 Apr 2010 12:40:50 +0000 (14:40 +0200)
committerSimon Morlat <simon.morlat@linphone.org>
Tue, 27 Apr 2010 12:40:50 +0000 (14:40 +0200)
java/org/linphone/core/LinphoneAuthInfo.java
java/org/linphone/core/LinphoneCore.java

index 2a5dbaf2d57f3a82b449f6ed54966aa9ca04c364..8ae3aeea522a518d4453cae632fcc233c2274cd8 100644 (file)
@@ -19,7 +19,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 package org.linphone.core;
 
 public interface LinphoneAuthInfo {
-
+       String getUsername();
+       String getPassword();
+       String getRealm();
+       void setUsername(String username);
+       void setPassword(String password);
+       void setRealm(String realm);
 }
 
 
index 8609e04e12bc508360fd636dea5892480c4ec3b3..bfc9486b817d4d829750c04d3898973c242d7064 100644 (file)
@@ -59,14 +59,6 @@ public interface LinphoneCore {
        }
 
        
-       /**
-        * @param identity sip uri sip:jehan@linphone.org
-        * @param proxy  sip uri (sip:linphone.org)
-        * @param route optionnal sip usi (sip:linphone.org)
-        * @param register should be initiated
-        * @return
-        */
-       public LinphoneProxyConfig createProxyConfig(String identity,String proxy,String route,boolean enableRegister) throws LinphoneCoreException;
        /**
         * clear all added proxy config
         */
@@ -123,7 +115,7 @@ public interface LinphoneCore {
        /**
         * @return a list of LinphoneCallLog 
         */
-       public List<LinphoneCallLog> getCallLogs();
+       public List getCallLogs();
        
        /**
         * This method is called by the application to notify the Linphone core library when network is reachable.