]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-tp-chat.h
local-xmpp-assistant-widget: increase row-spacing
[empathy.git] / libempathy / empathy-tp-chat.h
index 0b28312b9ad7fff4d30053352942024ccd028ad1..885479cb3d0bd6f864715502f63afe57c28d488a 100644 (file)
@@ -53,13 +53,6 @@ struct _EmpathyTpChatClass {
        TpTextChannelClass parent_class;
 };
 
-typedef struct {
-       gchar          *name;
-       guint           id;
-       TpPropertyFlags flags;
-       GValue         *value;
-} EmpathyTpChatProperty;
-
 typedef enum {
        EMPATHY_DELIVERY_STATUS_NONE,
        EMPATHY_DELIVERY_STATUS_SENDING,
@@ -71,7 +64,9 @@ GQuark empathy_tp_chat_get_feature_ready (void) G_GNUC_CONST;
 
 GType          empathy_tp_chat_get_type             (void) G_GNUC_CONST;
 
-EmpathyTpChat *empathy_tp_chat_new                  (TpAccount *account,
+EmpathyTpChat *empathy_tp_chat_new                  (
+                                                    TpSimpleClientFactory *factory,
+                                                    TpAccount *account,
                                                     TpConnection *connection,
                                                     const gchar *object_path,
                                                     const GHashTable *immutable_properties);
@@ -81,21 +76,20 @@ EmpathyContact *empathy_tp_chat_get_remote_contact   (EmpathyTpChat      *chat);
 TpAccount    * empathy_tp_chat_get_account          (EmpathyTpChat      *chat);
 void           empathy_tp_chat_send                 (EmpathyTpChat      *chat,
                                                     TpMessage     *message);
-void           empathy_tp_chat_set_property         (EmpathyTpChat      *chat,
-                                                    const gchar        *name,
-                                                    const GValue       *value);
-EmpathyTpChatProperty *
-              empathy_tp_chat_get_property         (EmpathyTpChat      *chat,
-                                                    const gchar        *name);
-GPtrArray *    empathy_tp_chat_get_properties       (EmpathyTpChat      *chat);
+
+const gchar *  empathy_tp_chat_get_title            (EmpathyTpChat *self);
+
+gboolean       empathy_tp_chat_supports_subject     (EmpathyTpChat *self);
+const gchar *  empathy_tp_chat_get_subject          (EmpathyTpChat *self);
+const gchar *  empathy_tp_chat_get_subject_actor    (EmpathyTpChat *self);
+gboolean       empathy_tp_chat_can_set_subject      (EmpathyTpChat *self);
+void           empathy_tp_chat_set_subject          (EmpathyTpChat *self,
+                                                    const gchar   *subject);
 
 /* Returns a read-only list of pending messages (should be a copy maybe ?) */
 const GList *  empathy_tp_chat_get_pending_messages (EmpathyTpChat *chat);
 void           empathy_tp_chat_acknowledge_message (EmpathyTpChat *chat,
                                                     EmpathyMessage *message);
-void           empathy_tp_chat_acknowledge_messages (EmpathyTpChat *chat,
-                                                    const GSList *messages);
-void           empathy_tp_chat_acknowledge_all_messages (EmpathyTpChat *chat);
 
 gboolean       empathy_tp_chat_can_add_contact (EmpathyTpChat *self);