]> cgit.babelmonkeys.de Git - jubjub.git/blob - src/gui/gtk/JubGtkRosterUI.h
Close subscription dialogs, when answered on another client
[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 #import "JubAvatarManager.h"
7
8 @class JubGtkChatUI;
9
10 @interface JubGtkRosterUI:
11         OFObject <XMPPContactManagerDelegate, JubAvatarManagerDelegate>
12 {
13         GtkWidget *_roster_window;
14         GtkTreeStore *_roster_model;
15         GtkTreeModelFilter *_roster_filter;
16         GtkComboBox *_presence_combo;
17         gulong _presence_combo_changed_handler_id;
18         OFMapTable *_groupMap;
19         OFMapTable *_subDialogMap;
20         OFMutableDictionary *_contactMap;
21         JubChatClient *_client;
22 }
23
24 - initWithClient: (JubChatClient*)client;
25 -      (void)client: (JubChatClient*)client
26   didChangePresence: (XMPPPresence*)presence;
27 @end