]> 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 40214f76797598d70321cffe7286b8ca46c3a8e5..461a11aca3115133058f2ca38ed3405552c822e6 100644 (file)
@@ -3,10 +3,12 @@
 #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;
        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