Checkstyle
authorDa Risk <darisk972@gmail.com>
Tue, 22 Dec 2009 17:28:31 +0100
changeset 599 cdadf4e39f99
parent 598 8d54817f081f
child 600 53aef2227209
Checkstyle
src/com/beem/project/beem/service/BeemChatManager.java
src/com/beem/project/beem/service/ChatAdapter.java
src/com/beem/project/beem/service/Contact.aidl
src/com/beem/project/beem/service/Contact.java
src/com/beem/project/beem/service/Message.aidl
src/com/beem/project/beem/service/Message.java
src/com/beem/project/beem/service/PresenceAdapter.aidl
src/com/beem/project/beem/service/PresenceAdapter.java
src/com/beem/project/beem/service/PrivacyListItem.aidl
src/com/beem/project/beem/service/PrivacyListItem.java
src/com/beem/project/beem/service/PrivacyListManagerAdapter.java
src/com/beem/project/beem/service/RosterAdapter.java
src/com/beem/project/beem/service/XmppFacade.java
src/com/beem/project/beem/service/aidl/IBeemConnectionListener.aidl
src/com/beem/project/beem/service/aidl/IBeemRosterListener.aidl
src/com/beem/project/beem/service/aidl/IChat.aidl
src/com/beem/project/beem/service/aidl/IChatManager.aidl
src/com/beem/project/beem/service/aidl/IChatManagerListener.aidl
src/com/beem/project/beem/service/aidl/IContact.aidl
src/com/beem/project/beem/service/aidl/IMessageListener.aidl
src/com/beem/project/beem/service/aidl/IPrivacyListManager.aidl
src/com/beem/project/beem/service/aidl/IRoster.aidl
src/com/beem/project/beem/service/aidl/IXmppConnection.aidl
src/com/beem/project/beem/service/aidl/IXmppFacade.aidl
src/com/beem/project/beem/ui/AddContact.java
src/com/beem/project/beem/ui/ChangeStatus.java
src/com/beem/project/beem/ui/Chat.java
src/com/beem/project/beem/ui/ContactList.java
src/com/beem/project/beem/ui/CreateAccount.java
src/com/beem/project/beem/ui/GroupList.java
src/com/beem/project/beem/ui/Login.java
src/com/beem/project/beem/ui/LoginAnim.java
src/com/beem/project/beem/ui/Settings.java
src/com/beem/project/beem/ui/Subscription.java
src/com/beem/project/beem/ui/package-info.java
--- a/src/com/beem/project/beem/service/BeemChatManager.java	Tue Dec 22 15:56:54 2009 +0100
+++ b/src/com/beem/project/beem/service/BeemChatManager.java	Tue Dec 22 17:28:31 2009 +0100
@@ -68,7 +68,6 @@
 import com.beem.project.beem.service.aidl.IMessageListener;
 import com.beem.project.beem.service.aidl.IRoster;
 
-// TODO: Auto-generated Javadoc
 /**
  * An adapter for smack's ChatManager. This class provides functionnality to handle chats.
  * @author darisk
@@ -216,7 +215,7 @@
     public IChat createChat(String jid, IMessageListener listener) {
 	String key = StringUtils.parseBareAddress(jid);
 	ChatAdapter result;
-	Log.d(TAG, "Get chat key = "+key);
+	Log.d(TAG, "Get chat key = " + key);
 	if (mChats.containsKey(key)) {
 	    result = mChats.get(key);
 	    result.addMessageListener(listener);
--- a/src/com/beem/project/beem/service/ChatAdapter.java	Tue Dec 22 15:56:54 2009 +0100
+++ b/src/com/beem/project/beem/service/ChatAdapter.java	Tue Dec 22 17:28:31 2009 +0100
@@ -60,7 +60,6 @@
 import com.beem.project.beem.service.aidl.IChat;
 import com.beem.project.beem.service.aidl.IMessageListener;
 
-// TODO: Auto-generated Javadoc
 /**
  * An adapter for smack's Chat class.
  * @author darisk
@@ -199,6 +198,11 @@
      * Listener.
      */
     private class MsgListener implements MessageListener, ChatStateListener {
+	/**
+	 * Constructor.
+	 */
+	public MsgListener() { }
+
 	@Override
 	public void processMessage(Chat chat, org.jivesoftware.smack.packet.Message message) {
 	    Message  msg = new Message(message);
--- a/src/com/beem/project/beem/service/Contact.aidl	Tue Dec 22 15:56:54 2009 +0100
+++ b/src/com/beem/project/beem/service/Contact.aidl	Tue Dec 22 17:28:31 2009 +0100
@@ -1,3 +1,46 @@
+/*
+    BEEM is a videoconference application on the Android Platform.
+
+    Copyright (C) 2009 by Frederic-Charles Barthelery,
+                          Jean-Manuel Da Silva,
+                          Nikita Kozlov,
+                          Philippe Lago,
+                          Jean Baptiste Vergely,
+                          Vincent Veronis.
+
+    This file is part of BEEM.
+
+    BEEM is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    BEEM is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with BEEM.  If not, see <http://www.gnu.org/licenses/>.
+
+    Please send bug reports with examples or suggestions to
+    contact@beem-project.com or http://dev.beem-project.com/
+
+    Epitech, hereby disclaims all copyright interest in the program "Beem"
+    written by Frederic-Charles Barthelery,
+               Jean-Manuel Da Silva,
+               Nikita Kozlov,
+               Philippe Lago,
+               Jean Baptiste Vergely,
+               Vincent Veronis.
+
+    Nicolas Sadirac, November 26, 2009
+    President of Epitech.
+
+    Flavien Astraud, November 26, 2009
+    Head of the EIP Laboratory.
+
+*/
 package com.beem.project.beem.service;
 
 parcelable Contact;
--- a/src/com/beem/project/beem/service/Contact.java	Tue Dec 22 15:56:54 2009 +0100
+++ b/src/com/beem/project/beem/service/Contact.java	Tue Dec 22 17:28:31 2009 +0100
@@ -57,7 +57,6 @@
 
 import com.beem.project.beem.utils.Status;
 
-// TODO: Auto-generated Javadoc
 /**
  * This class contains informations on a jabber contact.
  * @author darisk
@@ -109,20 +108,6 @@
     }
 
     /**
-     * {@inheritDoc}
-     */
-    @Override
-    public void writeToParcel(Parcel dest, int flags) {
-	dest.writeInt(mID);
-	dest.writeInt(mStatus);
-	dest.writeString(mJID);
-	dest.writeString(mName);
-	dest.writeString(mMsgState);
-	dest.writeStringList(getMRes());
-	dest.writeStringList(getGroups());
-    }
-
-    /**
      * Constructor.
      * @param jid JID of the contact
      */
@@ -157,6 +142,20 @@
     }
 
     /**
+     * {@inheritDoc}
+     */
+    @Override
+    public void writeToParcel(Parcel dest, int flags) {
+	dest.writeInt(mID);
+	dest.writeInt(mStatus);
+	dest.writeString(mJID);
+	dest.writeString(mName);
+	dest.writeString(mMsgState);
+	dest.writeStringList(getMRes());
+	dest.writeStringList(getGroups());
+    }
+
+    /**
      * Add a group for the contact.
      * @param group the group
      */
--- a/src/com/beem/project/beem/service/Message.aidl	Tue Dec 22 15:56:54 2009 +0100
+++ b/src/com/beem/project/beem/service/Message.aidl	Tue Dec 22 17:28:31 2009 +0100
@@ -1,3 +1,46 @@
+/*
+    BEEM is a videoconference application on the Android Platform.
+
+    Copyright (C) 2009 by Frederic-Charles Barthelery,
+                          Jean-Manuel Da Silva,
+                          Nikita Kozlov,
+                          Philippe Lago,
+                          Jean Baptiste Vergely,
+                          Vincent Veronis.
+
+    This file is part of BEEM.
+
+    BEEM is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    BEEM is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with BEEM.  If not, see <http://www.gnu.org/licenses/>.
+
+    Please send bug reports with examples or suggestions to
+    contact@beem-project.com or http://dev.beem-project.com/
+
+    Epitech, hereby disclaims all copyright interest in the program "Beem"
+    written by Frederic-Charles Barthelery,
+               Jean-Manuel Da Silva,
+               Nikita Kozlov,
+               Philippe Lago,
+               Jean Baptiste Vergely,
+               Vincent Veronis.
+
+    Nicolas Sadirac, November 26, 2009
+    President of Epitech.
+
+    Flavien Astraud, November 26, 2009
+    Head of the EIP Laboratory.
+
+*/
 package com.beem.project.beem.service;
 
-parcelable Message;
\ No newline at end of file
+parcelable Message;
--- a/src/com/beem/project/beem/service/Message.java	Tue Dec 22 15:56:54 2009 +0100
+++ b/src/com/beem/project/beem/service/Message.java	Tue Dec 22 17:28:31 2009 +0100
@@ -49,7 +49,6 @@
 import android.os.Parcelable;
 import android.util.Log;
 
-// TODO: Auto-generated Javadoc
 /**
  * This class represents a instant message.
  * @author darisk
@@ -67,7 +66,7 @@
 
     /** Error message type. */
     public static final int MSG_TYPE_ERROR = 400;
-    
+
     /** Parcelable.Creator needs by Android. */
     public static final Parcelable.Creator<Message> CREATOR = new Parcelable.Creator<Message>() {
 
--- a/src/com/beem/project/beem/service/PresenceAdapter.aidl	Tue Dec 22 15:56:54 2009 +0100
+++ b/src/com/beem/project/beem/service/PresenceAdapter.aidl	Tue Dec 22 17:28:31 2009 +0100
@@ -1,3 +1,46 @@
+/*
+    BEEM is a videoconference application on the Android Platform.
+
+    Copyright (C) 2009 by Frederic-Charles Barthelery,
+                          Jean-Manuel Da Silva,
+                          Nikita Kozlov,
+                          Philippe Lago,
+                          Jean Baptiste Vergely,
+                          Vincent Veronis.
+
+    This file is part of BEEM.
+
+    BEEM is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    BEEM is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with BEEM.  If not, see <http://www.gnu.org/licenses/>.
+
+    Please send bug reports with examples or suggestions to
+    contact@beem-project.com or http://dev.beem-project.com/
+
+    Epitech, hereby disclaims all copyright interest in the program "Beem"
+    written by Frederic-Charles Barthelery,
+               Jean-Manuel Da Silva,
+               Nikita Kozlov,
+               Philippe Lago,
+               Jean Baptiste Vergely,
+               Vincent Veronis.
+
+    Nicolas Sadirac, November 26, 2009
+    President of Epitech.
+
+    Flavien Astraud, November 26, 2009
+    Head of the EIP Laboratory.
+
+*/
 package com.beem.project.beem.service;
 
-parcelable PresenceAdapter;
\ No newline at end of file
+parcelable PresenceAdapter;
--- a/src/com/beem/project/beem/service/PresenceAdapter.java	Tue Dec 22 15:56:54 2009 +0100
+++ b/src/com/beem/project/beem/service/PresenceAdapter.java	Tue Dec 22 17:28:31 2009 +0100
@@ -51,7 +51,6 @@
 import com.beem.project.beem.utils.PresenceType;
 import com.beem.project.beem.utils.Status;
 
-// TODO: Auto-generated Javadoc
 /**
  * this class contain contact presence informations.
  * @author nikita
--- a/src/com/beem/project/beem/service/PrivacyListItem.aidl	Tue Dec 22 15:56:54 2009 +0100
+++ b/src/com/beem/project/beem/service/PrivacyListItem.aidl	Tue Dec 22 17:28:31 2009 +0100
@@ -1,3 +1,46 @@
+/*
+    BEEM is a videoconference application on the Android Platform.
+
+    Copyright (C) 2009 by Frederic-Charles Barthelery,
+                          Jean-Manuel Da Silva,
+                          Nikita Kozlov,
+                          Philippe Lago,
+                          Jean Baptiste Vergely,
+                          Vincent Veronis.
+
+    This file is part of BEEM.
+
+    BEEM is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    BEEM is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with BEEM.  If not, see <http://www.gnu.org/licenses/>.
+
+    Please send bug reports with examples or suggestions to
+    contact@beem-project.com or http://dev.beem-project.com/
+
+    Epitech, hereby disclaims all copyright interest in the program "Beem"
+    written by Frederic-Charles Barthelery,
+               Jean-Manuel Da Silva,
+               Nikita Kozlov,
+               Philippe Lago,
+               Jean Baptiste Vergely,
+               Vincent Veronis.
+
+    Nicolas Sadirac, November 26, 2009
+    President of Epitech.
+
+    Flavien Astraud, November 26, 2009
+    Head of the EIP Laboratory.
+
+*/
 package com.beem.project.beem.service;
 
 parcelable PrivacyListItem;
--- a/src/com/beem/project/beem/service/PrivacyListItem.java	Tue Dec 22 15:56:54 2009 +0100
+++ b/src/com/beem/project/beem/service/PrivacyListItem.java	Tue Dec 22 17:28:31 2009 +0100
@@ -46,7 +46,6 @@
 import android.os.Parcel;
 import android.os.Parcelable;
 
-// TODO: Auto-generated Javadoc
 /**
  * A simplified version of the Smack PrivacyItem class.
  * @author Jean-Manuel Da Silva <dasilvj at beem-project dot com>
--- a/src/com/beem/project/beem/service/PrivacyListManagerAdapter.java	Tue Dec 22 15:56:54 2009 +0100
+++ b/src/com/beem/project/beem/service/PrivacyListManagerAdapter.java	Tue Dec 22 17:28:31 2009 +0100
@@ -60,7 +60,6 @@
 import com.beem.project.beem.service.aidl.IPrivacyListListener;
 import com.beem.project.beem.service.aidl.IPrivacyListManager;
 
-// TODO: Auto-generated Javadoc
 /**
  * An adapter for the Smack's PrivacyListManager.
  * @author Jean-Manuel Da Silva <dasilvj at beem-project dot com>
@@ -284,6 +283,10 @@
      * @author Jean-Manuel Da Silva <dasilvj at beem-project dot com>
      */
     private class PrivacyListListenerAdapter implements PrivacyListListener {
+	/**
+	 * Constructor.
+	 */
+	public PrivacyListListenerAdapter() { }
 
 	@Override
 	public void setPrivacyList(final String listName, final List<PrivacyItem> listItem) {
@@ -317,18 +320,12 @@
 	}
     }
 
-    /* (non-Javadoc)
-     * @see com.beem.project.beem.service.aidl.IPrivacyListManager#addPrivacyListListener(com.beem.project.beem.service.aidl.IPrivacyListListener)
-     */
     @Override
     public void addPrivacyListListener(IPrivacyListListener listener) throws RemoteException {
 	if (listener != null)
 	    mPrivacyListListeners.register(listener);
     }
 
-    /* (non-Javadoc)
-     * @see com.beem.project.beem.service.aidl.IPrivacyListManager#removePrivacyListListener(com.beem.project.beem.service.aidl.IPrivacyListListener)
-     */
     @Override
     public void removePrivacyListListener(IPrivacyListListener listener) throws RemoteException {
 	if (listener != null)
--- a/src/com/beem/project/beem/service/RosterAdapter.java	Tue Dec 22 15:56:54 2009 +0100
+++ b/src/com/beem/project/beem/service/RosterAdapter.java	Tue Dec 22 17:28:31 2009 +0100
@@ -65,7 +65,6 @@
 import com.beem.project.beem.service.aidl.IBeemRosterListener;
 import com.beem.project.beem.utils.Status;
 
-// TODO: Auto-generated Javadoc
 /**
  * This class implement a Roster adapter for BEEM.
  */
@@ -82,7 +81,7 @@
      * @param roster The roster to adapt.
      * @param context The context of the RosterAdapter.
      */
-    public RosterAdapter(final Roster roster, Context context) {
+    public RosterAdapter(final Roster roster, final Context context) {
 	mAdaptee = roster;
 	roster.addRosterListener(mRosterListener);
 	mDefaultStatusMessages = createDefaultStatusMessagesMap(context);
@@ -177,7 +176,7 @@
 		}
 	    }
 	    // Because getEntries return duplicated user.
-	    if (add == true)
+	    if (add)
 		coList.add(getContactFromRosterEntry(entry));
 	}
 	return coList;
@@ -287,7 +286,7 @@
 	    .getString(R.string.contact_status_msg_offline));
 	defaultStatusMessages.put(Status.CONTACT_STATUS_UNAVAILABLE, context.getString(R.string.contact_status_msg_xa));
 
-	return (defaultStatusMessages);
+	return defaultStatusMessages;
     }
 
     /**
--- a/src/com/beem/project/beem/service/XmppFacade.java	Tue Dec 22 15:56:54 2009 +0100
+++ b/src/com/beem/project/beem/service/XmppFacade.java	Tue Dec 22 17:28:31 2009 +0100
@@ -58,7 +58,6 @@
 import com.beem.project.beem.service.aidl.IXmppFacade;
 import com.beem.project.beem.utils.PresenceType;
 
-// TODO: Auto-generated Javadoc
 /**
  * This class is a facade for the Beem Service.
  * @author darisk
@@ -145,9 +144,6 @@
 	return mConnexion.getPrivacyListManager();
     }
 
-    /* (non-Javadoc)
-     * @see com.beem.project.beem.service.aidl.IXmppFacade#sendPresencePacket(com.beem.project.beem.service.PresenceAdapter)
-     */
     @Override
     public void sendPresencePacket(PresenceAdapter presence) throws RemoteException {
 	Presence presence2 = new Presence(PresenceType.getPresenceTypeFrom(presence.getType()));
--- a/src/com/beem/project/beem/service/aidl/IBeemConnectionListener.aidl	Tue Dec 22 15:56:54 2009 +0100
+++ b/src/com/beem/project/beem/service/aidl/IBeemConnectionListener.aidl	Tue Dec 22 17:28:31 2009 +0100
@@ -1,3 +1,46 @@
+/*
+    BEEM is a videoconference application on the Android Platform.
+
+    Copyright (C) 2009 by Frederic-Charles Barthelery,
+                          Jean-Manuel Da Silva,
+                          Nikita Kozlov,
+                          Philippe Lago,
+                          Jean Baptiste Vergely,
+                          Vincent Veronis.
+
+    This file is part of BEEM.
+
+    BEEM is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    BEEM is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with BEEM.  If not, see <http://www.gnu.org/licenses/>.
+
+    Please send bug reports with examples or suggestions to
+    contact@beem-project.com or http://dev.beem-project.com/
+
+    Epitech, hereby disclaims all copyright interest in the program "Beem"
+    written by Frederic-Charles Barthelery,
+               Jean-Manuel Da Silva,
+               Nikita Kozlov,
+               Philippe Lago,
+               Jean Baptiste Vergely,
+               Vincent Veronis.
+
+    Nicolas Sadirac, November 26, 2009
+    President of Epitech.
+
+    Flavien Astraud, November 26, 2009
+    Head of the EIP Laboratory.
+
+*/
 package com.beem.project.beem.service.aidl;
 
 /**
@@ -5,7 +48,7 @@
  * @author Da Risk <barthe_f@epitech.eu>
  */
 interface IBeemConnectionListener {
-	
+
     /**
      *  Callback to call when the connection is closed
      */
--- a/src/com/beem/project/beem/service/aidl/IBeemRosterListener.aidl	Tue Dec 22 15:56:54 2009 +0100
+++ b/src/com/beem/project/beem/service/aidl/IBeemRosterListener.aidl	Tue Dec 22 17:28:31 2009 +0100
@@ -1,3 +1,46 @@
+/*
+    BEEM is a videoconference application on the Android Platform.
+
+    Copyright (C) 2009 by Frederic-Charles Barthelery,
+                          Jean-Manuel Da Silva,
+                          Nikita Kozlov,
+                          Philippe Lago,
+                          Jean Baptiste Vergely,
+                          Vincent Veronis.
+
+    This file is part of BEEM.
+
+    BEEM is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    BEEM is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with BEEM.  If not, see <http://www.gnu.org/licenses/>.
+
+    Please send bug reports with examples or suggestions to
+    contact@beem-project.com or http://dev.beem-project.com/
+
+    Epitech, hereby disclaims all copyright interest in the program "Beem"
+    written by Frederic-Charles Barthelery,
+               Jean-Manuel Da Silva,
+               Nikita Kozlov,
+               Philippe Lago,
+               Jean Baptiste Vergely,
+               Vincent Veronis.
+
+    Nicolas Sadirac, November 26, 2009
+    President of Epitech.
+
+    Flavien Astraud, November 26, 2009
+    Head of the EIP Laboratory.
+
+*/
 package com.beem.project.beem.service.aidl;
 
 import com.beem.project.beem.service.PresenceAdapter;
@@ -8,4 +51,4 @@
     void onEntriesDeleted(in List<String> addresses);
     void onPresenceChanged(in PresenceAdapter presence);
     void onEntryDeleteFromGroup(in String group, in String jid);
-}
\ No newline at end of file
+}
--- a/src/com/beem/project/beem/service/aidl/IChat.aidl	Tue Dec 22 15:56:54 2009 +0100
+++ b/src/com/beem/project/beem/service/aidl/IChat.aidl	Tue Dec 22 17:28:31 2009 +0100
@@ -1,3 +1,46 @@
+/*
+    BEEM is a videoconference application on the Android Platform.
+
+    Copyright (C) 2009 by Frederic-Charles Barthelery,
+                          Jean-Manuel Da Silva,
+                          Nikita Kozlov,
+                          Philippe Lago,
+                          Jean Baptiste Vergely,
+                          Vincent Veronis.
+
+    This file is part of BEEM.
+
+    BEEM is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    BEEM is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with BEEM.  If not, see <http://www.gnu.org/licenses/>.
+
+    Please send bug reports with examples or suggestions to
+    contact@beem-project.com or http://dev.beem-project.com/
+
+    Epitech, hereby disclaims all copyright interest in the program "Beem"
+    written by Frederic-Charles Barthelery,
+               Jean-Manuel Da Silva,
+               Nikita Kozlov,
+               Philippe Lago,
+               Jean Baptiste Vergely,
+               Vincent Veronis.
+
+    Nicolas Sadirac, November 26, 2009
+    President of Epitech.
+
+    Flavien Astraud, November 26, 2009
+    Head of the EIP Laboratory.
+
+*/
 package com.beem.project.beem.service.aidl;
 
 import  com.beem.project.beem.service.Contact;
@@ -8,13 +51,13 @@
  * An aidl interface for Chat session.
  */
 interface IChat {
-    
+
     	/**
     	 * Send a message.
     	 * @param message	the message to send
     	 */
 	void sendMessage(in Message message);
-	
+
 	/**
 	 * Get the participant of the chat
 	 * @return the participant
@@ -32,15 +75,15 @@
 	 * @param listener the listener to remove.
 	 */
 	void removeMessageListener(in IMessageListener listener);
-	
+
 	String getState();
-	
+
 	void setOpen(in boolean isOpen);
-	
+
 	boolean isOpen();
-	
+
 	void setState(in String state);
-	
+
 	List<Message> getMessages();
 
 }
--- a/src/com/beem/project/beem/service/aidl/IChatManager.aidl	Tue Dec 22 15:56:54 2009 +0100
+++ b/src/com/beem/project/beem/service/aidl/IChatManager.aidl	Tue Dec 22 17:28:31 2009 +0100
@@ -1,3 +1,46 @@
+/*
+    BEEM is a videoconference application on the Android Platform.
+
+    Copyright (C) 2009 by Frederic-Charles Barthelery,
+                          Jean-Manuel Da Silva,
+                          Nikita Kozlov,
+                          Philippe Lago,
+                          Jean Baptiste Vergely,
+                          Vincent Veronis.
+
+    This file is part of BEEM.
+
+    BEEM is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    BEEM is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with BEEM.  If not, see <http://www.gnu.org/licenses/>.
+
+    Please send bug reports with examples or suggestions to
+    contact@beem-project.com or http://dev.beem-project.com/
+
+    Epitech, hereby disclaims all copyright interest in the program "Beem"
+    written by Frederic-Charles Barthelery,
+               Jean-Manuel Da Silva,
+               Nikita Kozlov,
+               Philippe Lago,
+               Jean Baptiste Vergely,
+               Vincent Veronis.
+
+    Nicolas Sadirac, November 26, 2009
+    President of Epitech.
+
+    Flavien Astraud, November 26, 2009
+    Head of the EIP Laboratory.
+
+*/
 package com.beem.project.beem.service.aidl;
 
 import  com.beem.project.beem.service.Contact;
@@ -10,9 +53,7 @@
  * The chat manager will manage all the chat sessions.
  */
 interface IChatManager {
-    
-    	//IChat createChat(in String jid, in IMessageListener listener);
-    
+
     	/**
     	 * Create a chat session with a contact.
     	 * @param contact	the contact to chat with
@@ -20,13 +61,13 @@
     	 * @return 		the chat session
     	 */
 	IChat createChat(in Contact contact, in IMessageListener listener);
-	
+
 	/**
     	 * Destroy a chat session with a contact.
     	 * @param chat	the chat session
     	 */
 	void destroyChat(in IChat chat);
-	
+
         /**
 	 * @param chat the chat.
          */
@@ -37,7 +78,7 @@
 	 * @param listener	the callback to add
 	 */
 	void addChatCreationListener(in IChatManagerListener listener);
-	
+
 	/**
 	 * Remove a callback for the creation of new chat session.
 	 * @param listener	the callback to remove.
--- a/src/com/beem/project/beem/service/aidl/IChatManagerListener.aidl	Tue Dec 22 15:56:54 2009 +0100
+++ b/src/com/beem/project/beem/service/aidl/IChatManagerListener.aidl	Tue Dec 22 17:28:31 2009 +0100
@@ -1,3 +1,46 @@
+/*
+    BEEM is a videoconference application on the Android Platform.
+
+    Copyright (C) 2009 by Frederic-Charles Barthelery,
+                          Jean-Manuel Da Silva,
+                          Nikita Kozlov,
+                          Philippe Lago,
+                          Jean Baptiste Vergely,
+                          Vincent Veronis.
+
+    This file is part of BEEM.
+
+    BEEM is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    BEEM is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with BEEM.  If not, see <http://www.gnu.org/licenses/>.
+
+    Please send bug reports with examples or suggestions to
+    contact@beem-project.com or http://dev.beem-project.com/
+
+    Epitech, hereby disclaims all copyright interest in the program "Beem"
+    written by Frederic-Charles Barthelery,
+               Jean-Manuel Da Silva,
+               Nikita Kozlov,
+               Philippe Lago,
+               Jean Baptiste Vergely,
+               Vincent Veronis.
+
+    Nicolas Sadirac, November 26, 2009
+    President of Epitech.
+
+    Flavien Astraud, November 26, 2009
+    Head of the EIP Laboratory.
+
+*/
 package com.beem.project.beem.service.aidl;
 
 import  com.beem.project.beem.service.aidl.IChat;
@@ -7,12 +50,12 @@
  * This listener will execute on events like creation of chat session.
  */
 interface IChatManagerListener {
-    
+
     	/**
     	 * Call when a new chat session is created.
     	 * @param chat		the created chat session
     	 * @param locally	true if the session is create by a chat manager.
     	 */
     	void chatCreated(IChat chat, boolean locally);
-	
-}
\ No newline at end of file
+
+}
--- a/src/com/beem/project/beem/service/aidl/IContact.aidl	Tue Dec 22 15:56:54 2009 +0100
+++ b/src/com/beem/project/beem/service/aidl/IContact.aidl	Tue Dec 22 17:28:31 2009 +0100
@@ -1,9 +1,53 @@
+/*
+    BEEM is a videoconference application on the Android Platform.
+
+    Copyright (C) 2009 by Frederic-Charles Barthelery,
+                          Jean-Manuel Da Silva,
+                          Nikita Kozlov,
+                          Philippe Lago,
+                          Jean Baptiste Vergely,
+                          Vincent Veronis.
+
+    This file is part of BEEM.
+
+    BEEM is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    BEEM is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with BEEM.  If not, see <http://www.gnu.org/licenses/>.
+
+    Please send bug reports with examples or suggestions to
+    contact@beem-project.com or http://dev.beem-project.com/
+
+    Epitech, hereby disclaims all copyright interest in the program "Beem"
+    written by Frederic-Charles Barthelery,
+               Jean-Manuel Da Silva,
+               Nikita Kozlov,
+               Philippe Lago,
+               Jean Baptiste Vergely,
+               Vincent Veronis.
+
+    Nicolas Sadirac, November 26, 2009
+    President of Epitech.
+
+    Flavien Astraud, November 26, 2009
+    Head of the EIP Laboratory.
+
+*/
 package com.beem.project.beem.service.aidl;
 
 interface IContact {
 
 	String getJID();
-	
+
 	void setJID(String mjid);
 
-}
\ No newline at end of file
+}
+
--- a/src/com/beem/project/beem/service/aidl/IMessageListener.aidl	Tue Dec 22 15:56:54 2009 +0100
+++ b/src/com/beem/project/beem/service/aidl/IMessageListener.aidl	Tue Dec 22 17:28:31 2009 +0100
@@ -1,3 +1,46 @@
+/*
+    BEEM is a videoconference application on the Android Platform.
+
+    Copyright (C) 2009 by Frederic-Charles Barthelery,
+                          Jean-Manuel Da Silva,
+                          Nikita Kozlov,
+                          Philippe Lago,
+                          Jean Baptiste Vergely,
+                          Vincent Veronis.
+
+    This file is part of BEEM.
+
+    BEEM is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    BEEM is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with BEEM.  If not, see <http://www.gnu.org/licenses/>.
+
+    Please send bug reports with examples or suggestions to
+    contact@beem-project.com or http://dev.beem-project.com/
+
+    Epitech, hereby disclaims all copyright interest in the program "Beem"
+    written by Frederic-Charles Barthelery,
+               Jean-Manuel Da Silva,
+               Nikita Kozlov,
+               Philippe Lago,
+               Jean Baptiste Vergely,
+               Vincent Veronis.
+
+    Nicolas Sadirac, November 26, 2009
+    President of Epitech.
+
+    Flavien Astraud, November 26, 2009
+    Head of the EIP Laboratory.
+
+*/
 package com.beem.project.beem.service.aidl;
 
 import com.beem.project.beem.service.Message;
@@ -6,7 +49,7 @@
 interface IMessageListener {
 
 	void processMessage(in IChat chat, in Message msg);
-	
+
 	/**
 	* le chatState se trouve dans le IChat
 	*/
--- a/src/com/beem/project/beem/service/aidl/IPrivacyListManager.aidl	Tue Dec 22 15:56:54 2009 +0100
+++ b/src/com/beem/project/beem/service/aidl/IPrivacyListManager.aidl	Tue Dec 22 17:28:31 2009 +0100
@@ -1,3 +1,46 @@
+/*
+    BEEM is a videoconference application on the Android Platform.
+
+    Copyright (C) 2009 by Frederic-Charles Barthelery,
+                          Jean-Manuel Da Silva,
+                          Nikita Kozlov,
+                          Philippe Lago,
+                          Jean Baptiste Vergely,
+                          Vincent Veronis.
+
+    This file is part of BEEM.
+
+    BEEM is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    BEEM is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with BEEM.  If not, see <http://www.gnu.org/licenses/>.
+
+    Please send bug reports with examples or suggestions to
+    contact@beem-project.com or http://dev.beem-project.com/
+
+    Epitech, hereby disclaims all copyright interest in the program "Beem"
+    written by Frederic-Charles Barthelery,
+               Jean-Manuel Da Silva,
+               Nikita Kozlov,
+               Philippe Lago,
+               Jean Baptiste Vergely,
+               Vincent Veronis.
+
+    Nicolas Sadirac, November 26, 2009
+    President of Epitech.
+
+    Flavien Astraud, November 26, 2009
+    Head of the EIP Laboratory.
+
+*/
 package com.beem.project.beem.service.aidl;
 
 import  com.beem.project.beem.service.PrivacyListItem;
@@ -19,4 +62,5 @@
 	List<String> getBlockedGroupsByList(in String listName);
 	void addPrivacyListListener(in IPrivacyListListener listener);
 	void removePrivacyListListener(in IPrivacyListListener listener);
-}
\ No newline at end of file
+}
+
--- a/src/com/beem/project/beem/service/aidl/IRoster.aidl	Tue Dec 22 15:56:54 2009 +0100
+++ b/src/com/beem/project/beem/service/aidl/IRoster.aidl	Tue Dec 22 17:28:31 2009 +0100
@@ -1,3 +1,46 @@
+/*
+    BEEM is a videoconference application on the Android Platform.
+
+    Copyright (C) 2009 by Frederic-Charles Barthelery,
+                          Jean-Manuel Da Silva,
+                          Nikita Kozlov,
+                          Philippe Lago,
+                          Jean Baptiste Vergely,
+                          Vincent Veronis.
+
+    This file is part of BEEM.
+
+    BEEM is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    BEEM is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with BEEM.  If not, see <http://www.gnu.org/licenses/>.
+
+    Please send bug reports with examples or suggestions to
+    contact@beem-project.com or http://dev.beem-project.com/
+
+    Epitech, hereby disclaims all copyright interest in the program "Beem"
+    written by Frederic-Charles Barthelery,
+               Jean-Manuel Da Silva,
+               Nikita Kozlov,
+               Philippe Lago,
+               Jean Baptiste Vergely,
+               Vincent Veronis.
+
+    Nicolas Sadirac, November 26, 2009
+    President of Epitech.
+
+    Flavien Astraud, November 26, 2009
+    Head of the EIP Laboratory.
+
+*/
 package com.beem.project.beem.service.aidl;
 
 import com.beem.project.beem.service.aidl.IBeemRosterListener;
@@ -5,27 +48,27 @@
 import com.beem.project.beem.service.PresenceAdapter;
 
 interface IRoster {
-    
+
     Contact addContact(in String user, in String name, in String[] groups);