src/com/beem/project/beem/service/aidl/IRoster.aidl
author Nikita Kozlov <nikita@mbdsys.com>
Sun, 05 Dec 2010 18:45:47 +0100
changeset 929 6cbb9b3117b7
parent 599 cdadf4e39f99
child 984 f27ce0166608
permissions -rwxr-xr-x
merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
599
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
     1
/*
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
     2
    BEEM is a videoconference application on the Android Platform.
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
     3
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
     4
    Copyright (C) 2009 by Frederic-Charles Barthelery,
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
     5
                          Jean-Manuel Da Silva,
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
     6
                          Nikita Kozlov,
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
     7
                          Philippe Lago,
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
     8
                          Jean Baptiste Vergely,
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
     9
                          Vincent Veronis.
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    10
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    11
    This file is part of BEEM.
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    12
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    13
    BEEM is free software: you can redistribute it and/or modify
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    14
    it under the terms of the GNU General Public License as published by
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    15
    the Free Software Foundation, either version 3 of the License, or
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    16
    (at your option) any later version.
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    17
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    18
    BEEM is distributed in the hope that it will be useful,
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    19
    but WITHOUT ANY WARRANTY; without even the implied warranty of
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    20
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    21
    GNU General Public License for more details.
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    22
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    23
    You should have received a copy of the GNU General Public License
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    24
    along with BEEM.  If not, see <http://www.gnu.org/licenses/>.
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    25
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    26
    Please send bug reports with examples or suggestions to
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    27
    contact@beem-project.com or http://dev.beem-project.com/
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    28
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    29
    Epitech, hereby disclaims all copyright interest in the program "Beem"
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    30
    written by Frederic-Charles Barthelery,
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    31
               Jean-Manuel Da Silva,
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    32
               Nikita Kozlov,
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    33
               Philippe Lago,
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    34
               Jean Baptiste Vergely,
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    35
               Vincent Veronis.
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    36
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    37
    Nicolas Sadirac, November 26, 2009
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    38
    President of Epitech.
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    39
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    40
    Flavien Astraud, November 26, 2009
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    41
    Head of the EIP Laboratory.
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    42
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    43
*/
30
7057a9d3657a Add some adapter for smack classes
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    44
package com.beem.project.beem.service.aidl;
7057a9d3657a Add some adapter for smack classes
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    45
61
08cfba11099a Ajout du IBeemRosterListener
nikita@nikita-rack
parents: 51
diff changeset
    46
import com.beem.project.beem.service.aidl.IBeemRosterListener;
41
c537c1ea3636 Merge ui and xmpp
Da Risk <darisk972@gmail.com>
parents: 38
diff changeset
    47
import com.beem.project.beem.service.Contact;
251
fae2a16a1f28 Feature #169
nikita@nikita-lab
parents: 237
diff changeset
    48
import com.beem.project.beem.service.PresenceAdapter;
30
7057a9d3657a Add some adapter for smack classes
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    49
7057a9d3657a Add some adapter for smack classes
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    50
interface IRoster {
599
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    51
38
3e76846c48a9 We can now get the contact list of the user.
Da Risk <darisk972@gmail.com>
parents: 30
diff changeset
    52
    Contact addContact(in String user, in String name, in String[] groups);
599
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    53
425
2e33fad3ec98 User info delete user.
Vincent Veronis <veroni_v@epitech.net>
parents: 267
diff changeset
    54
    void deleteContact(in Contact contact);
599
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    55
38
3e76846c48a9 We can now get the contact list of the user.
Da Risk <darisk972@gmail.com>
parents: 30
diff changeset
    56
    Contact getContact(in String jid);
209
f5b9da8365f5 Mise en place des alias
marseille@marseille-desktop
parents: 69
diff changeset
    57
    void setContactName(in String jid, in String name);
599
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    58
30
7057a9d3657a Add some adapter for smack classes
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    59
    void createGroup(in String groupname);
599
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    60
443
97c8c32b61d0 maj de groupList, ce devrait etre bon pour l'ajout de group et l'ajout de contact dans un groupe, mais a debug encore
Nikita Kozlov <nikita@beem-project.com>
parents: 425
diff changeset
    61
    void addContactToGroup(in String groupName, in String jid);
599
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    62
443
97c8c32b61d0 maj de groupList, ce devrait etre bon pour l'ajout de group et l'ajout de contact dans un groupe, mais a debug encore
Nikita Kozlov <nikita@beem-project.com>
parents: 425
diff changeset
    63
    void removeContactFromGroup(in String groupName, in String jid);
599
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    64
69
cc06de2dfff0 test de merge et petit commit
nikita@nikita-rack
parents: 61
diff changeset
    65
    List<Contact> getContactList();
599
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    66
51
85705bdb77ab Ajout d'une methode pour recuperer les groups du roster
Da Risk <darisk972@gmail.com>
parents: 41
diff changeset
    67
    List<String> getGroupsNames();
599
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    68
251
fae2a16a1f28 Feature #169
nikita@nikita-lab
parents: 237
diff changeset
    69
    PresenceAdapter getPresence(in String jid);
599
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    70
237
66ea747448ea Suppression de la beemapplication dans contactlist.
marseille@marseille-desktop
parents: 209
diff changeset
    71
    void addRosterListener(in IBeemRosterListener listen);
66ea747448ea Suppression de la beemapplication dans contactlist.
marseille@marseille-desktop
parents: 209
diff changeset
    72
    void removeRosterListener(in IBeemRosterListener listen);
30
7057a9d3657a Add some adapter for smack classes
Da Risk <darisk972@gmail.com>
parents:
diff changeset
    73
599
cdadf4e39f99 Checkstyle
Da Risk <darisk972@gmail.com>
parents: 443
diff changeset
    74
}