]> cgit.babelmonkeys.de Git - jubjub.git/blobdiff - src/gui/gtk/JubGtkRosterUI.h
Show presence's show value in roster
[jubjub.git] / src / gui / gtk / JubGtkRosterUI.h
index cfcdd471f6cdc54bb714d968712d10a573fa830e..5dd36826daf2c311829755badb87e52e9ae5fdde 100644 (file)
@@ -6,18 +6,21 @@
 
 @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