diff src/conversation.h @ 11921:8140885c022c

[gaim-migrate @ 14212] sf patch #1341917, from Evan Schoenberg "Allow sending with GaimMsgFlags in conversation.c" committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 31 Oct 2005 04:38:58 +0000
parents 3ba50c385299
children 4d3119205a33
line wrap: on
line diff
--- a/src/conversation.h	Mon Oct 31 04:27:06 2005 +0000
+++ b/src/conversation.h	Mon Oct 31 04:38:58 2005 +0000
@@ -747,6 +747,15 @@
 void gaim_conv_im_send(GaimConvIm *im, const char *message);
 
 /**
+ * Sends a message to this IM conversation with specified flags.
+ *
+ * @param im      The IM.
+ * @param message The message to send.
+ * @param flags   The GaimMessageFlags flags to use in addition to GAIM_MESSAGE_SEND.
+ */
+void gaim_conv_im_send_with_flags(GaimConvIm *im, const char *message, GaimMessageFlags flags);
+
+/**
  * Adds a smiley to the conversation's smiley tree. If this returns
  * @c TRUE you should call gaim_conv_custom_smiley_write() one or more
  * times, and then gaim_conv_custom_smiley_close(). If this returns
@@ -954,6 +963,15 @@
 void gaim_conv_chat_send(GaimConvChat *chat, const char *message);
 
 /**
+ * Sends a message to this chat conversation with specified flags.
+ *
+ * @param chat    The chat.
+ * @param message The message to send.
+ * @param flags   The GaimMessageFlags flags to use.
+ */
+void gaim_conv_chat_send_with_flags(GaimConvChat *chat, const char *message, GaimMessageFlags flags);
+
+/**
  * Adds a user to a chat.
  *
  * @param chat        The chat.