comparison libpurple/privacy.h @ 27553:828d21a1ec43

Ah, this is what g++ doesn't like. ../libpurple/privacy.h:32: error: use of enum ¡Æ_PurplePrivacyType¡Ç without previous declaration ../libpurple/privacy.h:32: error: invalid type in declaration before ¡Æ;¡Ç token Let's just go back to what we had before (but with the #include account.h below the num definition)
author Mark Doliner <mark@kingant.net>
date Wed, 15 Jul 2009 08:59:00 +0000
parents 606a0e577b34
children 5876584828e8
comparison
equal deleted inserted replaced
27552:9908d5f5fde0 27553:828d21a1ec43
27 #define _PURPLE_PRIVACY_H_ 27 #define _PURPLE_PRIVACY_H_
28 28
29 /** 29 /**
30 * Privacy data types. 30 * Privacy data types.
31 */ 31 */
32 typedef enum _PurplePrivacyType PurplePrivacyType; 32 typedef enum _PurplePrivacyType
33
34 enum _PurplePrivacyType
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 }; 39 } PurplePrivacyType;
42 40
43 #include "account.h" 41 #include "account.h"
44 42
45 #ifdef __cplusplus 43 #ifdef __cplusplus
46 extern "C" { 44 extern "C" {