Frameworks/libpurple.framework/Versions/0.6.2/Headers/pecan_status.h
author Zachary West <zacw@adium.im>
Fri Aug 21 13:25:11 2009 -0700 (2009-08-21)
changeset 2592 e8d15275025e
parent 1739 Frameworks/libpurple.framework/Versions/0.6.0/Headers/pecan_status.h@8b0daad9656c
permissions -rw-r--r--
im.pidgin.adium.1-4 at 267c6165e02e34318a1823960bd04c0639952f73
Evan@653
     1
/**
Evan@653
     2
 * Copyright (C) 2007-2008 Felipe Contreras
Evan@653
     3
 *
Evan@653
     4
 * Purple is the legal property of its developers, whose names are too numerous
Evan@653
     5
 * to list here.  Please refer to the COPYRIGHT file distributed with this
Evan@653
     6
 * source distribution.
Evan@653
     7
 *
Evan@653
     8
 * This program is free software; you can redistribute it and/or modify
Evan@653
     9
 * it under the terms of the GNU General Public License as published by
Evan@653
    10
 * the Free Software Foundation; either version 2 of the License, or
Evan@653
    11
 * (at your option) any later version.
Evan@653
    12
 *
Evan@653
    13
 * This program is distributed in the hope that it will be useful,
Evan@653
    14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Evan@653
    15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Evan@653
    16
 * GNU General Public License for more details.
Evan@653
    17
 *
Evan@653
    18
 * You should have received a copy of the GNU General Public License
Evan@653
    19
 * along with this program; if not, write to the Free Software
Evan@653
    20
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
Evan@653
    21
 */
Evan@653
    22
Evan@653
    23
#ifndef PECAN_STATUS_H
Evan@653
    24
#define PECAN_STATUS_H
Evan@653
    25
Evan@653
    26
/**
Evan@653
    27
 * Status types.
Evan@653
    28
 */
Evan@653
    29
typedef enum
Evan@653
    30
{
Evan@653
    31
    PECAN_STATUS_NONE,
Evan@653
    32
    PECAN_STATUS_ONLINE,
Evan@653
    33
    PECAN_STATUS_BUSY,
Evan@653
    34
    PECAN_STATUS_IDLE,
Evan@653
    35
    PECAN_STATUS_BRB,
Evan@653
    36
    PECAN_STATUS_AWAY,
Evan@653
    37
    PECAN_STATUS_PHONE,
Evan@653
    38
    PECAN_STATUS_LUNCH,
Evan@653
    39
    PECAN_STATUS_OFFLINE,
Evan@653
    40
    PECAN_STATUS_HIDDEN
Evan@653
    41
Evan@653
    42
} PecanStatusType;
Evan@653
    43
Evan@653
    44
struct MsnSession;
Evan@653
    45
Evan@653
    46
/**
Evan@653
    47
 * Updates the status of the user.
Evan@653
    48
 *
Evan@653
    49
 * @param session The MSN session.
Evan@653
    50
 */
Evan@653
    51
void pecan_update_status (struct MsnSession *session);
Evan@653
    52
Evan@653
    53
/**
Evan@653
    54
 * Updates the personal message of the user.
Evan@653
    55
 *
Evan@653
    56
 * @param session The MSN session.
Evan@653
    57
 */
Evan@653
    58
void pecan_update_personal_message (struct MsnSession *session);
Evan@653
    59
Evan@653
    60
#endif /* PECAN_STATUS_H */