@class JubGtkChatUI;
-@interface JubGtkRosterUI: OFObject <XMPPRosterDelegate, XMPPConnectionDelegate>
+@interface JubGtkRosterUI: OFObject <XMPPContactManagerDelegate>
{
GtkWidget *roster_window;
GtkTreeStore *roster_model;
GtkTreeModelFilter *roster_filter;
+ GtkComboBox *presence_combo;
+ gulong presence_combo_changed_handler_id;
OFMapTable *groupMap;
OFMutableDictionary *contactMap;
OFMutableDictionary *chatMap;
OFCountedSet *presences;
- XMPPConnection *connection;
+ JubChatClient *client;
}
- initWithClient: (JubChatClient*)client;
- (JubGtkChatUI*)chatForJID: (XMPPJID*)jid;
+- (void)client: (JubChatClient*)client
+ didChangePresence: (XMPPPresence*)presence;
@end