Mercurial > pidgin.yaz
comparison libpurple/privacy.h @ 27617:0a0ece3477af
I don't remember why exactly, but enum typedefs should not have a name
after the "enum typedef"--it should only be at the end. Maybe it's not
compatible with C++ or something?
Also move the #include account.h below the typedef because account.h
needs this enum
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 14 Jul 2009 21:23:18 +0000 |
parents | 584063555949 |
children | 606a0e577b34 |
comparison
equal
deleted
inserted
replaced
27612:18a96fe78870 | 27617:0a0ece3477af |
---|---|
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA | 24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
25 */ | 25 */ |
26 #ifndef _PURPLE_PRIVACY_H_ | 26 #ifndef _PURPLE_PRIVACY_H_ |
27 #define _PURPLE_PRIVACY_H_ | 27 #define _PURPLE_PRIVACY_H_ |
28 | 28 |
29 #include "account.h" | |
30 | |
31 /** | 29 /** |
32 * Privacy data types. | 30 * Privacy data types. |
33 */ | 31 */ |
34 typedef enum _PurplePrivacyType | 32 typedef enum |
35 { | 33 { |
36 PURPLE_PRIVACY_ALLOW_ALL = 1, | 34 PURPLE_PRIVACY_ALLOW_ALL = 1, |
37 PURPLE_PRIVACY_DENY_ALL, | 35 PURPLE_PRIVACY_DENY_ALL, |
38 PURPLE_PRIVACY_ALLOW_USERS, | 36 PURPLE_PRIVACY_ALLOW_USERS, |
39 PURPLE_PRIVACY_DENY_USERS, | 37 PURPLE_PRIVACY_DENY_USERS, |
40 PURPLE_PRIVACY_ALLOW_BUDDYLIST | 38 PURPLE_PRIVACY_ALLOW_BUDDYLIST |
41 } PurplePrivacyType; | 39 } PurplePrivacyType; |
40 | |
41 #include "account.h" | |
42 | 42 |
43 #ifdef __cplusplus | 43 #ifdef __cplusplus |
44 extern "C" { | 44 extern "C" { |
45 #endif | 45 #endif |
46 | 46 |