diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2009-10-10 06:28:26 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2009-11-01 22:36:45 +0800 |
commit | 940f9b60e27fe79d64357c651525cbf50a936567 (patch) | |
tree | 92a7ad5aae1285f5b5a1562ddf3df464c1210b11 /libempathy/empathy-tp-chat.h | |
parent | e00d3a20de6603e927f4c977492052701cc0a988 (diff) | |
download | gsoc2013-empathy-940f9b60e27fe79d64357c651525cbf50a936567.tar gsoc2013-empathy-940f9b60e27fe79d64357c651525cbf50a936567.tar.gz gsoc2013-empathy-940f9b60e27fe79d64357c651525cbf50a936567.tar.bz2 gsoc2013-empathy-940f9b60e27fe79d64357c651525cbf50a936567.tar.lz gsoc2013-empathy-940f9b60e27fe79d64357c651525cbf50a936567.tar.xz gsoc2013-empathy-940f9b60e27fe79d64357c651525cbf50a936567.tar.zst gsoc2013-empathy-940f9b60e27fe79d64357c651525cbf50a936567.zip |
Fix topic not always shown, and add /topic command support.
https://bugzilla.gnome.org/show_bug.cgi?id=573407
Diffstat (limited to 'libempathy/empathy-tp-chat.h')
-rw-r--r-- | libempathy/empathy-tp-chat.h | 11 |
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); |