Tue, 12 Jun 2007 00:28:06 +0000
Fixed naming to adhere to the libpurple convention
| 17776 | 1 | /* |
| 2 | * purple - Jabber Protocol Plugin | |
| 3 | * | |
| 4 | * Copyright (C) 2007, Andreas Monitzer <andy@monitzer.com> | |
| 5 | * | |
| 6 | * This program is free software; you can redistribute it and/or modify | |
| 7 | * it under the terms of the GNU General Public License as published by | |
| 8 | * the Free Software Foundation; either version 2 of the License, or | |
| 9 | * (at your option) any later version. | |
| 10 | * | |
| 11 | * This program is distributed in the hope that it will be useful, | |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 14 | * GNU General Public License for more details. | |
| 15 | * | |
| 16 | * You should have received a copy of the GNU General Public License | |
| 17 | * along with this program; if not, write to the Free Software | |
| 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 19 | * | |
| 20 | */ | |
| 21 | ||
| 22 | #ifndef _PURPLE_JABBER_USERMOOD_H_ | |
| 23 | #define _PURPLE_JABBER_USERMOOD_H_ | |
| 24 | ||
| 25 | #include "jabber.h" | |
| 26 | ||
| 27 | /* Implementation of XEP-0107 */ | |
| 28 | ||
|
17777
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
29 | typedef enum _JabberMood { /* wtf */ |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
30 | UNKNOWN = 0, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
31 | AFRAID, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
32 | AMAZED, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
33 | ANGRY, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
34 | ANNOYED, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
35 | ANXIOUS, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
36 | AROUSED, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
37 | ASHAMED, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
38 | BORED, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
39 | BRAVE, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
40 | CALM, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
41 | COLD, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
42 | CONFUSED, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
43 | CONTENTED, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
44 | CRANKY, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
45 | CURIOUS, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
46 | DEPRESSED, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
47 | DISAPPOINTED, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
48 | DISGUSTED, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
49 | DISTRACTED, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
50 | EMBARRASSED, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
51 | EXCITED, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
52 | FLIRTATIOUS, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
53 | FRUSTRATED, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
54 | GRUMPY, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
55 | GUILTY, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
56 | HAPPY, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
57 | HOT, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
58 | HUMBLED, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
59 | HUMILIATED, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
60 | HUNGRY, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
61 | HURT, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
62 | IMPRESSED, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
63 | IN_AWE, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
64 | IN_LOVE, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
65 | INDIGNANT, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
66 | INTERESTED, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
67 | INTOXICATED, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
68 | INVINCIBLE, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
69 | JEALOUS, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
70 | LONELY, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
71 | MEAN, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
72 | MOODY, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
73 | NERVOUS, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
74 | NEUTRAL, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
75 | OFFENDED, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
76 | PLAYFUL, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
77 | PROUD, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
78 | RELIEVED, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
79 | REMORSEFUL, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
80 | RESTLESS, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
81 | SAD, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
82 | SARCASTIC, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
83 | SERIOUS, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
84 | SHOCKED, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
85 | SHY, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
86 | SICK, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
87 | SLEEPY, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
88 | STRESSED, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
89 | SURPRISED, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
90 | THIRSTY, |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
91 | WORRIED |
|
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
92 | } JabberMood; |
| 17776 | 93 | |
| 94 | void jabber_mood_init(void); | |
| 95 | ||
|
17777
746809864dde
Fixed naming to adhere to the libpurple convention
Andreas Monitzer <am@adiumx.com>
parents:
17776
diff
changeset
|
96 | void jabber_set_mood(JabberStream *js, JabberMood mood, const char *text /* might be NULL */); |
| 17776 | 97 | |
| 98 | #endif /* _PURPLE_JABBER_USERMOOD_H_ */ |