Mercurial > pidgin.yaz
comparison libpurple/protocols/jabber/usermood.h @ 17569:a0cd74d7b51e
forgot to add usermood.[hc]
author | Andreas Monitzer <pidgin@monitzer.com> |
---|---|
date | Tue, 12 Jun 2007 00:00:53 +0000 |
parents | |
children | 8338e171a43b |
comparison
equal
deleted
inserted
replaced
17568:df5bb342b10e | 17569:a0cd74d7b51e |
---|---|
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 | |
29 typedef enum _jabber_mood { /* wtf */ | |
30 unknown = 0, | |
31 afraid, | |
32 amazed, | |
33 angry, | |
34 annoyed, | |
35 anxious, | |
36 aroused, | |
37 ashamed, | |
38 bored, | |
39 brave, | |
40 calm, | |
41 cold, | |
42 confused, | |
43 contented, | |
44 cranky, | |
45 curious, | |
46 depressed, | |
47 disappointed, | |
48 disgusted, | |
49 distracted, | |
50 embarrassed, | |
51 excited, | |
52 flirtatious, | |
53 frustrated, | |
54 grumpy, | |
55 guilty, | |
56 happy, | |
57 hot, | |
58 humbled, | |
59 humiliated, | |
60 hungry, | |
61 hurt, | |
62 impressed, | |
63 in_awe, | |
64 in_love, | |
65 indignant, | |
66 interested, | |
67 intoxicated, | |
68 invincible, | |
69 jealous, | |
70 lonely, | |
71 mean, | |
72 moody, | |
73 nervous, | |
74 neutral, | |
75 offended, | |
76 playful, | |
77 proud, | |
78 relieved, | |
79 remorseful, | |
80 restless, | |
81 sad, | |
82 sarcastic, | |
83 serious, | |
84 shocked, | |
85 shy, | |
86 sick, | |
87 sleepy, | |
88 stressed, | |
89 surprised, | |
90 thirsty, | |
91 worried | |
92 } jabber_mood; | |
93 | |
94 void jabber_mood_init(void); | |
95 | |
96 void jabber_set_mood(JabberStream *js, jabber_mood mood, const char *text /* might be NULL */); | |
97 | |
98 #endif /* _PURPLE_JABBER_USERMOOD_H_ */ |