Commit 299c8092 authored by Max Kellermann's avatar Max Kellermann

song/Filter: convert LOCATE_TAG_* macros to enum

parent d929d0c2
...@@ -48,13 +48,16 @@ ...@@ -48,13 +48,16 @@
#define LOCATE_TAG_FILE_KEY_OLD "filename" #define LOCATE_TAG_FILE_KEY_OLD "filename"
#define LOCATE_TAG_ANY_KEY "any" #define LOCATE_TAG_ANY_KEY "any"
/** enum {
* Limit the search to files within the given directory. /**
*/ * 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) LOCATE_TAG_BASE_TYPE = TAG_NUM_OF_ITEM_TYPES + 1,
#define LOCATE_TAG_FILE_TYPE TAG_NUM_OF_ITEM_TYPES+10
#define LOCATE_TAG_ANY_TYPE TAG_NUM_OF_ITEM_TYPES+20 LOCATE_TAG_MODIFIED_SINCE,
LOCATE_TAG_FILE_TYPE,
LOCATE_TAG_ANY_TYPE,
};
/** /**
* @return #TAG_NUM_OF_ITEM_TYPES on error * @return #TAG_NUM_OF_ITEM_TYPES on error
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment