diff libpurple/request.h @ 21235:fba1f6c3df0b

Converted string literal UI hints to #define-ed constants and fixed two cast-warnings in gtkblist.c
author Gabriel Schulhof <nix@go-nix.ca>
date Sun, 14 Oct 2007 18:07:19 +0000
parents aabe638f56d9
children 73c5f5bfeb39 76bdbe79d40f 200afe30b7af
line wrap: on
line diff
--- a/libpurple/request.h	Sun Oct 14 03:14:43 2007 +0000
+++ b/libpurple/request.h	Sun Oct 14 18:07:19 2007 +0000
@@ -199,6 +199,28 @@
 } PurpleRequestField;
 
 /**
+ * List of UI hints used by purple
+ */
+#define PURPLE_REQUEST_HINT_ACCOUNT  "account"
+#define PURPLE_REQUEST_HINT_BLIST    "blist"
+#define PURPLE_REQUEST_HINT_BUDDY    "buddy"
+#define PURPLE_REQUEST_HINT_CONV     "conversation"
+#define PURPLE_REQUEST_HINT_REGISTER "register-account"
+#define PURPLE_REQUEST_HINT_XFER     "xfer"
+
+/**
+ * List of UI hints used by purple UIs
+ * We need a header file included by both pidgin and finch, but not part of
+ * libpurple for these
+ */
+#define PURPLE_UI_REQUEST_HINT_ACCOUNTMGR "accountmgr"
+#define PURPLE_UI_REQUEST_HINT_CERTMGR    "certmgr"
+#define PURPLE_UI_REQUEST_HINT_PLUGINMGR  "pluginmgr"
+#define PURPLE_UI_REQUEST_HINT_POUNCEMGR  "pouncemgr"
+#define PURPLE_UI_REQUEST_HINT_PREFSMGR   "preferences"
+#define PURPLE_UI_REQUEST_HINT_STATUSMGR  "statusmgr"
+
+/**
  * Request UI operations.
  */
 typedef struct