aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-chat.h
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2009-11-04 00:15:50 +0800
committerXavier Claessens <xclaesse@gmail.com>2009-11-04 00:15:50 +0800
commit22c06bcfd832f65fe2de6e44657e22decf2f523d (patch)
tree78a97f274bae9b135d27796187e856cd5f22905e /libempathy/empathy-tp-chat.h
parent2fdf42815677e4e7f41a73f77997af87d5ae5eb2 (diff)
parente31c0e3f3b9a12dcf280a1ec05fc58463a020d71 (diff)
downloadgsoc2013-empathy-22c06bcfd832f65fe2de6e44657e22decf2f523d.tar
gsoc2013-empathy-22c06bcfd832f65fe2de6e44657e22decf2f523d.tar.gz
gsoc2013-empathy-22c06bcfd832f65fe2de6e44657e22decf2f523d.tar.bz2
gsoc2013-empathy-22c06bcfd832f65fe2de6e44657e22decf2f523d.tar.lz
gsoc2013-empathy-22c06bcfd832f65fe2de6e44657e22decf2f523d.tar.xz
gsoc2013-empathy-22c06bcfd832f65fe2de6e44657e22decf2f523d.tar.zst
gsoc2013-empathy-22c06bcfd832f65fe2de6e44657e22decf2f523d.zip
Merge branch 'irc-command'
Diffstat (limited to 'libempathy/empathy-tp-chat.h')
-rw-r--r--libempathy/empathy-tp-chat.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-chat.h b/libempathy/empathy-tp-chat.h
index f7d2b58a1..f07f0648f 100644
--- a/libempathy/empathy-tp-chat.h
+++ b/libempathy/empathy-tp-chat.h
@@ -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);