1
/***************************************************************************
2
presence.h - code for the presence box
4
begin : Mon Dec 17 2001
5
copyright : (C) 2001 by Simon Morlat
6
email : simon.morlat@linphone.org
7
***************************************************************************/
9
/***************************************************************************
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
16
***************************************************************************/
21
enum { PRESENCE_MODE_REACHABLE=200,
22
PRESENCE_MODE_BUSY=486,
23
PRESENCE_MODE_AWAY=480,
24
PRESENCE_MODE_NOT_DISTURB=600,
25
PRESENCE_MODE_MOVED=302,
26
PRESENCE_MODE_ALT_SERVICE=380
30
typedef struct _PresenceBox
33
GtkWidget *minutesaway;
34
GtkWidget *contact_field;
35
gint toggled_button; /* indicate which button is toggled*/
39
void presence_box_init(PresenceBox *p, GtkWidget *main_window,LinphoneCore *lc);
40
void presence_box_changed(PresenceBox *p);
41
void presence_box_apply(PresenceBox *p);