[tracker/wip/miner-internal-config: 2/4] libtracker-miner: Add TrackerIndexingTree



commit cd8c2eaa2140108a24a8162105453b8cfa0a2e5c
Author: Carlos Garnacho <carlos lanedo com>
Date:   Fri Jul 29 15:41:12 2011 +0200

    libtracker-miner: Add TrackerIndexingTree
    
    This object holds the parameters for the indexed directories, and
    the applying filters, so can effectively tell whether a file should
    be indexed or not.

 .../libtracker-miner/libtracker-miner-sections.txt |   26 ++++++++++++++++++++
 .../libtracker-miner/libtracker-miner.types        |    1 +
 src/libtracker-miner/Makefile.am                   |    5 +++-
 src/libtracker-miner/tracker-miner.h               |    3 ++
 4 files changed, 34 insertions(+), 1 deletions(-)
---
diff --git a/docs/reference/libtracker-miner/libtracker-miner-sections.txt b/docs/reference/libtracker-miner/libtracker-miner-sections.txt
index 4f45b74..fbd7010 100644
--- a/docs/reference/libtracker-miner/libtracker-miner-sections.txt
+++ b/docs/reference/libtracker-miner/libtracker-miner-sections.txt
@@ -196,3 +196,29 @@ TRACKER_STORAGE_CLASS
 TRACKER_IS_STORAGE_CLASS
 TRACKER_STORAGE_GET_CLASS
 </SECTION>
+
+<SECTION>
+<FILE>tracker-indexing-tree</FILE>
+<TITLE>TrackerIndexingTree</TITLE>
+TrackerIndexingTree
+TrackerIndexingTreeClass
+TrackerDirectoryFlags
+TrackerFilterType
+tracker_indexing_tree_new
+tracker_indexing_tree_add
+tracker_indexing_tree_remove
+tracker_indexing_tree_add_filter
+tracker_indexing_tree_clear_filters
+tracker_indexing_tree_file_matches_filter
+tracker_indexing_tree_file_is_indexable
+tracker_indexing_tree_parent_is_indexable
+tracker_indexing_tree_get_effective_parent
+<SUBSECTION Standard>
+TRACKER_INDEXING_TREE
+TRACKER_IS_INDEXING_TREE
+TRACKER_TYPE_INDEXING_TREE
+tracker_indexing_tree_get_type
+TRACKER_INDEXING_TREE_CLASS
+TRACKER_IS_INDEXING_TREE_CLASS
+TRACKER_INDEXING_TREE_GET_CLASS
+</SECTION>
diff --git a/docs/reference/libtracker-miner/libtracker-miner.types b/docs/reference/libtracker-miner/libtracker-miner.types
index 64a138a..b0a73b6 100644
--- a/docs/reference/libtracker-miner/libtracker-miner.types
+++ b/docs/reference/libtracker-miner/libtracker-miner.types
@@ -1,3 +1,4 @@
+tracker_indexing_tree_get_type
 tracker_miner_manager_get_type
 tracker_miner_get_type
 tracker_miner_fs_get_type
diff --git a/src/libtracker-miner/Makefile.am b/src/libtracker-miner/Makefile.am
index 17f34be..9e25acb 100644
--- a/src/libtracker-miner/Makefile.am
+++ b/src/libtracker-miner/Makefile.am
@@ -63,6 +63,8 @@ libtracker_miner_ TRACKER_API_VERSION@_la_SOURCES =    \
 	$(crawler_sources)			       \
 	$(miner_sources)			       \
 	$(private_sources)			       \
+	tracker-indexing-tree.c                        \
+	tracker-indexing-tree.h                        \
 	tracker-network-provider.c                     \
 	tracker-password-provider.c                    \
 	tracker-thumbnailer.c                          \
@@ -73,6 +75,7 @@ libtracker_miner_ TRACKER_API_VERSION@_la_SOURCES =    \
 libtracker_minerinclude_HEADERS =                      \
 	tracker-albumart.h                             \
 	tracker-crawler.h                              \
+	tracker-indexing-tree.h                        \
 	tracker-miner.h                                \
 	tracker-miner-common.h                         \
 	tracker-miner-object.h                         \
@@ -86,7 +89,7 @@ libtracker_minerinclude_HEADERS =                      \
 
 libtracker_miner_ TRACKER_API_VERSION@_la_LDFLAGS =    \
 	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
-	-export-symbols-regex '^tracker_(miner|thumbnailer|crawler|storage|password_provider|network_provider)_.*'
+	-export-symbols-regex '^tracker_(miner|thumbnailer|crawler|storage|password_provider|network_provider|indexing_tree)_.*'
 
 libtracker_miner_ TRACKER_API_VERSION@_la_LIBADD =     \
 	$(top_builddir)/src/libtracker-common/libtracker-common.la \
diff --git a/src/libtracker-miner/tracker-miner.h b/src/libtracker-miner/tracker-miner.h
index 59775c0..93a13d7 100644
--- a/src/libtracker-miner/tracker-miner.h
+++ b/src/libtracker-miner/tracker-miner.h
@@ -32,6 +32,9 @@
 #include <libtracker-miner/tracker-miner-fs.h>
 #include <libtracker-miner/tracker-miner-web.h>
 #include <libtracker-miner/tracker-miner-manager.h>
+#include <libtracker-miner/tracker-miner-enums.h>
+#include <libtracker-miner/tracker-indexing-tree.h>
+
 
 #undef __LIBTRACKER_MINER_H_INSIDE__
 



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