]> cgit.babelmonkeys.de Git - jubjub.git/blobdiff - src/gui/gtk/JubGtkRosterUI.h
Add a minimal JubChatClient class and refactor other code to use it
[jubjub.git] / src / gui / gtk / JubGtkRosterUI.h
index 1fd03946d4e626a6fd28f43ca2b67d6a23808af5..cfcdd471f6cdc54bb714d968712d10a573fa830e 100644 (file)
@@ -2,10 +2,13 @@
 #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;
        OFMapTable *groupMap;
        OFMutableDictionary *chatMap;
        OFCountedSet *presences;
        XMPPConnection *connection;
-       GtkBuilder *builder;
 }
 
-- initWithBuilder: (GtkBuilder*)builder
-       connection: (XMPPConnection*)connection;
+- initWithClient: (JubChatClient*)client;
 - (JubGtkChatUI*)chatForJID: (XMPPJID*)jid;
 @end