summaryrefslogtreecommitdiff
path: root/telepathy-glib/base-protocol.h
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2010-07-16 16:06:44 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2010-07-16 16:07:28 +0100
commit4d74feb906b7f9e37238a9d89245eeaaf1a0ffed (patch)
treee80a996fb62eb1e9258ce77c54ad42fe54470267 /telepathy-glib/base-protocol.h
parent2f54e7858a8faeca03a844d0ea3fbb2a2bb33172 (diff)
downloadtelepathy-glib-4d74feb906b7f9e37238a9d89245eeaaf1a0ffed.tar.gz
Introduce some typedefs to document TpBaseProtocol's methods better
Diffstat (limited to 'telepathy-glib/base-protocol.h')
-rw-r--r--telepathy-glib/base-protocol.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/telepathy-glib/base-protocol.h b/telepathy-glib/base-protocol.h
index 14c2631ee..b4e69cd67 100644
--- a/telepathy-glib/base-protocol.h
+++ b/telepathy-glib/base-protocol.h
@@ -98,6 +98,31 @@ struct _TpBaseProtocol
TpBaseProtocolPrivate *priv;
};
+typedef const TpCMParamSpec *(*TpBaseProtocolGetParametersFunc) (
+ TpBaseProtocol *self);
+
+typedef TpBaseConnection *(*TpBaseProtocolNewConnectionFunc) (
+ TpBaseProtocol *self,
+ GHashTable *asv,
+ GError **error);
+
+typedef gchar *(*TpBaseProtocolNormalizeContactFunc) (TpBaseProtocol *self,
+ const gchar *contact,
+ GError **error);
+
+typedef gchar *(*TpBaseProtocolIdentifyAccountFunc) (TpBaseProtocol *self,
+ GHashTable *asv,
+ GError **error);
+
+typedef GStrv (*TpBaseProtocolGetInterfacesFunc) (TpBaseProtocol *self);
+
+typedef void (*TpBaseProtocolGetConnectionDetailsFunc) (TpBaseProtocol *self,
+ GStrv *connection_interfaces,
+ GType **channel_manager_types,
+ gchar **icon_name,
+ gchar **english_name,
+ gchar **vcard_field);
+
struct _TpBaseProtocolClass
{
GObjectClass parent_class;