summaryrefslogtreecommitdiff
path: root/gdata/gdata-service.h
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2009-08-10 20:53:06 +0100
committerPhilip Withnall <philip@tecnocode.co.uk>2009-08-10 20:53:06 +0100
commit0a8e11dbbc4208acebbbdbc21588f8cfd06bf4d7 (patch)
treee31d92bf23d9be2115d070e618020b5c39326cfd /gdata/gdata-service.h
parent6d5a2712416a2f70e87b47a2efe6f9abfdb1ee36 (diff)
downloadlibgdata-0a8e11dbbc4208acebbbdbc21588f8cfd06bf4d7.tar.gz
[gd] Updated the GData namespace to version 3
Added structured name and postal address handling from version 3 of the GData namespace, including updated test cases.
Diffstat (limited to 'gdata/gdata-service.h')
-rw-r--r--gdata/gdata-service.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdata/gdata-service.h b/gdata/gdata-service.h
index cbadcfef..fde11642 100644
--- a/gdata/gdata-service.h
+++ b/gdata/gdata-service.h
@@ -132,6 +132,7 @@ typedef struct {
* @parent: the parent class
* @service_name: the name of the service (for subclasses) as given in the service's GData API documentation
* @authentication_uri: the authentication URI (for subclasses) if different from the Google ClientLogin default
+ * @api_version: the version of the GData API used by the service (typically %2)
* @feed_type: the #GType of the feed class (subclass of #GDataFeed) to use for query results from this service
* @parse_authentication_response: a function to parse the response from the online service to an authentication request as
* issued by gdata_service_authenticate(). It should return %TRUE if authentication was successful, and %FALSE if there was
@@ -148,6 +149,7 @@ typedef struct {
const gchar *service_name;
const gchar *authentication_uri;
+ const gchar *api_version;
GType feed_type;
gboolean (*parse_authentication_response) (GDataService *self, guint status, const gchar *response_body, gint length, GError **error);