comparison 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
comparison
equal deleted inserted replaced
8351:ffa642240fc1 8352:77baefe979c6
92 92
93 /** 93 /**
94 * The room list ops to be filled out by the UI. 94 * The room list ops to be filled out by the UI.
95 */ 95 */
96 struct _GaimRoomlistUiOps { 96 struct _GaimRoomlistUiOps {
97 void (*show_with_account)(GaimAccount *account); /**< Force the ui to pop up a dialog and get the list */
97 void (*new)(GaimRoomlist *list); /**< A new list was created. */ 98 void (*new)(GaimRoomlist *list); /**< A new list was created. */
98 void (*set_fields)(GaimRoomlist *list, GList *fields); /**< Sets the columns. */ 99 void (*set_fields)(GaimRoomlist *list, GList *fields); /**< Sets the columns. */
99 void (*add_room)(GaimRoomlist *list, GaimRoomlistRoom *room); /**< Add a room to the list. */ 100 void (*add_room)(GaimRoomlist *list, GaimRoomlistRoom *room); /**< Add a room to the list. */
100 void (*in_progress)(GaimRoomlist *list, gboolean flag); /**< Are we fetching stuff still? */ 101 void (*in_progress)(GaimRoomlist *list, gboolean flag); /**< Are we fetching stuff still? */
101 void (*destroy)(GaimRoomlist *list); /**< We're destroying list. */ 102 void (*destroy)(GaimRoomlist *list); /**< We're destroying list. */
110 /** @name Room List API */ 111 /** @name Room List API */
111 /**************************************************************************/ 112 /**************************************************************************/
112 /*@{*/ 113 /*@{*/
113 114
114 /** 115 /**
116 * This is used to get the room list on an account, asking the UI
117 * to pop up a dialog with the specified account already selected,
118 * and pretend the user clicked the get list button.
119 * While we're pretending, predend I didn't say anything about dialogs
120 * or buttons, since this is the core.
121 *
122 * @param account The account to get the list on.
123 */
124 void gaim_roomlist_show_with_account(GaimAccount *account);
125
126 /**
115 * Returns a newly created room list object. 127 * Returns a newly created room list object.
116 * 128 *
117 * It has an inital reference count of 1. 129 * It has an inital reference count of 1.
118 * 130 *
119 * @param account The account that's listing rooms. 131 * @param account The account that's listing rooms.