aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-chat.h
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2009-10-10 06:28:26 +0800
committerXavier Claessens <xclaesse@gmail.com>2009-11-01 22:36:45 +0800
commit940f9b60e27fe79d64357c651525cbf50a936567 (patch)
tree92a7ad5aae1285f5b5a1562ddf3df464c1210b11 /libempathy/empathy-tp-chat.h
parente00d3a20de6603e927f4c977492052701cc0a988 (diff)
downloadgsoc2013-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.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);