--- a/libpurple/roomlist.h Thu Oct 26 05:45:33 2023 -0500
+++ b/libpurple/roomlist.h Thu Oct 26 05:47:48 2023 -0500
@@ -46,6 +46,8 @@
@@ -72,6 +74,8 @@
* @add_room: Add a room to the list.
* The room list ops to be filled out by the UI.
struct _PurpleRoomlistUiOps {
void (*show_with_account)(PurpleAccount *account);
@@ -90,6 +94,8 @@
* Represents a list of rooms for a given connection on a given protocol.
@@ -122,7 +128,10 @@
* 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.
void purple_roomlist_show_with_account(PurpleAccount *account);
@@ -132,7 +141,10 @@
* Returns a newly created room list object.
* Returns: The new room list handle.
PurpleRoomlist *purple_roomlist_new(PurpleAccount *account);
@@ -158,7 +170,10 @@
* Set the different field types and their names for this protocol.
* This must be called before purple_roomlist_room_add().
void purple_roomlist_set_fields(PurpleRoomlist *list, GList *fields);
@@ -170,7 +185,10 @@
* The UI is encouraged to somehow hint to the user
* whether or not we're busy downloading a room list or not.
void purple_roomlist_set_in_progress(PurpleRoomlist *list, gboolean in_progress);
@@ -183,7 +201,10 @@
* whether or not we're busy downloading a room list or not.
* Returns: True if we're downloading it, or false if we're not.
gboolean purple_roomlist_get_in_progress(PurpleRoomlist *list);
@@ -193,7 +214,10 @@
order as was given in purple_roomlist_set_fields().
* Adds a room to the list of them.
void purple_roomlist_room_add(PurpleRoomlist *list, PurpleRoomlistRoom *room);
@@ -205,7 +229,10 @@
* Returns: (transfer full): A PurpleRoomlist* or %NULL if the protocol doesn't
PurpleRoomlist *purple_roomlist_get_list(PurpleConnection *gc);
@@ -216,7 +243,10 @@
* If this is possible and done, the protocol will
* call set_in_progress with %FALSE and possibly
* unref the list if it took a reference.
void purple_roomlist_cancel_get_list(PurpleRoomlist *list);
@@ -252,7 +282,10 @@
* @ops: The UI operations structure.
* Sets the UI operations structure to be used in all purple room lists.
void purple_roomlist_set_ui_ops(PurpleRoomlistUiOps *ops);
@@ -262,7 +295,10 @@
* Returns: A filled-out PurpleRoomlistUiOps structure.
PurpleRoomlistUiOps *purple_roomlist_get_ui_ops(void);