]> cgit.babelmonkeys.de Git - jubjub.git/blobdiff - src/gui/gtk/JubGtkRosterUI.h
Track current presence
[jubjub.git] / src / gui / gtk / JubGtkRosterUI.h
index 3244ad50560ad6b8fdbc3e8196381e0e8e52e176..be0394596d0e719c131a64871cbe4172dfc0a4f3 100644 (file)
@@ -2,14 +2,25 @@
 #import <ObjXMPP/ObjXMPP.h>
 #include <gtk/gtk.h>
 
+#import "JubChatClient.h"
+
+@class JubGtkChatUI;
+
 @interface JubGtkRosterUI: OFObject <XMPPRosterDelegate, XMPPConnectionDelegate>
 {
+       GtkWidget *roster_window;
        GtkTreeStore *roster_model;
        GtkTreeModelFilter *roster_filter;
+       GtkComboBox *presence_combo;
        OFMapTable *groupMap;
        OFMutableDictionary *contactMap;
+       OFMutableDictionary *chatMap;
        OFCountedSet *presences;
-       GtkBuilder *builder;
+       XMPPConnection *connection;
 }
-- initWithBuilder: (GtkBuilder*)builder;
+
+- initWithClient: (JubChatClient*)client;
+- (JubGtkChatUI*)chatForJID: (XMPPJID*)jid;
+-      (void)client: (JubChatClient*)client
+  didChangePresence: (XMPPPresence*)presence;
 @end