Thu, 20 Sep 2007 16:30:17 +0000
Use an independant status type for 'current media' stuff, instead of using
status attributes. This includes changes in both xmpp and msn.
Also, in MSN, CurrentMedia is sent with PSM if you turn on the status and
set the attributes on the account.
| 15225 | 1 | /** |
| 15884 | 2 | * Purple is the legal property of its developers, whose names are too numerous |
| 15225 | 3 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 4 | * source distribution. | |
| 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 | |
|
19859
71d37b57eff2
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
15884
diff
changeset
|
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 15225 | 19 | */ |
| 20 | ||
| 15884 | 21 | #ifndef _PURPLE_GOOGLE_H_ |
| 22 | #define _PURPLE_GOOGLE_H_ | |
| 15225 | 23 | |
| 24 | /* This is a place for Google Talk-specific XMPP extensions to live | |
| 25 | * such that they don't intermingle with code for the XMPP RFCs and XEPs :) */ | |
| 26 | ||
| 27 | #include "jabber.h" | |
| 28 | ||
| 29 | void jabber_gmail_init(JabberStream *js); | |
| 30 | void jabber_gmail_poke(JabberStream *js, xmlnode *node); | |
| 31 | ||
| 15265 | 32 | void jabber_google_roster_init(JabberStream *js); |
| 33 | void jabber_google_roster_outgoing(JabberStream *js, xmlnode *query, xmlnode *item); | |
|
15530
9355a1be068e
Make deleting Google Talk buddies work
Sean Egan <seanegan@pidgin.im>
parents:
15435
diff
changeset
|
34 | |
|
9355a1be068e
Make deleting Google Talk buddies work
Sean Egan <seanegan@pidgin.im>
parents:
15435
diff
changeset
|
35 | /* Returns FALSE if this should short-circuit processing of this roster item, or TRUE |
|
9355a1be068e
Make deleting Google Talk buddies work
Sean Egan <seanegan@pidgin.im>
parents:
15435
diff
changeset
|
36 | * if this roster item should continue to be processed |
|
9355a1be068e
Make deleting Google Talk buddies work
Sean Egan <seanegan@pidgin.im>
parents:
15435
diff
changeset
|
37 | */ |
|
9355a1be068e
Make deleting Google Talk buddies work
Sean Egan <seanegan@pidgin.im>
parents:
15435
diff
changeset
|
38 | gboolean jabber_google_roster_incoming(JabberStream *js, xmlnode *item); |
| 15884 | 39 | void jabber_google_roster_add_deny(PurpleConnection *gc, const char *who); |
| 40 | void jabber_google_roster_rem_deny(PurpleConnection *gc, const char *who); | |
| 15265 | 41 | |
|
15587
cbedd543bfae
Google Talk uses structured text formatting where *this* is bold
Sean Egan <seanegan@pidgin.im>
parents:
15530
diff
changeset
|
42 | char *jabber_google_format_to_html(const char *text); |
|
cbedd543bfae
Google Talk uses structured text formatting where *this* is bold
Sean Egan <seanegan@pidgin.im>
parents:
15530
diff
changeset
|
43 | |
| 15265 | 44 | |
| 45 | ||
| 15884 | 46 | #endif /* _PURPLE_GOOGLE_H_ */ |