song/Filter: convert LOCATE_TAG_* macros to enum
This commit is contained in:
parent
d929d0c26f
commit
299c809272
@ -48,13 +48,16 @@
|
||||
#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
|
||||
enum {
|
||||
/**
|
||||
* Limit the search to files within the given directory.
|
||||
*/
|
||||
LOCATE_TAG_BASE_TYPE = TAG_NUM_OF_ITEM_TYPES + 1,
|
||||
|
||||
LOCATE_TAG_MODIFIED_SINCE,
|
||||
LOCATE_TAG_FILE_TYPE,
|
||||
LOCATE_TAG_ANY_TYPE,
|
||||
};
|
||||
|
||||
/**
|
||||
* @return #TAG_NUM_OF_ITEM_TYPES on error
|
||||
|
Loading…
Reference in New Issue
Block a user