forked from fchat-pidgin/fchat-pidgin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
f-list_status.h
35 lines (30 loc) · 1.3 KB
/
f-list_status.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
* F-List Pidgin - a libpurple protocol plugin for F-Chat
*
* Copyright 2011 F-List Pidgin developers.
*
* This file is part of F-List Pidgin.
*
* F-List Pidgin is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* F-List Pidgin is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with F-List Pidgin. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef F_LIST_STATUS_H
#define F_LIST_STATUS_H
#include "f-list.h"
void flist_update_server_status(FListAccount *fla);
void flist_set_status(FListAccount *fla, FListStatus status, const gchar *status_message);
void flist_purple_set_status(PurpleAccount *account, PurpleStatus *status);
void flist_set_internal_status_from_purple_status(FListAccount *account, PurpleStatus *status);
const gchar *flist_get_status_message(FListAccount *fla);
FListStatus flist_get_status(FListAccount *fla);
#endif /* F_LIST_STATUS_H */