comparison libpurple/protocols/msn/state.h @ 29373:462cb893521b

Minor header file cleanup. Mostly I wanted to move some enums above some #includes
author Mark Doliner <mark@kingant.net>
date Fri, 05 Feb 2010 22:49:11 +0000
parents 746bf7d8b34e
children 6376fc7a092e
comparison
equal deleted inserted replaced
29372:791606778223 29373:462cb893521b
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
36 MSN_AWAY = 5, 36 MSN_AWAY = 5,
37 MSN_PHONE = 6, 37 MSN_PHONE = 6,
38 MSN_LUNCH = 7, 38 MSN_LUNCH = 7,
39 MSN_OFFLINE = 8, 39 MSN_OFFLINE = 8,
40 MSN_HIDDEN = 9 40 MSN_HIDDEN = 9
41
42 } MsnAwayType; 41 } MsnAwayType;
43 42
44 /** 43 /**
45 * Changes the status of the user. 44 * Changes the status of the user.
46 * 45 *
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 */