Frameworks/libpurple.framework/Versions/0.6.2/Headers/pecan_status.h
changeset 2592 e8d15275025e
parent 1739 8b0daad9656c
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Frameworks/libpurple.framework/Versions/0.6.2/Headers/pecan_status.h	Fri Aug 21 13:25:11 2009 -0700
     1.3 @@ -0,0 +1,60 @@
     1.4 +/**
     1.5 + * Copyright (C) 2007-2008 Felipe Contreras
     1.6 + *
     1.7 + * Purple is the legal property of its developers, whose names are too numerous
     1.8 + * to list here.  Please refer to the COPYRIGHT file distributed with this
     1.9 + * source distribution.
    1.10 + *
    1.11 + * This program is free software; you can redistribute it and/or modify
    1.12 + * it under the terms of the GNU General Public License as published by
    1.13 + * the Free Software Foundation; either version 2 of the License, or
    1.14 + * (at your option) any later version.
    1.15 + *
    1.16 + * This program is distributed in the hope that it will be useful,
    1.17 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.18 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1.19 + * GNU General Public License for more details.
    1.20 + *
    1.21 + * You should have received a copy of the GNU General Public License
    1.22 + * along with this program; if not, write to the Free Software
    1.23 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
    1.24 + */
    1.25 +
    1.26 +#ifndef PECAN_STATUS_H
    1.27 +#define PECAN_STATUS_H
    1.28 +
    1.29 +/**
    1.30 + * Status types.
    1.31 + */
    1.32 +typedef enum
    1.33 +{
    1.34 +    PECAN_STATUS_NONE,
    1.35 +    PECAN_STATUS_ONLINE,
    1.36 +    PECAN_STATUS_BUSY,
    1.37 +    PECAN_STATUS_IDLE,
    1.38 +    PECAN_STATUS_BRB,
    1.39 +    PECAN_STATUS_AWAY,
    1.40 +    PECAN_STATUS_PHONE,
    1.41 +    PECAN_STATUS_LUNCH,
    1.42 +    PECAN_STATUS_OFFLINE,
    1.43 +    PECAN_STATUS_HIDDEN
    1.44 +
    1.45 +} PecanStatusType;
    1.46 +
    1.47 +struct MsnSession;
    1.48 +
    1.49 +/**
    1.50 + * Updates the status of the user.
    1.51 + *
    1.52 + * @param session The MSN session.
    1.53 + */
    1.54 +void pecan_update_status (struct MsnSession *session);
    1.55 +
    1.56 +/**
    1.57 + * Updates the personal message of the user.
    1.58 + *
    1.59 + * @param session The MSN session.
    1.60 + */
    1.61 +void pecan_update_personal_message (struct MsnSession *session);
    1.62 +
    1.63 +#endif /* PECAN_STATUS_H */