aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module/bookmarks_provider.vala
blob: 69d2efa29cf74d81e9fefc1f42ef63b7db07554e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using Gee;

namespace Xmpp {

public interface BookmarksProvider : Object {
    public signal void conference_added(XmppStream stream, Conference conferences);
    public signal void conference_removed(XmppStream stream, Jid jid);
    public signal void conference_changed(XmppStream stream, Conference conferences);
    public signal void received_conferences(XmppStream stream, Set<Conference> conferences);

    public async abstract async Set<Conference>? get_conferences(XmppStream stream);
    public async abstract void add_conference(XmppStream stream, Conference conference);
    public async abstract void remove_conference(XmppStream stream, Conference conference);
    public async abstract void replace_conference(XmppStream stream, Conference orig_conference, Conference modified_conference);
}

}