]> git.0d.be Git - empathy.git/blob - tp-account-widgets/tpaw-utils.h
tpaw-utils: move functions for protocol and service display information
[empathy.git] / tp-account-widgets / tpaw-utils.h
1 /*
2  * Copyright (C) 2009-2013 Collabora Ltd.
3  *
4  * Authors: Marco Barisione <marco.barisione@collabora.co.uk>
5  *          Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
6  *          Sjoerd Simons <sjoerd.simons@collabora.co.uk>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2.1 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
21  */
22
23 #ifndef __TPAW_UTILS_H__
24 #define __TPAW_UTILS_H__
25
26 #include <glib.h>
27 #include <telepathy-glib/telepathy-glib.h>
28
29 G_BEGIN_DECLS
30
31 void tpaw_connect_new_account (TpAccount *account,
32     TpAccountManager *account_manager);
33
34 gchar *tpaw_protocol_icon_name (const gchar *protocol);
35 const gchar *tpaw_protocol_name_to_display_name (const gchar *proto_name);
36 const gchar *tpaw_service_name_to_display_name (const gchar *proto_name);
37
38 G_END_DECLS
39
40 #endif /*  __TPAW_UTILS_H__ */