]> git.0d.be Git - empathy.git/blob - libempathy/empathy-status-presets.h
Updated Swedish translation
[empathy.git] / libempathy / empathy-status-presets.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3  * Copyright (C) 2005-2007 Imendio AB
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License as
7  * published by the Free Software Foundation; either version 2 of the
8  * License, or (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public
16  * License along with this program; if not, write to the
17  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
18  * Boston, MA  02110-1301  USA
19  *
20  * Author: Martyn Russell <martyn@imendio.com>
21  */
22
23 #ifndef __EMPATHY_STATUS_PRESETS_H__
24 #define __EMPATHY_STATUS_PRESETS_H__
25
26 #include <telepathy-glib/telepathy-glib.h>
27
28 G_BEGIN_DECLS
29
30 void          empathy_status_presets_get_all            (void);
31 GList *       empathy_status_presets_get                (TpConnectionPresenceType   state,
32                                                          gint         max_number);
33 void          empathy_status_presets_set_last           (TpConnectionPresenceType   state,
34                                                          const gchar *status);
35 void          empathy_status_presets_remove             (TpConnectionPresenceType   state,
36                                                          const gchar *status);
37 void          empathy_status_presets_reset              (void);
38 TpConnectionPresenceType    empathy_status_presets_get_default_state  (void);
39 const gchar * empathy_status_presets_get_default_status (void);
40 void          empathy_status_presets_set_default        (TpConnectionPresenceType   state,
41                                                          const gchar *status);
42 void          empathy_status_presets_clear_default      (void);
43 gboolean      empathy_status_presets_is_valid           (TpConnectionPresenceType   state);
44
45 G_END_DECLS
46
47 #endif /* __EMPATHY_STATUS_PRESETS_H__ */