diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-04-21 15:47:01 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-04-29 09:11:41 +0200 |
commit | 73b453cb89778ce6160e7d2eb149e4ff4c53b2d9 (patch) | |
tree | 77f12efd7b13275ba9b92a0f3f5233db47c0fa32 /telepathy-glib/base-client.h | |
parent | 3523ddcb06c0d376ece5ce6bc0b7148cb67399ff (diff) | |
download | telepathy-glib-73b453cb89778ce6160e7d2eb149e4ff4c53b2d9.tar.gz |
move _TpBaseClient(Class) to header so we can subclass
Diffstat (limited to 'telepathy-glib/base-client.h')
-rw-r--r-- | telepathy-glib/base-client.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/telepathy-glib/base-client.h b/telepathy-glib/base-client.h index fe3a8ee3e..7d14ee952 100644 --- a/telepathy-glib/base-client.h +++ b/telepathy-glib/base-client.h @@ -26,6 +26,7 @@ #include <telepathy-glib/dbus.h> #include <telepathy-glib/defs.h> +#include <telepathy-glib/dbus-properties-mixin.h> G_BEGIN_DECLS @@ -33,6 +34,18 @@ typedef struct _TpBaseClient TpBaseClient; typedef struct _TpBaseClientClass TpBaseClientClass; typedef struct _TpBaseClientPrivate TpBaseClientPrivate; +struct _TpBaseClientClass { + /*<private>*/ + GObjectClass parent_class; + TpDBusPropertiesMixinClass dbus_properties_class; +}; + +struct _TpBaseClient { + /*<private>*/ + GObject parent; + TpBaseClientPrivate *priv; +}; + GType tp_base_client_get_type (void); TpBaseClient *tp_base_client_new (TpDBusDaemon *dbus_daemon, |