]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-chatroom.h
EmpathySmileyManager: use the proper Unicode characters
[empathy.git] / libempathy / empathy-chatroom.h
index 08e3bc1eb04e383e6771127e833b1479265a396d..98ed04b96bb94cd6f30b0958566ebf8d6e8d1ef3 100644 (file)
 #define __EMPATHY_CHATROOM_H__
 
 #include <glib-object.h>
+#include <telepathy-glib/telepathy-glib.h>
 
-#include <libmissioncontrol/mc-account.h>
-
-#include <libempathy/empathy-tp-chat.h>
+#include "empathy-tp-chat.h"
 
 G_BEGIN_DECLS
 
@@ -52,14 +51,14 @@ struct _EmpathyChatroomClass {
 };
 
 GType            empathy_chatroom_get_type        (void) G_GNUC_CONST;
-EmpathyChatroom *empathy_chatroom_new             (McAccount       *account);
-EmpathyChatroom *empathy_chatroom_new_full        (McAccount       *account,
+EmpathyChatroom *empathy_chatroom_new             (TpAccount       *account);
+EmpathyChatroom *empathy_chatroom_new_full        (TpAccount       *account,
                                                   const gchar     *room,
                                                   const gchar     *name,
                                                   gboolean         auto_connect);
-McAccount *     empathy_chatroom_get_account      (EmpathyChatroom *chatroom);
+TpAccount *     empathy_chatroom_get_account      (EmpathyChatroom *chatroom);
 void            empathy_chatroom_set_account      (EmpathyChatroom *chatroom,
-                                                  McAccount       *account);
+                                                  TpAccount       *account);
 const gchar *   empathy_chatroom_get_room         (EmpathyChatroom *chatroom);
 void            empathy_chatroom_set_room         (EmpathyChatroom *chatroom,
                                                   const gchar     *room);
@@ -84,6 +83,14 @@ void            empathy_chatroom_set_invite_only  (EmpathyChatroom *chatroom,
 gboolean        empathy_chatroom_equal            (gconstpointer    v1,
                                                   gconstpointer    v2);
 EmpathyTpChat * empathy_chatroom_get_tp_chat      (EmpathyChatroom *chatroom);
+void            empathy_chatroom_set_tp_chat      (EmpathyChatroom *chatroom,
+                                                  EmpathyTpChat   *tp_chat);
+gboolean        empathy_chatroom_is_favorite      (EmpathyChatroom *chatroom);
+void            empathy_chatroom_set_favorite     (EmpathyChatroom *chatroom,
+                                                  gboolean         favorite);
+gboolean        empathy_chatroom_is_always_urgent (EmpathyChatroom *chatroom);
+void            empathy_chatroom_set_always_urgent (EmpathyChatroom *chatroom,
+                                                   gboolean         always_urgent);
 
 G_END_DECLS