diff src/privacy.h @ 8175:f347c8d25cf5

[gaim-migrate @ 8889] Make privacy stuff use an enum for different privacy options. This started with a fix to make the box for "allow the users below" show up when opening the privacy dialog when that option was selected. It might be a good idea for a few people to check their privacy settings after using this to make sure it's the same as what it used to be. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 28 Jan 2004 05:43:04 +0000
parents fa6395637e2c
children 068db3a28cf6
line wrap: on
line diff
--- a/src/privacy.h	Wed Jan 28 04:09:18 2004 +0000
+++ b/src/privacy.h	Wed Jan 28 05:43:04 2004 +0000
@@ -27,6 +27,18 @@
 
 #include "account.h"
 
+/**
+ * Privacy data types.
+ */
+typedef enum _GaimPrivacyType
+{
+	GAIM_PRIVACY_ALLOW_ALL = 1,
+	GAIM_PRIVACY_DENY_ALL,
+	GAIM_PRIVACY_ALLOW_USERS,
+	GAIM_PRIVACY_DENY_USERS,
+	GAIM_PRIVACY_ALLOW_BUDDYLIST
+} GaimPrivacyType;
+
 #ifdef __cplusplus
 extern "C" {
 #endif