diff src/prpl.h @ 8113:d60272410bd5

[gaim-migrate @ 8817] Tim 'marv' Ringenbach wrote us a wonderful core/ui split chat room list thing-a-ma-jig. I've taken the liberty of adding jabber support to it as well. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 15 Jan 2004 22:20:29 +0000
parents fa6395637e2c
children 9d1a984681fe
line wrap: on
line diff
--- a/src/prpl.h	Thu Jan 15 17:08:38 2004 +0000
+++ b/src/prpl.h	Thu Jan 15 22:20:29 2004 +0000
@@ -188,6 +188,10 @@
 /** Custom away message. */
 #define GAIM_AWAY_CUSTOM _("Custom")
 
+/** Some structs defined in roomlist.h */
+struct _GaimRoomlist;
+struct _GaimRoomlistRoom;
+
 /**
  * A protocol plugin information structure.
  *
@@ -318,6 +322,11 @@
 	void (*set_chat_topic)(GaimConnection *gc, int id, const char *topic);
 
 	GaimChat *(*find_blist_chat)(GaimAccount *account, const char *name);
+
+	/* room listing prpl callbacks */
+	struct _GaimRoomlist *(*roomlist_get_list)(GaimConnection *gc);
+	void (*roomlist_cancel)(struct _GaimRoomlist *list);
+	void (*roomlist_expand_catagory)(struct _GaimRoomlist *list, struct _GaimRoomlistRoom *catagory);
 };
 
 #define GAIM_IS_PROTOCOL_PLUGIN(plugin) \