diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-11-21 16:53:14 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-11-21 16:53:14 +0000 |
commit | fad8102a353c74e9fe6e4c6b76c7d0b96890754f (patch) | |
tree | 46f3972df97062997c695674a79b041397510c31 /telepathy-glib/proxy.h | |
parent | fa39a8fe10574f2dbfe95be27565ab6f7094862e (diff) | |
download | telepathy-glib-fad8102a353c74e9fe6e4c6b76c7d0b96890754f.tar.gz |
Clean up TpProxyClass API enough to make it public
20071121165314-53eee-53ee96b3cc406df5799f6eb191364c6bb3fed5a4.gz
Diffstat (limited to 'telepathy-glib/proxy.h')
-rw-r--r-- | telepathy-glib/proxy.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/telepathy-glib/proxy.h b/telepathy-glib/proxy.h index ad3cf5d48..25f12bafd 100644 --- a/telepathy-glib/proxy.h +++ b/telepathy-glib/proxy.h @@ -27,8 +27,21 @@ G_BEGIN_DECLS typedef struct _TpProxy TpProxy; + typedef struct _TpProxyClass TpProxyClass; +struct _TpProxyClass { + GObjectClass parent_class; + + GQuark interface; + + gboolean must_have_unique_name:1; + guint _reserved_flags:31; + + GCallback _reserved[4]; + gpointer priv; +}; + typedef struct _TpProxyPendingCall TpProxyPendingCall; struct _TpProxyPendingCall { @@ -71,6 +84,12 @@ GType tp_proxy_get_type (void); (G_TYPE_INSTANCE_GET_CLASS ((obj), TP_TYPE_PROXY, \ TpProxyClass)) +typedef void (*TpProxyInterfaceAddedCb) (TpProxy *self, + guint quark, DBusGProxy *proxy, gpointer unused); + +void tp_proxy_class_hook_on_interface_add (TpProxyClass *klass, + TpProxyInterfaceAddedCb callback); + G_END_DECLS #ifndef TP_PROXY_IN_CLI_IMPLEMENTATION |