aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module/conference.vala
blob: 38c0ead47eeb8c4d0291b0e26e2c38381de3a5df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
namespace Xmpp {

public class Conference : Object {
    public virtual Jid? jid { get; set; }
    public virtual bool autojoin { get; set; }
    public virtual string? nick { get; set; }
    public virtual string? name { get; set; }
    public virtual string? password { get; set; }

    public bool equals(Conference c) {
        return equals_func(this, c);
    }

    public static bool equals_func(Conference a, Conference b) {
        return Jid.equals_func(a.jid, b.jid);
    }

    public static uint hash_func(Conference a) {
        return Jid.hash_func(a.jid);
    }
}

}