diff src/roomlist.h @ 8352:77baefe979c6

[gaim-migrate @ 9076] this compiles, and I don't think it breaks anything, so here's /list support, again from our patient friend marv committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 27 Feb 2004 01:48:11 +0000
parents 12055bae7f59
children 058efd3cb86f
line wrap: on
line diff
--- a/src/roomlist.h	Fri Feb 27 01:45:26 2004 +0000
+++ b/src/roomlist.h	Fri Feb 27 01:48:11 2004 +0000
@@ -94,6 +94,7 @@
  * The room list ops to be filled out by the UI.
  */
 struct _GaimRoomlistUiOps {
+	void (*show_with_account)(GaimAccount *account); /**< Force the ui to pop up a dialog and get the list */
 	void (*new)(GaimRoomlist *list); /**< A new list was created. */
 	void (*set_fields)(GaimRoomlist *list, GList *fields); /**< Sets the columns. */
 	void (*add_room)(GaimRoomlist *list, GaimRoomlistRoom *room); /**< Add a room to the list. */
@@ -112,6 +113,17 @@
 /*@{*/
 
 /**
+ * This is used to get the room list on an account, asking the UI
+ * to pop up a dialog with the specified account already selected,
+ * and pretend the user clicked the get list button.
+ * While we're pretending, predend I didn't say anything about dialogs
+ * or buttons, since this is the core.
+ *
+ * @param account The account to get the list on.
+ */
+void gaim_roomlist_show_with_account(GaimAccount *account);
+
+/**
  * Returns a newly created room list object.
  *
  * It has an inital reference count of 1.