aboutsummaryrefslogtreecommitdiffstats
path: root/src/SongFilter.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/SongFilter.hxx')
-rw-r--r--src/SongFilter.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/SongFilter.hxx b/src/SongFilter.hxx
index ca7d7bd90..f51bd85c6 100644
--- a/src/SongFilter.hxx
+++ b/src/SongFilter.hxx
@@ -26,11 +26,13 @@
#include <string>
#include <stdint.h>
+#include <time.h>
/**
* Limit the search to files within the given directory.
*/
#define LOCATE_TAG_BASE_TYPE (TAG_NUM_OF_ITEM_TYPES + 1)
+#define LOCATE_TAG_MODIFIED_SINCE (TAG_NUM_OF_ITEM_TYPES + 2)
#define LOCATE_TAG_FILE_TYPE TAG_NUM_OF_ITEM_TYPES+10
#define LOCATE_TAG_ANY_TYPE TAG_NUM_OF_ITEM_TYPES+20
@@ -51,9 +53,15 @@ public:
std::string value;
+ /**
+ * For #LOCATE_TAG_MODIFIED_SINCE
+ */
+ time_t time;
+
public:
gcc_nonnull(3)
Item(unsigned tag, const char *value, bool fold_case=false);
+ Item(unsigned tag, time_t time);
Item(const Item &other) = delete;
Item(Item &&) = default;