aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/service/contactlist
diff options
context:
space:
mode:
authorYana Stamcheva <yana@jitsi.org>2009-11-24 15:13:16 +0000
committerYana Stamcheva <yana@jitsi.org>2009-11-24 15:13:16 +0000
commit53fe8eefaebb42912dd8e723293e140857ba7508 (patch)
treeba9a8bc017b2a65c190ee58e0660270ac8d96bc1 /src/net/java/sip/communicator/service/contactlist
parentf660a5ed6c54749e3822ccdcd106fb8928943fa4 (diff)
downloadjitsi-53fe8eefaebb42912dd8e723293e140857ba7508.zip
jitsi-53fe8eefaebb42912dd8e723293e140857ba7508.tar.gz
jitsi-53fe8eefaebb42912dd8e723293e140857ba7508.tar.bz2
Call and Chat Conference Invite Dialog enhancements:
- Added the possibility to add contacts, which are not in the contact list. - Filter contact list contacts already added in a conference.
Diffstat (limited to 'src/net/java/sip/communicator/service/contactlist')
-rw-r--r--src/net/java/sip/communicator/service/contactlist/MetaContact.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/java/sip/communicator/service/contactlist/MetaContact.java b/src/net/java/sip/communicator/service/contactlist/MetaContact.java
index 2fd5acc..65a4bc8 100644
--- a/src/net/java/sip/communicator/service/contactlist/MetaContact.java
+++ b/src/net/java/sip/communicator/service/contactlist/MetaContact.java
@@ -69,6 +69,15 @@ public interface MetaContact
ProtocolProviderService ownerProvider);
/**
+ * Returns <tt>true</tt> if the given <tt>protocolContact</tt> is contained
+ * in this <tt>MetaContact</tt>, otherwise - returns <tt>false</tt>.
+ * @param protocolContact the <tt>Contact</tt> we're looking for
+ * @return <tt>true</tt> if the given <tt>protocolContact</tt> is contained
+ * in this <tt>MetaContact</tt>, otherwise - returns <tt>false</tt>
+ */
+ public boolean containsContact(Contact protocolContact);
+
+ /**
* Returns the number of protocol speciic <tt>Contact</tt>s that this
* <tt>MetaContact</tt> contains.
* @return an int indicating the number of protocol specific contacts merged