equal
deleted
inserted
replaced
|
1 |
|
2 #ifndef MCABBER_MOOD_H |
|
3 #define MCABBER_MOOD_H |
|
4 |
|
5 /* |
|
6 * mood.h -- Pep mood events |
|
7 * |
|
8 * Copyright (C) 2009-2012 Myhailo Danylenko <isbear@ukrpost.net> |
|
9 * |
|
10 * This program is free software; you can redistribute it and/or modify |
|
11 * it under the terms of the GNU General Public License as published by |
|
12 * the Free Software Foundation; either version 2 of the License, or (at |
|
13 * your option) any later version. |
|
14 * |
|
15 * This program is distributed in the hope that it will be useful, but |
|
16 * WITHOUT ANY WARRANTY; without even the implied warranty of |
|
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
18 * General Public License for more details. |
|
19 * |
|
20 * You should have received a copy of the GNU General Public License |
|
21 * along with this program; if not, write to the Free Software |
|
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
|
23 * USA |
|
24 */ |
|
25 |
|
26 #include <glib.h> |
|
27 |
|
28 #define NS_MOOD ( "http:/" "/jabber.org/protocol/mood" ) |
|
29 #define NS_MOOD_NOTIFY ( "http:/" "/jabber.org/protocol/mood+notify" ) |
|
30 |
|
31 #define HOOK_MOOD_IN ( "mood-in" ) |
|
32 #define HOOK_MOOD_OUT ( "mood-out" ) |
|
33 |
|
34 #define MOOD_ERROR_NOTCONNECTED ( 0x01 ) |
|
35 |
|
36 void mood_publish ( const gchar *mood, const gchar *text ); |
|
37 gboolean mood_request ( const gchar *to, GError **error ); |
|
38 |
|
39 #endif |
|
40 |