]> git.0d.be Git - empathy.git/blobdiff - src/empathy-chat-window.h
add an header bar to the main window
[empathy.git] / src / empathy-chat-window.h
index da3f6408aee61aaee7d58d475fb060263edca9c5..ae986cc7f07a0c4f72ede53fc00983facbfc8cd5 100644 (file)
 #ifndef __EMPATHY_CHAT_WINDOW_H__
 #define __EMPATHY_CHAT_WINDOW_H__
 
-#include <glib-object.h>
 #include <gtk/gtk.h>
+#include <telepathy-glib/telepathy-glib.h>
 
-#include <telepathy-glib/account.h>
-
-#include <libempathy-gtk/empathy-chat.h>
+#include "empathy-chat.h"
+#include "empathy-individual-manager.h"
 
 G_BEGIN_DECLS
 
@@ -60,16 +59,17 @@ G_BEGIN_DECLS
 
 typedef struct _EmpathyChatWindow EmpathyChatWindow;
 typedef struct _EmpathyChatWindowClass EmpathyChatWindowClass;
+typedef struct _EmpathyChatWindowPriv EmpathyChatWindowPriv;
 
 struct _EmpathyChatWindow
 {
-  GObject parent;
-  gpointer priv;
+  GtkWindow parent;
+  EmpathyChatWindowPriv *priv;
 };
 
 struct _EmpathyChatWindowClass
 {
-  GObjectClass parent_class;
+  GtkWindowClass parent_class;
 };
 
 GType empathy_chat_window_get_type (void);
@@ -78,9 +78,12 @@ EmpathyChat * empathy_chat_window_find_chat (TpAccount *account,
     const gchar *id,
     gboolean sms_channel);
 
-void empathy_chat_window_present_chat (EmpathyChat *chat,
+EmpathyChatWindow * empathy_chat_window_present_chat (EmpathyChat *chat,
     gint64 timestamp);
 
+EmpathyIndividualManager * empathy_chat_window_get_individual_manager (
+    EmpathyChatWindow *self);
+
 G_END_DECLS
 
 #endif