1 #import <ObjFW/ObjFW.h>
2 #import <ObjXMPP/ObjXMPP.h>
5 #import "JubChatClient.h"
9 @interface JubGtkRosterUI: OFObject <XMPPContactManagerDelegate>
11 GtkWidget *roster_window;
12 GtkTreeStore *roster_model;
13 GtkTreeModelFilter *roster_filter;
14 GtkComboBox *presence_combo;
15 gulong presence_combo_changed_handler_id;
17 OFMutableDictionary *contactMap;
18 OFMutableDictionary *chatMap;
19 OFCountedSet *presences;
20 JubChatClient *client;
23 - initWithClient: (JubChatClient*)client;
24 - (JubGtkChatUI*)chatForJID: (XMPPJID*)jid;
25 - (void)client: (JubChatClient*)client
26 didChangePresence: (XMPPPresence*)presence;