diff src/conversation.h @ 4481:b30b0a02ada0

[gaim-migrate @ 4756] The last of gtk-related code is out of the conversation framework. There are now functions to set and retrieve the conversation window UI operations structures that will be used in all windows. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 30 Jan 2003 21:25:24 +0000
parents 62c1e5e656d0
children 3196d9044a45
line wrap: on
line diff
--- a/src/conversation.h	Thu Jan 30 21:09:19 2003 +0000
+++ b/src/conversation.h	Thu Jan 30 21:25:24 2003 +0000
@@ -1078,6 +1078,7 @@
 /**************************************************************************/
 /** @name Conversation Placement Functions                                */
 /**************************************************************************/
+/*@{*/
 
 /**
  * Adds a conversation placement function to the list of possible functions.
@@ -1149,4 +1150,29 @@
  */
 void gaim_conv_placement_set_active(int index);
 
+/*@}*/
+
+/**************************************************************************/
+/** @name UI Registration Functions                                       */
+/**************************************************************************/
+/*@{*/
+
+/**
+ * Sets the UI operations structure to be used in all gaim conversation
+ * windows.
+ *
+ * @param fnc The function.
+ */
+void gaim_set_win_ui_ops(struct gaim_window_ui_ops *ops);
+
+/**
+ * Returns the gaim window UI operations structure to be used in
+ * new windows.
+ *
+ * @return A filled-out gaim_window_ui_ops structure.
+ */
+struct gaim_window_ui_ops *gaim_get_win_ui_ops(void);
+
+/*@}*/
+
 #endif /* _CONVERSATION_H_ */