]> cgit.babelmonkeys.de Git - jubjub.git/blobdiff - src/gui/gtk/JubGtkRosterUI.h
Track current presence
[jubjub.git] / src / gui / gtk / JubGtkRosterUI.h
index 5aa41b30c461542f2453770c24608b47623719d8..be0394596d0e719c131a64871cbe4172dfc0a4f3 100644 (file)
@@ -2,6 +2,8 @@
 #import <ObjXMPP/ObjXMPP.h>
 #include <gtk/gtk.h>
 
+#import "JubChatClient.h"
+
 @class JubGtkChatUI;
 
 @interface JubGtkRosterUI: OFObject <XMPPRosterDelegate, XMPPConnectionDelegate>
@@ -9,6 +11,7 @@
        GtkWidget *roster_window;
        GtkTreeStore *roster_model;
        GtkTreeModelFilter *roster_filter;
+       GtkComboBox *presence_combo;
        OFMapTable *groupMap;
        OFMutableDictionary *contactMap;
        OFMutableDictionary *chatMap;
@@ -16,6 +19,8 @@
        XMPPConnection *connection;
 }
 
-- initWithConnection: (XMPPConnection*)connection;
+- initWithClient: (JubChatClient*)client;
 - (JubGtkChatUI*)chatForJID: (XMPPJID*)jid;
+-      (void)client: (JubChatClient*)client
+  didChangePresence: (XMPPPresence*)presence;
 @end