summaryrefslogtreecommitdiff
path: root/telepathy-glib/base-protocol.h
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2010-03-05 18:11:27 +0000
committerAndre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk>2010-06-29 20:30:38 -0300
commitb854f818155db93799050d7fcb088402d4c761a3 (patch)
treec937639039998afa06dab3e8cfac2d148a2a1a57 /telepathy-glib/base-protocol.h
parent2736d861bf5bc4e22513423ccc3b8aa8a42b01b5 (diff)
downloadtelepathy-glib-b854f818155db93799050d7fcb088402d4c761a3.tar.gz
TpBaseProtocol: move struct definitions to header so it can be subclassed
Diffstat (limited to 'telepathy-glib/base-protocol.h')
-rw-r--r--telepathy-glib/base-protocol.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/telepathy-glib/base-protocol.h b/telepathy-glib/base-protocol.h
index c63d5d1c5..3d5522c47 100644
--- a/telepathy-glib/base-protocol.h
+++ b/telepathy-glib/base-protocol.h
@@ -88,6 +88,22 @@ GType tp_base_protocol_get_type (void) G_GNUC_CONST;
#define TP_BASE_PROTOCOL_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), TP_TYPE_BASE_PROTOCOL, \
TpBaseProtocolClass))
+
+struct _TpBaseProtocol
+{
+ /*<private>*/
+ GObject parent;
+ TpBaseProtocolPrivate *priv;
+};
+
+struct _TpBaseProtocolClass
+{
+ /*<private>*/
+ GObjectClass parent_class;
+ GCallback padding[8];
+ TpBaseProtocolClassPrivate *priv;
+};
+
G_END_DECLS
#endif