]> cgit.babelmonkeys.de Git - jubjub.git/blobdiff - src/gui/gtk/JubGtkRosterUI.h
Track current presence
[jubjub.git] / src / gui / gtk / JubGtkRosterUI.h
index 1fd03946d4e626a6fd28f43ca2b67d6a23808af5..be0394596d0e719c131a64871cbe4172dfc0a4f3 100644 (file)
@@ -2,21 +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;
        XMPPConnection *connection;
-       GtkBuilder *builder;
 }
 
-- initWithBuilder: (GtkBuilder*)builder
-       connection: (XMPPConnection*)connection;
+- initWithClient: (JubChatClient*)client;
 - (JubGtkChatUI*)chatForJID: (XMPPJID*)jid;
+-      (void)client: (JubChatClient*)client
+  didChangePresence: (XMPPPresence*)presence;
 @end