]> cgit.babelmonkeys.de Git - jubjub.git/blob - src/gui/gtk/JubGtkRosterUI.h
Allow showing offline contacts in the GTK UI
[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         bool _showOffline;
23 }
24 @property (assign) bool showOffline;
25
26 - initWithClient: (JubChatClient*)client;
27 -      (void)client: (JubChatClient*)client
28   didChangePresence: (XMPPPresence*)presence;
29 @end