aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/service/googlecontacts
diff options
context:
space:
mode:
authorSebastien Vincent <seb@jitsi.org>2011-12-02 10:26:25 +0000
committerSebastien Vincent <seb@jitsi.org>2011-12-02 10:26:25 +0000
commit2b96e2ee910b8a6c0f573efeb7c73bb827a8d020 (patch)
tree9c1f63452fbd6b60027534949b5dc8b31ca14b67 /src/net/java/sip/communicator/service/googlecontacts
parent7135885a22e6e4aa71f49300ddf616f569c6f8ba (diff)
downloadjitsi-2b96e2ee910b8a6c0f573efeb7c73bb827a8d020.zip
jitsi-2b96e2ee910b8a6c0f573efeb7c73bb827a8d020.tar.gz
jitsi-2b96e2ee910b8a6c0f573efeb7c73bb827a8d020.tar.bz2
Detects Google Contacts support in contact source via the protocol provider of the account ('Google Talk') or the Google contacts source is extern (created via the Google Contacts configuration form), in addition to the SRV method.
Diffstat (limited to 'src/net/java/sip/communicator/service/googlecontacts')
-rw-r--r--src/net/java/sip/communicator/service/googlecontacts/GoogleContactsService.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/net/java/sip/communicator/service/googlecontacts/GoogleContactsService.java b/src/net/java/sip/communicator/service/googlecontacts/GoogleContactsService.java
index c61351e..cee0588 100644
--- a/src/net/java/sip/communicator/service/googlecontacts/GoogleContactsService.java
+++ b/src/net/java/sip/communicator/service/googlecontacts/GoogleContactsService.java
@@ -58,9 +58,12 @@ public interface GoogleContactsService
* Add a contact source service with the specified
* <tt>GoogleContactsConnection</tt>.
*
- * @param cnx <tt>GoogleContactsConnection</tt>.
+ * @param cnx <tt>GoogleContactsConnection</tt>
+ * @param googleTalk if the contact source has been created as GoogleTalk
+ * account or via external Google Contacts
*/
- public void addContactSource(GoogleContactsConnection cnx);
+ public void addContactSource(GoogleContactsConnection cnx,
+ boolean googleTalk);
/**
* Remove a contact source service with the specified