| 19 * |
19 * |
| 20 * You should have received a copy of the GNU General Public License |
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 |
21 * along with this program; if not, write to the Free Software |
| 22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 23 */ |
23 */ |
| 24 #ifndef _MSN_STATE_H_ |
24 #ifndef MSN_STATE_H |
| 25 #define _MSN_STATE_H_ |
25 #define MSN_STATE_H |
| 26 |
26 |
| 27 /** |
27 /** |
| 28 * Away types. |
28 * Away types. |
| 29 */ |
29 */ |
| 30 typedef enum |
30 typedef enum |
| 60 const char *msn_state_get_text(MsnAwayType state); |
59 const char *msn_state_get_text(MsnAwayType state); |
| 61 |
60 |
| 62 void msn_set_psm(MsnSession *session); |
61 void msn_set_psm(MsnSession *session); |
| 63 |
62 |
| 64 /* Get the CurrentMedia info from the XML string */ |
63 /* Get the CurrentMedia info from the XML string */ |
| 65 char * msn_get_currentmedia(char *xml_str,gsize len); |
64 char *msn_get_currentmedia(char *xml_str, gsize len); |
| 66 |
65 |
| 67 /*get the PSM info from the XML string*/ |
66 /*get the PSM info from the XML string*/ |
| 68 char * msn_get_psm(char *xml_str,gsize len); |
67 char *msn_get_psm(char *xml_str, gsize len); |
| 69 |
68 |
| 70 MsnAwayType msn_state_from_account(PurpleAccount *account); |
69 MsnAwayType msn_state_from_account(PurpleAccount *account); |
| 71 |
70 |
| 72 #endif /* _MSN_STATE_H_ */ |
71 #endif /* MSN_STATE_H */ |