Commit a11eb47e authored by Pekka Vuorela's avatar Pekka Vuorela
Browse files

Add G_BEGIN/END_DECLS to remaining headers included from tracker-sparql.h

Already in some but not all.
parent 7102efbb
......@@ -29,6 +29,8 @@
#include <libtracker-sparql/tracker-resource.h>
#include <gio/gio.h>
G_BEGIN_DECLS
#define TRACKER_TYPE_BATCH tracker_batch_get_type ()
TRACKER_AVAILABLE_IN_ALL
......@@ -67,4 +69,6 @@ gboolean tracker_batch_execute_finish (TrackerBatch *batch,
GAsyncResult *res,
GError **error);
G_END_DECLS
#endif /* __TRACKER_BATCH_H__ */
......@@ -29,6 +29,8 @@
#include <libtracker-sparql/tracker-version.h>
#include <gio/gio.h>
G_BEGIN_DECLS
/**
* TrackerSparqlConnectionFlags:
* @TRACKER_SPARQL_CONNECTION_FLAGS_NONE: No flags.
......@@ -210,4 +212,6 @@ gboolean tracker_sparql_connection_close_finish (TrackerSparqlConnection *conne
GAsyncResult *res,
GError **error);
G_END_DECLS
#endif /* __TRACKER_SPARQL_CONNECTION_H__ */
......@@ -26,6 +26,8 @@
#include <gio/gio.h>
#include <libtracker-sparql/tracker-version.h>
G_BEGIN_DECLS
/**
* TrackerSparqlCursor:
*
......@@ -114,4 +116,6 @@ gboolean tracker_sparql_cursor_next_finish (TrackerSparqlCursor *cursor,
TRACKER_AVAILABLE_IN_ALL
void tracker_sparql_cursor_rewind (TrackerSparqlCursor *cursor);
G_END_DECLS
#endif /* __TRACKER_SPARQL_CURSOR_H__ */
......@@ -29,6 +29,8 @@
#include <libtracker-sparql/tracker-endpoint.h>
#include <libtracker-sparql/tracker-version.h>
G_BEGIN_DECLS
#define TRACKER_TYPE_ENDPOINT_DBUS (tracker_endpoint_dbus_get_type())
#define TRACKER_ENDPOINT_DBUS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TRACKER_TYPE_ENDPOINT_DBUS, TrackerEndpointDBus))
#define TRACKER_ENDPOINT_DBUS_CLASS(c) (G_TYPE_CHECK_CLASS_CAST ((c), TRACKER_TYPE_ENDPOINT_DBUS, TrackerEndpointDBusClass))
......@@ -57,4 +59,6 @@ tracker_endpoint_dbus_new (TrackerSparqlConnection *sparql_connection,
GCancellable *cancellable,
GError **error);
G_END_DECLS
#endif /* __TRACKER_ENDPOINT_DBUS_H__ */
......@@ -29,6 +29,8 @@
#include <libtracker-sparql/tracker-endpoint.h>
#include <libtracker-sparql/tracker-version.h>
G_BEGIN_DECLS
#define TRACKER_TYPE_ENDPOINT_HTTP (tracker_endpoint_http_get_type())
#define TRACKER_ENDPOINT_HTTP(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TRACKER_TYPE_ENDPOINT_HTTP, TrackerEndpointHttp))
#define TRACKER_ENDPOINT_HTTP_CLASS(c) (G_TYPE_CHECK_CLASS_CAST ((c), TRACKER_TYPE_ENDPOINT_HTTP, TrackerEndpointHttpClass))
......@@ -56,4 +58,6 @@ TrackerEndpointHttp * tracker_endpoint_http_new (TrackerSparqlConnection *sparq
GCancellable *cancellable,
GError **error);
G_END_DECLS
#endif /* TRACKER_ENDPOINT_HTTP_H */
......@@ -30,6 +30,8 @@
#include <libtracker-sparql/tracker-connection.h>
#include <libtracker-sparql/tracker-version.h>
G_BEGIN_DECLS
/**
* TrackerEndpoint:
*
......@@ -43,4 +45,6 @@ G_DECLARE_DERIVABLE_TYPE (TrackerEndpoint, tracker_endpoint, TRACKER, ENDPOINT,
TRACKER_AVAILABLE_IN_ALL
TrackerSparqlConnection * tracker_endpoint_get_sparql_connection (TrackerEndpoint *endpoint);
G_END_DECLS
#endif /* __TRACKER_ENDPOINT_H__ */
......@@ -24,6 +24,8 @@
#include <gio/gio.h>
#include <libtracker-sparql/tracker-version.h>
G_BEGIN_DECLS
/**
* SECTION: tracker-sparql-error
* @short_description: Error codes
......@@ -75,4 +77,6 @@ typedef enum {
TRACKER_AVAILABLE_IN_ALL
GQuark tracker_sparql_error_quark (void);
G_END_DECLS
#endif
......@@ -27,6 +27,8 @@
#include <gio/gio.h>
#include <libtracker-sparql/tracker-version.h>
G_BEGIN_DECLS
#define TRACKER_TYPE_NOTIFIER (tracker_notifier_get_type ())
#define TRACKER_TYPE_NOTIFIER_EVENT (tracker_notifier_event_get_type ())
......@@ -82,4 +84,6 @@ gint64 tracker_notifier_event_get_id (TrackerNotifierEvent *event
TRACKER_AVAILABLE_IN_ALL
const gchar * tracker_notifier_event_get_urn (TrackerNotifierEvent *event);
G_END_DECLS
#endif /* __TRACKER_NOTIFIER_H__ */
......@@ -26,6 +26,8 @@
#include <gio/gio.h>
#include <libtracker-sparql/tracker-version.h>
G_BEGIN_DECLS
/**
* TrackerSparqlStatement:
*
......@@ -88,4 +90,6 @@ TrackerSparqlCursor * tracker_sparql_statement_execute_finish (TrackerSparqlStat
TRACKER_AVAILABLE_IN_ALL
void tracker_sparql_statement_clear_bindings (TrackerSparqlStatement *stmt);
G_END_DECLS
#endif /* __TRACKER_SPARQL_STATEMENT_H__ */
......@@ -23,6 +23,8 @@
#include <gio/gio.h>
#include <libtracker-sparql/tracker-version.h>
G_BEGIN_DECLS
TRACKER_AVAILABLE_IN_ALL
gchar * tracker_sparql_escape_uri_vprintf (const gchar *format,
va_list args);
......@@ -41,4 +43,6 @@ TRACKER_AVAILABLE_IN_ALL
GFile *
tracker_sparql_get_ontology_nepomuk (void);
G_END_DECLS
#endif /* __TRACKER_UTILS_H__ */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment