diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2020-01-08 21:38:28 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2020-02-17 18:57:46 +0100 |
commit | 01aaf69370da8f1233b8b95a7f86caee07a51dcc (patch) | |
tree | 2ac27ced7016292356b27f1b0e07b9514f2b1324 /src/libtracker-sparql/tracker-endpoint-dbus.h | |
parent | b774556ecd890f3531a6431caa627fa647593b9b (diff) | |
download | tracker-01aaf69370da8f1233b8b95a7f86caee07a51dcc.tar.gz |
libtracker-sparql: Add define to export library functions
And get rid of the map file. This allows us to selectively make API
public, so we no longer need it, nor regexps. Also, add the beginning
of TRACKER_AVAILABLE_IN_* defines, so we can help with testing minor
version changes, add deprecation warnings, etc.
So far we're heading towards 3.0, all public API started using this with
TRACKER_AVAILABLE_IN_ALL, since we're bumping major version.
Diffstat (limited to 'src/libtracker-sparql/tracker-endpoint-dbus.h')
-rw-r--r-- | src/libtracker-sparql/tracker-endpoint-dbus.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libtracker-sparql/tracker-endpoint-dbus.h b/src/libtracker-sparql/tracker-endpoint-dbus.h index d7902ca8a..300ab0b14 100644 --- a/src/libtracker-sparql/tracker-endpoint-dbus.h +++ b/src/libtracker-sparql/tracker-endpoint-dbus.h @@ -27,10 +27,13 @@ #endif #include <libtracker-sparql/tracker-endpoint.h> +#include <libtracker-sparql/tracker-version.h> #define TRACKER_TYPE_ENDPOINT_DBUS tracker_endpoint_dbus_get_type() +TRACKER_AVAILABLE_IN_ALL G_DECLARE_FINAL_TYPE (TrackerEndpointDBus, tracker_endpoint_dbus, TRACKER, ENDPOINT_DBUS, TrackerEndpoint) +TRACKER_AVAILABLE_IN_ALL TrackerEndpointDBus * tracker_endpoint_dbus_new (TrackerSparqlConnection *sparql_connection, GDBusConnection *dbus_connection, |