summaryrefslogtreecommitdiff
path: root/telepathy-glib/proxy.h
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2011-07-15 16:30:59 +0200
committerXavier Claessens <xclaesse@gmail.com>2011-07-20 15:00:23 +0200
commitebe0c53202e216cd049e4b59e4d49d5b5e7f67db (patch)
tree1f80465a66b006f42366ab7dc66deb78c3f8444e /telepathy-glib/proxy.h
parentf35ecbc1b9dcc50f79c895e806854938244a37f7 (diff)
downloadtelepathy-glib-ebe0c53202e216cd049e4b59e4d49d5b5e7f67db.tar.gz
Add TpSimpleClientFactory
This is a new object replacing TpBasicProxyFactory but can construct any known TpProxy subclasses, guarantee their uniqueness per object-path and keep a user-defined set of features to prepare on them.
Diffstat (limited to 'telepathy-glib/proxy.h')
-rw-r--r--telepathy-glib/proxy.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/telepathy-glib/proxy.h b/telepathy-glib/proxy.h
index 8b0cdfb3f..c170c4a86 100644
--- a/telepathy-glib/proxy.h
+++ b/telepathy-glib/proxy.h
@@ -32,6 +32,8 @@ G_BEGIN_DECLS
/* Forward declaration of a subclass - from dbus.h */
typedef struct _TpDBusDaemon TpDBusDaemon;
+/* Forward declaration - from simple-client-factory.h */
+typedef struct _TpSimpleClientFactory TpSimpleClientFactory;
typedef struct _TpProxyPrivate TpProxyPrivate;
@@ -154,6 +156,8 @@ GType tp_proxy_get_type (void);
gboolean tp_proxy_has_interface_by_id (gpointer self, GQuark iface);
gboolean tp_proxy_has_interface (gpointer self, const gchar *iface);
+TpSimpleClientFactory *tp_proxy_get_factory (gpointer self);
+
TpDBusDaemon *tp_proxy_get_dbus_daemon (gpointer self);
DBusGConnection *tp_proxy_get_dbus_connection (gpointer self);