1.1 --- a/Frameworks/libpurple.framework/Versions/0.6.0/Headers/state.h Fri Aug 21 13:24:36 2009 -0700
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,75 +0,0 @@
1.4 -/**
1.5 - * @file state.h State functions and definitions
1.6 - *
1.7 - * purple
1.8 - *
1.9 - * Purple is the legal property of its developers, whose names are too numerous
1.10 - * to list here. Please refer to the COPYRIGHT file distributed with this
1.11 - * source distribution.
1.12 - *
1.13 - * This program is free software; you can redistribute it and/or modify
1.14 - * it under the terms of the GNU General Public License as published by
1.15 - * the Free Software Foundation; either version 2 of the License, or
1.16 - * (at your option) any later version.
1.17 - *
1.18 - * This program is distributed in the hope that it will be useful,
1.19 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.20 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.21 - * GNU General Public License for more details.
1.22 - *
1.23 - * You should have received a copy of the GNU General Public License
1.24 - * along with this program; if not, write to the Free Software
1.25 - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
1.26 - */
1.27 -#ifndef _MSN_STATE_H_
1.28 -#define _MSN_STATE_H_
1.29 -
1.30 -/**
1.31 - * Away types.
1.32 - */
1.33 -typedef enum
1.34 -{
1.35 - MSN_ONLINE = 1,
1.36 - MSN_BUSY = 2,
1.37 - MSN_IDLE = 3,
1.38 - MSN_BRB = 4,
1.39 - MSN_AWAY = 5,
1.40 - MSN_PHONE = 6,
1.41 - MSN_LUNCH = 7,
1.42 - MSN_OFFLINE = 8,
1.43 - MSN_HIDDEN = 9
1.44 -
1.45 -} MsnAwayType;
1.46 -
1.47 -/**
1.48 - * Changes the status of the user.
1.49 - *
1.50 - * @param session The MSN session.
1.51 - */
1.52 -void msn_change_status(MsnSession *session);
1.53 -
1.54 -/**
1.55 - * Returns the string representation of an away type.
1.56 - *
1.57 - * @param type The away type.
1.58 - *
1.59 - * @return The string representation of the away type.
1.60 - */
1.61 -const char *msn_away_get_text(MsnAwayType type);
1.62 -
1.63 -const char *msn_state_get_text(MsnAwayType state);
1.64 -
1.65 -void msn_set_psm(MsnSession *session);
1.66 -
1.67 -/* Parse CurrentMedia string */
1.68 -gboolean msn_parse_currentmedia(const char *cmedia, CurrentMedia *media);
1.69 -
1.70 -/* Get the CurrentMedia info from the XML string */
1.71 -char * msn_get_currentmedia(char *xml_str,gsize len);
1.72 -
1.73 -/*get the PSM info from the XML string*/
1.74 -char * msn_get_psm(char *xml_str,gsize len);
1.75 -
1.76 -MsnAwayType msn_state_from_account(PurpleAccount *account);
1.77 -
1.78 -#endif /* _MSN_STATE_H_ */