src/com/beem/project/beem/service/aidl/IChatManager.aidl
changeset 674 af23f43cf6e3
parent 599 cdadf4e39f99
--- a/src/com/beem/project/beem/service/aidl/IChatManager.aidl	Mon Feb 15 23:37:25 2010 +0100
+++ b/src/com/beem/project/beem/service/aidl/IChatManager.aidl	Thu Feb 18 15:43:26 2010 +0100
@@ -63,6 +63,12 @@
 	IChat createChat(in Contact contact, in IMessageListener listener);
 
 	/**
+	 * Get an existing Chat session with a contact.
+	 * @return null if the chat session does not exist.
+	 */
+	IChat getChat(in Contact contact);
+
+	/**
     	 * Destroy a chat session with a contact.
     	 * @param chat	the chat session
     	 */
@@ -85,5 +91,9 @@
 	 */
 	void removeChatCreationListener(in IChatManagerListener listener);
 
+	/**
+	 * Get a list of contact which we are currently chatting.
+	 * @return list of contact.
+	 */
 	List<Contact> getOpenedChatList();
 }