1 /*<private_header>*/
2 /*
3  * Copyright (C) 2007-2008 Collabora Ltd. <http://www.collabora.co.uk/>
4  * Copyright (C) 2007-2008 Nokia Corporation
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19  */
20 
21 #ifndef __TP_PROXY_INTERNAL_H__
22 #define __TP_PROXY_INTERNAL_H__
23 
24 #include <telepathy-glib/proxy.h>
25 
26 GError *_tp_proxy_take_and_remap_error (TpProxy *self, GError *error)
27   G_GNUC_WARN_UNUSED_RESULT;
28 
29 typedef void (*TpProxyProc) (TpProxy *);
30 
31 gboolean _tp_proxy_is_preparing (gpointer self,
32     GQuark feature);
33 void _tp_proxy_set_feature_prepared (TpProxy *self,
34     GQuark feature,
35     gboolean succeeded);
36 void _tp_proxy_set_features_failed (TpProxy *self,
37     const GError *error);
38 
39 void _tp_proxy_will_announce_connected_async (TpProxy *self,
40     GAsyncReadyCallback callback,
41     gpointer user_data);
42 
43 gboolean _tp_proxy_will_announce_connected_finish (TpProxy *self,
44     GAsyncResult *result,
45     GError **error);
46 
47 void _tp_proxy_ensure_factory (gpointer self,
48     TpSimpleClientFactory *factory);
49 
50 #endif
51