summaryrefslogtreecommitdiff
path: root/telepathy-glib/client-factory-internal.h
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.co.uk>2012-04-24 15:24:46 +0200
committerXavier Claessens <xavier.claessens@collabora.co.uk>2012-04-25 18:11:14 +0200
commit24a7ed8b81be027709bd3708d123a5a93f89d6a0 (patch)
tree147764c04ffaf6e8cf5aa0475aa378e08ec2d613 /telepathy-glib/client-factory-internal.h
parent96f71247990d446ee27cae012b431550d7c40068 (diff)
Rename TpSimpleClientFactory to TpClientFactory
The factory isn't really simple thing, and it makes long function names.
Diffstat (limited to 'telepathy-glib/client-factory-internal.h')
-rw-r--r--telepathy-glib/client-factory-internal.h78
1 files changed, 78 insertions, 0 deletions
diff --git a/telepathy-glib/client-factory-internal.h b/telepathy-glib/client-factory-internal.h
new file mode 100644
index 000000000..8c529d637
--- /dev/null
+++ b/telepathy-glib/client-factory-internal.h
@@ -0,0 +1,78 @@
+/*
+ * Internal methods of TpClientFactory
+ *
+ * Copyright © 2011 Collabora Ltd.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef __TP_CLIENT_FACTORY_INTERNAL_H__
+#define __TP_CLIENT_FACTORY_INTERNAL_H__
+
+#include <telepathy-glib/client-factory.h>
+
+G_BEGIN_DECLS
+
+void _tp_client_factory_insert_proxy (TpClientFactory *self,
+ gpointer proxy);
+
+TpChannelRequest *_tp_client_factory_ensure_channel_request (
+ TpClientFactory *self,
+ const gchar *object_path,
+ GHashTable *immutable_properties,
+ GError **error);
+
+TpChannelDispatchOperation *
+_tp_client_factory_ensure_channel_dispatch_operation (TpClientFactory *self,
+ const gchar *object_path,
+ GHashTable *immutable_properties,
+ GError **error);
+
+TpAccount *_tp_account_new_with_factory (TpClientFactory *factory,
+ TpDBusDaemon *bus_daemon,
+ const gchar *object_path,
+ GError **error);
+
+TpConnection *_tp_connection_new_with_factory (TpClientFactory *factory,
+ TpDBusDaemon *dbus,
+ const gchar *bus_name,
+ const gchar *object_path,
+ GError **error);
+
+TpChannel *_tp_channel_new_with_factory (TpClientFactory *factory,
+ TpConnection *conn,
+ const gchar *object_path,
+ const GHashTable *immutable_properties,
+ GError **error);
+
+TpChannelRequest *_tp_channel_request_new_with_factory (
+ TpClientFactory *factory,
+ TpDBusDaemon *bus_daemon,
+ const gchar *object_path,
+ GHashTable *immutable_properties,
+ GError **error);
+void _tp_channel_request_ensure_immutable_properties (TpChannelRequest *self,
+ GHashTable *immutable_properties);
+
+TpChannelDispatchOperation *_tp_channel_dispatch_operation_new_with_factory (
+ TpClientFactory *factory,
+ TpDBusDaemon *bus_daemon,
+ const gchar *object_path,
+ GHashTable *immutable_properties,
+ GError **error);
+
+G_END_DECLS
+
+#endif