#include <libmissioncontrol/mc-account.h>
+#include <libempathy/empathy-tp-chat.h>
+
G_BEGIN_DECLS
#define EMPATHY_TYPE_CHATROOM (empathy_chatroom_get_type ())
typedef struct _EmpathyChatroom EmpathyChatroom;
typedef struct _EmpathyChatroomClass EmpathyChatroomClass;
-typedef struct _EmpathyChatroomPriv EmpathyChatroomPriv;
struct _EmpathyChatroom {
GObject parent;
+ gpointer priv;
};
struct _EmpathyChatroomClass {
};
GType empathy_chatroom_get_type (void) G_GNUC_CONST;
-EmpathyChatroom *empathy_chatroom_new (McAccount *account,
- const gchar *room);
-EmpathyChatroom *empathy_chatroom_new_full (McAccount *account,
+EmpathyChatroom *empathy_chatroom_new (McAccount *account);
+EmpathyChatroom *empathy_chatroom_new_full (McAccount *account,
const gchar *room,
const gchar *name,
gboolean auto_connect);
gboolean empathy_chatroom_get_auto_connect (EmpathyChatroom *chatroom);
void empathy_chatroom_set_auto_connect (EmpathyChatroom *chatroom,
gboolean auto_connect);
+const gchar * empathy_chatroom_get_subject (EmpathyChatroom *chatroom);
+void empathy_chatroom_set_subject (EmpathyChatroom *chatroom,
+ const gchar *subject);
+guint empathy_chatroom_get_members_count (EmpathyChatroom *chatroom);
+void empathy_chatroom_set_members_count (EmpathyChatroom *chatroom,
+ guint count);
+gboolean empathy_chatroom_get_need_password (EmpathyChatroom *chatroom);
+void empathy_chatroom_set_need_password (EmpathyChatroom *chatroom,
+ gboolean need_password);
+gboolean empathy_chatroom_get_invite_only (EmpathyChatroom *chatroom);
+void empathy_chatroom_set_invite_only (EmpathyChatroom *chatroom,
+ gboolean invite_only);
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);
-
-G_BEGIN_DECLS
+G_END_DECLS
#endif /* __EMPATHY_CHATROOM_H__ */