diff --git a/src/SongFilter.cxx b/src/SongFilter.cxx index c660870b2..7adabade1 100644 --- a/src/SongFilter.cxx +++ b/src/SongFilter.cxx @@ -44,6 +44,14 @@ #define LOCATE_TAG_FILE_KEY_OLD "filename" #define LOCATE_TAG_ANY_KEY "any" +/** + * 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 + /** * @return #TAG_NUM_OF_ITEM_TYPES on error */ diff --git a/src/SongFilter.hxx b/src/SongFilter.hxx index 3d6963ed8..eaea2e2f4 100644 --- a/src/SongFilter.hxx +++ b/src/SongFilter.hxx @@ -30,20 +30,11 @@ #include -/** - * 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) - /** * Special value for the db_selection_print() sort parameter. */ #define SORT_TAG_LAST_MODIFIED (TAG_NUM_OF_ITEM_TYPES + 3) -#define LOCATE_TAG_FILE_TYPE TAG_NUM_OF_ITEM_TYPES+10 -#define LOCATE_TAG_ANY_TYPE TAG_NUM_OF_ITEM_TYPES+20 - template struct ConstBuffer; enum TagType : uint8_t; struct Tag;