#import <ObjXMPP/ObjXMPP.h>
#include <gtk/gtk.h>
+@class JubGtkChatUI;
+
@interface JubGtkRosterUI: OFObject <XMPPRosterDelegate, XMPPConnectionDelegate>
{
+ GtkWidget *roster_window;
GtkTreeStore *roster_model;
GtkTreeModelFilter *roster_filter;
OFMapTable *groupMap;
OFMutableDictionary *contactMap;
OFMutableDictionary *chatMap;
OFCountedSet *presences;
- GtkBuilder *builder;
+ XMPPConnection *connection;
}
-- initWithBuilder: (GtkBuilder*)builder;
+
+- initWithConnection: (XMPPConnection*)connection;
+- (JubGtkChatUI*)chatForJID: (XMPPJID*)jid;
@end