#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