]> cgit.babelmonkeys.de Git - jubjub.git/blob - src/gui/gtk/JubGtkRosterUI.h
Track current presence
[jubjub.git] / src / gui / gtk / JubGtkRosterUI.h
1 #import <ObjFW/ObjFW.h>
2 #import <ObjXMPP/ObjXMPP.h>
3 #include <gtk/gtk.h>
4
5 #import "JubChatClient.h"
6
7 @class JubGtkChatUI;
8
9 @interface JubGtkRosterUI: OFObject <XMPPRosterDelegate, XMPPConnectionDelegate>
10 {
11         GtkWidget *roster_window;
12         GtkTreeStore *roster_model;
13         GtkTreeModelFilter *roster_filter;
14         GtkComboBox *presence_combo;
15         OFMapTable *groupMap;
16         OFMutableDictionary *contactMap;
17         OFMutableDictionary *chatMap;
18         OFCountedSet *presences;
19         XMPPConnection *connection;
20 }
21
22 - initWithClient: (JubChatClient*)client;
23 - (JubGtkChatUI*)chatForJID: (XMPPJID*)jid;
24 -      (void)client: (JubChatClient*)client
25   didChangePresence: (XMPPPresence*)presence;
26 @end