comparison 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
comparison
equal deleted inserted replaced
8174:4c34db6996d1 8175:f347c8d25cf5
24 */ 24 */
25 #ifndef _GAIM_PRIVACY_H_ 25 #ifndef _GAIM_PRIVACY_H_
26 #define _GAIM_PRIVACY_H_ 26 #define _GAIM_PRIVACY_H_
27 27
28 #include "account.h" 28 #include "account.h"
29
30 /**
31 * Privacy data types.
32 */
33 typedef enum _GaimPrivacyType
34 {
35 GAIM_PRIVACY_ALLOW_ALL = 1,
36 GAIM_PRIVACY_DENY_ALL,
37 GAIM_PRIVACY_ALLOW_USERS,
38 GAIM_PRIVACY_DENY_USERS,
39 GAIM_PRIVACY_ALLOW_BUDDYLIST
40 } GaimPrivacyType;
29 41
30 #ifdef __cplusplus 42 #ifdef __cplusplus
31 extern "C" { 43 extern "C" {
32 #endif 44 #endif
33 45