diff options
Diffstat (limited to 'xmpp-vala/src/module/conference.vala')
-rw-r--r-- | xmpp-vala/src/module/conference.vala | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/xmpp-vala/src/module/conference.vala b/xmpp-vala/src/module/conference.vala new file mode 100644 index 00000000..ee1be6b6 --- /dev/null +++ b/xmpp-vala/src/module/conference.vala @@ -0,0 +1,19 @@ +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 static bool equal_func(Conference a, Conference b) { + return a.jid.equals(b.jid); + } + + public static uint hash_func(Conference a) { + return Jid.hash_func(a.jid); + } +} + +} |