#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;
XMPPConnection *connection;
}
-- initWithConnection: (XMPPConnection*)connection;
+- initWithClient: (JubChatClient*)client;
- (JubGtkChatUI*)chatForJID: (XMPPJID*)jid;
+- (void)client: (JubChatClient*)client
+ didChangePresence: (XMPPPresence*)presence;
@end