aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-message.h
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2009-08-27 02:46:39 +0800
committerWill Thompson <will.thompson@collabora.co.uk>2009-08-28 04:16:52 +0800
commitdec9d4dcf8c7611862221be9eadb53ef52a5bc3b (patch)
tree12434fe2fc2f9d95bd6c99235ace6dbf278058bc /libempathy/empathy-message.h
parentcd9d7d1ef951ab85bf87e7ff56b1180169d053c2 (diff)
downloadgsoc2013-empathy-dec9d4dcf8c7611862221be9eadb53ef52a5bc3b.tar
gsoc2013-empathy-dec9d4dcf8c7611862221be9eadb53ef52a5bc3b.tar.gz
gsoc2013-empathy-dec9d4dcf8c7611862221be9eadb53ef52a5bc3b.tar.bz2
gsoc2013-empathy-dec9d4dcf8c7611862221be9eadb53ef52a5bc3b.tar.lz
gsoc2013-empathy-dec9d4dcf8c7611862221be9eadb53ef52a5bc3b.tar.xz
gsoc2013-empathy-dec9d4dcf8c7611862221be9eadb53ef52a5bc3b.tar.zst
gsoc2013-empathy-dec9d4dcf8c7611862221be9eadb53ef52a5bc3b.zip
Add empathy_message_new_from_entry()
This will be the sole place that user input is parsed for special commands like /me; the parsing logic will be removed from EmpathyMessage and chat_send().
Diffstat (limited to 'libempathy/empathy-message.h')
-rw-r--r--libempathy/empathy-message.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libempathy/empathy-message.h b/libempathy/empathy-message.h
index 00064df57..f9a488703 100644
--- a/libempathy/empathy-message.h
+++ b/libempathy/empathy-message.h
@@ -52,6 +52,7 @@ struct _EmpathyMessageClass {
};
GType empathy_message_get_type (void) G_GNUC_CONST;
+EmpathyMessage * empathy_message_new_from_entry (const gchar *message);
EmpathyMessage * empathy_message_new (const gchar *body);
TpChannelTextMessageType empathy_message_get_tptype (EmpathyMessage *message);
void empathy_message_set_tptype (EmpathyMessage *message,