diff options
Diffstat (limited to 'gdata/services/freebase/gdata-freebase-service.h')
-rw-r--r-- | gdata/services/freebase/gdata-freebase-service.h | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/gdata/services/freebase/gdata-freebase-service.h b/gdata/services/freebase/gdata-freebase-service.h index 017bb4ef..1897c151 100644 --- a/gdata/services/freebase/gdata-freebase-service.h +++ b/gdata/services/freebase/gdata-freebase-service.h @@ -35,6 +35,8 @@ G_BEGIN_DECLS +#ifndef LIBGDATA_DISABLE_DEPRECATED + #define GDATA_TYPE_FREEBASE_SERVICE (gdata_freebase_service_get_type ()) #define GDATA_FREEBASE_SERVICE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GDATA_TYPE_FREEBASE_SERVICE, GDataFreebaseService)) #define GDATA_FREEBASE_SERVICE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GDATA_TYPE_FREEBASE_SERVICE, GDataFreebaseServiceClass)) @@ -78,29 +80,31 @@ typedef struct { void (*_g_reserved5) (void); } GDataFreebaseServiceClass; -GType gdata_freebase_service_get_type (void) G_GNUC_CONST; +GType gdata_freebase_service_get_type (void) G_GNUC_CONST G_GNUC_DEPRECATED; -GDataFreebaseService *gdata_freebase_service_new (const gchar *developer_key, GDataAuthorizer *authorizer) G_GNUC_WARN_UNUSED_RESULT G_GNUC_MALLOC; +GDataFreebaseService *gdata_freebase_service_new (const gchar *developer_key, GDataAuthorizer *authorizer) G_GNUC_WARN_UNUSED_RESULT G_GNUC_MALLOC G_GNUC_DEPRECATED; -GDataAuthorizationDomain *gdata_freebase_service_get_primary_authorization_domain (void) G_GNUC_CONST; +GDataAuthorizationDomain *gdata_freebase_service_get_primary_authorization_domain (void) G_GNUC_CONST G_GNUC_DEPRECATED; GDataFreebaseResult *gdata_freebase_service_query (GDataFreebaseService *self, GDataFreebaseQuery *query, - GCancellable *cancellable, GError **error) G_GNUC_WARN_UNUSED_RESULT G_GNUC_MALLOC; + GCancellable *cancellable, GError **error) G_GNUC_WARN_UNUSED_RESULT G_GNUC_MALLOC G_GNUC_DEPRECATED; void gdata_freebase_service_query_async (GDataFreebaseService *self, GDataFreebaseQuery *query, - GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); + GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data) G_GNUC_DEPRECATED; GDataFreebaseTopicResult *gdata_freebase_service_get_topic (GDataFreebaseService *self, GDataFreebaseTopicQuery *query, - GCancellable *cancellable, GError **error) G_GNUC_WARN_UNUSED_RESULT G_GNUC_MALLOC; + GCancellable *cancellable, GError **error) G_GNUC_WARN_UNUSED_RESULT G_GNUC_MALLOC G_GNUC_DEPRECATED; void gdata_freebase_service_get_topic_async (GDataFreebaseService *self, GDataFreebaseTopicQuery *query, - GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); + GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data) G_GNUC_DEPRECATED; GDataFreebaseSearchResult *gdata_freebase_service_search (GDataFreebaseService *self, GDataFreebaseSearchQuery *query, - GCancellable *cancellable, GError **error) G_GNUC_WARN_UNUSED_RESULT G_GNUC_MALLOC; + GCancellable *cancellable, GError **error) G_GNUC_WARN_UNUSED_RESULT G_GNUC_MALLOC G_GNUC_DEPRECATED; void gdata_freebase_service_search_async (GDataFreebaseService *self, GDataFreebaseSearchQuery *query, - GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); + GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data) G_GNUC_DEPRECATED; GInputStream *gdata_freebase_service_get_image (GDataFreebaseService *self, GDataFreebaseTopicValue *value, - GCancellable *cancellable, guint max_width, guint max_height, GError **error) G_GNUC_WARN_UNUSED_RESULT G_GNUC_MALLOC; + GCancellable *cancellable, guint max_width, guint max_height, GError **error) G_GNUC_WARN_UNUSED_RESULT G_GNUC_MALLOC G_GNUC_DEPRECATED; + +#endif /* !LIBGDATA_DISABLE_DEPRECATED */ G_END_DECLS |