| 54 * The types of rooms. |
54 * The types of rooms. |
| 55 * |
55 * |
| 56 * These are ORable flags. |
56 * These are ORable flags. |
| 57 */ |
57 */ |
| 58 enum _GaimRoomlistRoomType { |
58 enum _GaimRoomlistRoomType { |
| 59 GAIM_ROOMLIST_ROOMTYPE_CATAGORY = 0x01, /**< It's a catagory, but not a room you can join. */ |
59 GAIM_ROOMLIST_ROOMTYPE_CATEGORY = 0x01, /**< It's a category, but not a room you can join. */ |
| 60 GAIM_ROOMLIST_ROOMTYPE_ROOM = 0x02, /**< It's a room, like the kind you can join. */ |
60 GAIM_ROOMLIST_ROOMTYPE_ROOM = 0x02, /**< It's a room, like the kind you can join. */ |
| 61 }; |
61 }; |
| 62 |
62 |
| 63 /** |
63 /** |
| 64 * Represents a room. |
64 * Represents a room. |
| 220 * @param list The room list to cancel a get_list on. |
220 * @param list The room list to cancel a get_list on. |
| 221 */ |
221 */ |
| 222 void gaim_roomlist_cancel_get_list(GaimRoomlist *list); |
222 void gaim_roomlist_cancel_get_list(GaimRoomlist *list); |
| 223 |
223 |
| 224 /** |
224 /** |
| 225 * Tells the prpl that a catagory was expanded. |
225 * Tells the prpl that a category was expanded. |
| 226 * |
226 * |
| 227 * On some protocols, the rooms in the catagory |
227 * On some protocols, the rooms in the category |
| 228 * won't be fetched until this is called. |
228 * won't be fetched until this is called. |
| 229 * |
229 * |
| 230 * @param list The room list. |
230 * @param list The room list. |
| 231 * @param room The catagory that was expanded. The expression |
231 * @param room The category that was expanded. The expression |
| 232 * (catagory->type & GAIM_ROOMLIST_ROOMTYPE_CATAGORY) |
232 * (category->type & GAIM_ROOMLIST_ROOMTYPE_CATEGORY) |
| 233 * must be true. |
233 * must be true. |
| 234 */ |
234 */ |
| 235 void gaim_roomlist_expand_catagory(GaimRoomlist *list, GaimRoomlistRoom *catagory); |
235 void gaim_roomlist_expand_category(GaimRoomlist *list, GaimRoomlistRoom *category); |
| 236 |
236 |
| 237 /*@}*/ |
237 /*@}*/ |
| 238 |
238 |
| 239 /**************************************************************************/ |
239 /**************************************************************************/ |
| 240 /** @name Room API */ |
240 /** @name Room API */ |