Sun, 29 Mar 2009 20:54:30 +0000
Fix compilation errors and add padding to UI ops. My bad...
| 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 | |
|
17779
773326802e26
Fixed whitespace to match the coding convention used in libpurple
Andreas Monitzer <am@adiumx.com>
parents:
17777
diff
changeset
|
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 17776 | 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 | |
|
17779
773326802e26
Fixed whitespace to match the coding convention used in libpurple
Andreas Monitzer <am@adiumx.com>
parents:
17777
diff
changeset
|
18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 17776 | 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 | void jabber_mood_init(void); | |
| 30 | ||
|
17782
83af68644d0a
Implemented a mood menu action (non-functional right now for some reason)
Andreas Monitzer <am@adiumx.com>
parents:
17781
diff
changeset
|
31 | void jabber_mood_init_action(GList **m); |
|
83af68644d0a
Implemented a mood menu action (non-functional right now for some reason)
Andreas Monitzer <am@adiumx.com>
parents:
17781
diff
changeset
|
32 | |
|
17784
6aab6554431e
Implemented setting the User Mood. Currently untested since it requires the fields request API, which isn't implemented in Adium yet.
Andreas Monitzer <am@adiumx.com>
parents:
17782
diff
changeset
|
33 | void jabber_mood_set(JabberStream *js, |
|
17781
d11010274b7a
Removed the huge enum for the user mood states, since it's now passed as localized strings anyways
Andreas Monitzer <am@adiumx.com>
parents:
17779
diff
changeset
|
34 | const char *mood, /* must be one of the valid strings defined in the XEP */ |
|
d11010274b7a
Removed the huge enum for the user mood states, since it's now passed as localized strings anyways
Andreas Monitzer <am@adiumx.com>
parents:
17779
diff
changeset
|
35 | const char *text /* might be NULL */); |
| 17776 | 36 | |
| 37 | #endif /* _PURPLE_JABBER_USERMOOD_H_ */ |