#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