[tracker-miners/wip/carlosg/tracker-3.0-api-breaks: 36/40] Add constants that were removed from tracker.git



commit 92ea435fd2ba3243cee6d5d6f5fc1ca658ca2551
Author: Sam Thursfield <sam afuera me uk>
Date:   Mon Jan 27 21:17:26 2020 +0100

    Add constants that were removed from tracker.git

 src/libtracker-miner/tracker-decorator-fs.c | 1 +
 src/libtracker-miner/tracker-miner-fs.h     | 8 ++++++++
 src/miners/fs/tracker-miner-files.c         | 1 +
 3 files changed, 10 insertions(+)
---
diff --git a/src/libtracker-miner/tracker-decorator-fs.c b/src/libtracker-miner/tracker-decorator-fs.c
index f5c93efe3..3d76c48f5 100644
--- a/src/libtracker-miner/tracker-decorator-fs.c
+++ b/src/libtracker-miner/tracker-decorator-fs.c
@@ -25,6 +25,7 @@
 
 #include "tracker-decorator-private.h"
 #include "tracker-decorator-fs.h"
+#include "tracker-miner-fs.h"
 
 /**
  * SECTION:tracker-decorator-fs
diff --git a/src/libtracker-miner/tracker-miner-fs.h b/src/libtracker-miner/tracker-miner-fs.h
index d4398af3c..3fdb67414 100644
--- a/src/libtracker-miner/tracker-miner-fs.h
+++ b/src/libtracker-miner/tracker-miner-fs.h
@@ -35,6 +35,14 @@
 
 G_BEGIN_DECLS
 
+#define TRACKER_PREFIX_DATASOURCE_URN \
+       "urn:nepomuk:datasource:"
+
+#define TRACKER_DATASOURCE_URN_NON_REMOVABLE_MEDIA \
+        TRACKER_PREFIX_DATASOURCE_URN "9291a450-1d49-11de-8c30-0800200c9a66"
+
+#define TRACKER_OWN_GRAPH_URN "urn:uuid:472ed0cc-40ff-4e37-9c0c-062d78656540"
+
 #define TRACKER_TYPE_MINER_FS         (tracker_miner_fs_get_type())
 #define TRACKER_MINER_FS(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), TRACKER_TYPE_MINER_FS, 
TrackerMinerFS))
 #define TRACKER_MINER_FS_CLASS(c)     (G_TYPE_CHECK_CLASS_CAST ((c), TRACKER_TYPE_MINER_FS, 
TrackerMinerFSClass))
diff --git a/src/miners/fs/tracker-miner-files.c b/src/miners/fs/tracker-miner-files.c
index a9b53c3d7..99c27c07f 100644
--- a/src/miners/fs/tracker-miner-files.c
+++ b/src/miners/fs/tracker-miner-files.c
@@ -37,6 +37,7 @@
 #include <libtracker-miners-common/tracker-common.h>
 #include <libtracker-sparql/tracker-ontologies.h>
 #include <libtracker-extract/tracker-extract.h>
+#include <libtracker-miner/tracker-miner.h>
 
 #include "tracker-power.h"
 #include "tracker-miner-files.h"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]