]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-tp-chat.h
Fix topic not always shown, and add /topic command support.
[empathy.git] / libempathy / empathy-tp-chat.h
index f7d2b58a19fd7f2d5a3100d109d0cbe349fde116..f07f0648f3ce0fdb9851c8ce10e37e6995934bd8 100644 (file)
@@ -52,6 +52,13 @@ struct _EmpathyTpChatClass {
        GObjectClass parent_class;
 };
 
+typedef struct {
+       gchar          *name;
+       guint           id;
+       TpPropertyFlags flags;
+       GValue         *value;
+} EmpathyTpChatProperty;
+
 GType          empathy_tp_chat_get_type             (void) G_GNUC_CONST;
 EmpathyTpChat *empathy_tp_chat_new                  (TpChannel          *channel);
 void           empathy_tp_chat_close                (EmpathyTpChat      *chat);
@@ -67,6 +74,10 @@ void           empathy_tp_chat_set_state            (EmpathyTpChat      *chat,
 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);
 
 /* Returns a read-only list of pending messages (should be a copy maybe ?) */
 const GList *  empathy_tp_chat_get_pending_messages (EmpathyTpChat *chat);