src/conversation.h

changeset 8158
a62f04d81823
parent 8155
b607279bc59b
child 8256
3f3063796999
--- a/src/conversation.h	Wed Jan 21 04:51:29 2004 +0000
+++ b/src/conversation.h	Wed Jan 21 04:55:34 2004 +0000
@@ -223,6 +223,7 @@
 	char  *who;                      /**< The person who set the topic. */
 	char  *topic;                    /**< The topic.                    */
 	int    id;                       /**< The chat ID.                  */
+	char *nick;                      /**< Your nick in this chat.       */
 };
 
 /**
@@ -244,9 +245,9 @@
 	char *title;                /**< The window title.                  */
 
 	gboolean logging;           /**< The status of logging.             */
-	
+
 	GaimLog *log;               /**< This conversation's log            */
-	
+
 	GList *send_history;        /**< The send history.                  */
 	GString *history;           /**< The conversation history.          */
 
@@ -1180,6 +1181,22 @@
 void gaim_conv_chat_clear_users(GaimConvChat *chat);
 
 /**
+ * Sets your nickname (used for hilighting) for a chat.
+ *
+ * @param chat The chat.
+ * @param nick The nick.
+ */
+void gaim_conv_chat_set_nick(GaimConvChat *chat, const char *nick);
+
+/**
+ * Gets your nickname (used for hilighting) for a chat.
+ *
+ * @param chat The chat.
+ * @return  The nick.
+ */
+const char *gaim_conv_chat_get_nick(GaimConvChat *chat);
+
+/**
  * Finds a chat with the specified chat ID.
  *
  * @param gc The gaim_connection.

mercurial