|
Packit |
4b6dd7 |
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
|
|
Packit |
4b6dd7 |
/*
|
|
Packit |
4b6dd7 |
* GData Client
|
|
Packit |
4b6dd7 |
* Copyright (C) 2014 Carlos Garnacho <carlosg@gnome.org>
|
|
Packit |
4b6dd7 |
*
|
|
Packit |
4b6dd7 |
* GData Client is free software; you can redistribute it and/or
|
|
Packit |
4b6dd7 |
* modify it under the terms of the GNU Lesser General Public
|
|
Packit |
4b6dd7 |
* License as published by the Free Software Foundation; either
|
|
Packit |
4b6dd7 |
* version 2.1 of the License, or (at your option) any later version.
|
|
Packit |
4b6dd7 |
*
|
|
Packit |
4b6dd7 |
* GData Client is distributed in the hope that it will be useful,
|
|
Packit |
4b6dd7 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
4b6dd7 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
4b6dd7 |
* Lesser General Public License for more details.
|
|
Packit |
4b6dd7 |
*
|
|
Packit |
4b6dd7 |
* You should have received a copy of the GNU Lesser General Public
|
|
Packit |
4b6dd7 |
* License along with GData Client. If not, see <http://www.gnu.org/licenses/>.
|
|
Packit |
4b6dd7 |
*/
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
#ifndef GDATA_FREEBASE_TOPIC_RESULT_H
|
|
Packit |
4b6dd7 |
#define GDATA_FREEBASE_TOPIC_RESULT_H
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
#include <glib.h>
|
|
Packit |
4b6dd7 |
#include <glib-object.h>
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
#include <gdata/gdata-types.h>
|
|
Packit |
4b6dd7 |
#include "gdata-freebase-result.h"
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
G_BEGIN_DECLS
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
#ifndef LIBGDATA_DISABLE_DEPRECATED
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
#define GDATA_TYPE_FREEBASE_TOPIC_OBJECT (gdata_freebase_topic_object_get_type ())
|
|
Packit |
4b6dd7 |
#define GDATA_TYPE_FREEBASE_TOPIC_VALUE (gdata_freebase_topic_value_get_type ())
|
|
Packit |
4b6dd7 |
#define GDATA_TYPE_FREEBASE_TOPIC_RESULT (gdata_freebase_topic_result_get_type ())
|
|
Packit |
4b6dd7 |
#define GDATA_FREEBASE_TOPIC_RESULT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GDATA_TYPE_FREEBASE_TOPIC_RESULT, GDataFreebaseTopicResult))
|
|
Packit |
4b6dd7 |
#define GDATA_FREEBASE_TOPIC_RESULT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GDATA_TYPE_FREEBASE_TOPIC_RESULT, GDataFreebaseTopicResultClass))
|
|
Packit |
4b6dd7 |
#define GDATA_IS_FREEBASE_TOPIC_RESULT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GDATA_TYPE_FREEBASE_TOPIC_RESULT))
|
|
Packit |
4b6dd7 |
#define GDATA_IS_FREEBASE_TOPIC_RESULT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GDATA_TYPE_FREEBASE_TOPIC_RESULT))
|
|
Packit |
4b6dd7 |
#define GDATA_FREEBASE_TOPIC_RESULT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GDATA_TYPE_FREEBASE_TOPIC_RESULT, GDataFreebaseTopicResultClass))
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
typedef struct _GDataFreebaseTopicResultPrivate GDataFreebaseTopicResultPrivate;
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
/**
|
|
Packit |
4b6dd7 |
* GDataFreebaseTopicObject:
|
|
Packit |
4b6dd7 |
*
|
|
Packit |
4b6dd7 |
* Opaque struct containing a Freebase topic object. This object may contain one or more
|
|
Packit |
4b6dd7 |
* #GDataFreebaseTopicValue structs, which may in turn contain nested #GDataFreebaseTopicObject
|
|
Packit |
4b6dd7 |
* structs to express complex data.
|
|
Packit |
4b6dd7 |
*
|
|
Packit |
4b6dd7 |
* Since: 0.15.1
|
|
Packit |
4b6dd7 |
*/
|
|
Packit |
4b6dd7 |
typedef struct _GDataFreebaseTopicObject GDataFreebaseTopicObject;
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
/**
|
|
Packit |
4b6dd7 |
* GDataFreebaseTopicValue:
|
|
Packit |
4b6dd7 |
*
|
|
Packit |
4b6dd7 |
* Opaque struct containing a value of a Freebase topic object. This struct may contain a simple
|
|
Packit |
4b6dd7 |
* value (integers, doubles, strings...) or complex values, expressed through a #GDataFreebaseTopicObject.
|
|
Packit |
4b6dd7 |
*
|
|
Packit |
4b6dd7 |
* Since: 0.15.1
|
|
Packit |
4b6dd7 |
*/
|
|
Packit |
4b6dd7 |
typedef struct _GDataFreebaseTopicValue GDataFreebaseTopicValue;
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
/**
|
|
Packit |
4b6dd7 |
* GDataFreebaseTopicResult:
|
|
Packit |
4b6dd7 |
*
|
|
Packit |
4b6dd7 |
* All the fields in the #GDataFreebaseTopicResult structure are private and should never be accessed directly.
|
|
Packit |
4b6dd7 |
*
|
|
Packit |
4b6dd7 |
* Since: 0.15.1
|
|
Packit |
4b6dd7 |
*/
|
|
Packit |
4b6dd7 |
typedef struct {
|
|
Packit |
4b6dd7 |
GDataFreebaseResult parent;
|
|
Packit |
4b6dd7 |
GDataFreebaseTopicResultPrivate *priv;
|
|
Packit |
4b6dd7 |
} GDataFreebaseTopicResult;
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
/**
|
|
Packit |
4b6dd7 |
* GDataFreebaseTopicResultClass:
|
|
Packit |
4b6dd7 |
*
|
|
Packit |
4b6dd7 |
* All the fields in the #GDataFreebaseTopicResultClass structure are private and should never be accessed directly.
|
|
Packit |
4b6dd7 |
*
|
|
Packit |
4b6dd7 |
* Since: 0.15.1
|
|
Packit |
4b6dd7 |
*/
|
|
Packit |
4b6dd7 |
typedef struct {
|
|
Packit |
4b6dd7 |
/*< private >*/
|
|
Packit |
4b6dd7 |
GDataFreebaseResultClass parent;
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
/*< private >*/
|
|
Packit |
4b6dd7 |
/* Padding for future expansion */
|
|
Packit |
4b6dd7 |
void (*_g_reserved0) (void);
|
|
Packit |
4b6dd7 |
void (*_g_reserved1) (void);
|
|
Packit |
4b6dd7 |
} GDataFreebaseTopicResultClass;
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
GType gdata_freebase_topic_object_get_type (void) G_GNUC_CONST G_GNUC_DEPRECATED;
|
|
Packit |
4b6dd7 |
GType gdata_freebase_topic_value_get_type (void) G_GNUC_CONST G_GNUC_DEPRECATED;
|
|
Packit |
4b6dd7 |
GType gdata_freebase_topic_result_get_type (void) G_GNUC_CONST G_GNUC_DEPRECATED;
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
GDataFreebaseTopicResult *gdata_freebase_topic_result_new (void) G_GNUC_WARN_UNUSED_RESULT G_GNUC_MALLOC G_GNUC_DEPRECATED;
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
GDataFreebaseTopicObject *gdata_freebase_topic_result_dup_object (GDataFreebaseTopicResult *self) G_GNUC_DEPRECATED;
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
GDataFreebaseTopicObject *gdata_freebase_topic_object_ref (GDataFreebaseTopicObject *object) G_GNUC_DEPRECATED;
|
|
Packit |
4b6dd7 |
void gdata_freebase_topic_object_unref (GDataFreebaseTopicObject *object) G_GNUC_DEPRECATED;
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
GPtrArray *gdata_freebase_topic_object_list_properties (const GDataFreebaseTopicObject *object) G_GNUC_DEPRECATED;
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
const gchar *gdata_freebase_topic_object_get_id (const GDataFreebaseTopicObject *object) G_GNUC_DEPRECATED;
|
|
Packit |
4b6dd7 |
guint64 gdata_freebase_topic_object_get_property_count (const GDataFreebaseTopicObject *object, const gchar *property) G_GNUC_DEPRECATED;
|
|
Packit |
4b6dd7 |
guint64 gdata_freebase_topic_object_get_property_hits (const GDataFreebaseTopicObject *object, const gchar *property) G_GNUC_DEPRECATED;
|
|
Packit |
4b6dd7 |
GDataFreebaseTopicValue *gdata_freebase_topic_object_get_property_value (const GDataFreebaseTopicObject *object, const gchar *property, gint64 item) G_GNUC_DEPRECATED;
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
GDataFreebaseTopicValue *gdata_freebase_topic_value_ref (GDataFreebaseTopicValue *value) G_GNUC_DEPRECATED;
|
|
Packit |
4b6dd7 |
void gdata_freebase_topic_value_unref (GDataFreebaseTopicValue *value) G_GNUC_DEPRECATED;
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
const gchar *gdata_freebase_topic_value_get_property (GDataFreebaseTopicValue *value) G_GNUC_DEPRECATED;
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
const gchar *gdata_freebase_topic_value_get_text (GDataFreebaseTopicValue *value) G_GNUC_DEPRECATED;
|
|
Packit |
4b6dd7 |
const gchar *gdata_freebase_topic_value_get_language (GDataFreebaseTopicValue *value) G_GNUC_DEPRECATED;
|
|
Packit |
4b6dd7 |
const gchar *gdata_freebase_topic_value_get_creator (GDataFreebaseTopicValue *value) G_GNUC_DEPRECATED;
|
|
Packit |
4b6dd7 |
gint64 gdata_freebase_topic_value_get_timestamp (GDataFreebaseTopicValue *value) G_GNUC_DEPRECATED;
|
|
Packit |
4b6dd7 |
GType gdata_freebase_topic_value_get_value_type (GDataFreebaseTopicValue *value) G_GNUC_DEPRECATED;
|
|
Packit |
4b6dd7 |
void gdata_freebase_topic_value_copy_value (GDataFreebaseTopicValue *value, GValue *gvalue) G_GNUC_DEPRECATED;
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gint64 gdata_freebase_topic_value_get_int (GDataFreebaseTopicValue *value) G_GNUC_DEPRECATED;
|
|
Packit |
4b6dd7 |
gdouble gdata_freebase_topic_value_get_double (GDataFreebaseTopicValue *value) G_GNUC_DEPRECATED;
|
|
Packit |
4b6dd7 |
const gchar *gdata_freebase_topic_value_get_string (GDataFreebaseTopicValue *value) G_GNUC_DEPRECATED;
|
|
Packit |
4b6dd7 |
const GDataFreebaseTopicObject *gdata_freebase_topic_value_get_object (GDataFreebaseTopicValue *value) G_GNUC_DEPRECATED;
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
gboolean gdata_freebase_topic_value_is_image (GDataFreebaseTopicValue *value) G_GNUC_DEPRECATED;
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
#endif /* !LIBGDATA_DISABLE_DEPRECATED */
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
G_END_DECLS
|
|
Packit |
4b6dd7 |
|
|
Packit |
4b6dd7 |
#endif /* !GDATA_FREEBASE_TOPIC_RESULT_H */
|