]> cgit.babelmonkeys.de Git - jubjub.git/blobdiff - src/gui/gtk/JubGtkRosterUI.h
Allow showing offline contacts in the GTK UI
[jubjub.git] / src / gui / gtk / JubGtkRosterUI.h
index 4f3d7ac826a4735bcba4a84027242cf15c9f8fdc..461a11aca3115133058f2ca38ed3405552c822e6 100644 (file)
@@ -3,20 +3,25 @@
 #include <gtk/gtk.h>
 
 #import "JubChatClient.h"
+#import "JubAvatarManager.h"
 
 @class JubGtkChatUI;
 
-@interface JubGtkRosterUI: OFObject <XMPPContactManagerDelegate>
+@interface JubGtkRosterUI:
+       OFObject <XMPPContactManagerDelegate, JubAvatarManagerDelegate>
 {
-       GtkWidget *roster_window;
-       GtkTreeStore *roster_model;
-       GtkTreeModelFilter *roster_filter;
-       GtkComboBox *presence_combo;
-       gulong presence_combo_changed_handler_id;
-       OFMapTable *groupMap;
-       OFMutableDictionary *contactMap;
-       JubChatClient *client;
+       GtkWidget *_roster_window;
+       GtkTreeStore *_roster_model;
+       GtkTreeModelFilter *_roster_filter;
+       GtkComboBox *_presence_combo;
+       gulong _presence_combo_changed_handler_id;
+       OFMapTable *_groupMap;
+       OFMapTable *_subDialogMap;
+       OFMutableDictionary *_contactMap;
+       JubChatClient *_client;
+       bool _showOffline;
 }
+@property (assign) bool showOffline;
 
 - initWithClient: (JubChatClient*)client;
 -      (void)client: (JubChatClient*)client