tag: convert to C++

This commit is contained in:
Max Kellermann
2013-07-30 20:11:57 +02:00
parent 6a9ab8bc0e
commit 06f898cc12
105 changed files with 711 additions and 723 deletions

View File

@@ -29,8 +29,8 @@
#define LOCATE_TAG_FILE_TYPE TAG_NUM_OF_ITEM_TYPES+10
#define LOCATE_TAG_ANY_TYPE TAG_NUM_OF_ITEM_TYPES+20
struct tag;
struct tag_item;
struct Tag;
struct TagItem;
struct Song;
class SongFilter {
@@ -65,10 +65,10 @@ class SongFilter {
bool StringMatch(const char *s) const;
gcc_pure
bool Match(const tag_item &tag_item) const;
bool Match(const TagItem &tag_item) const;
gcc_pure
bool Match(const struct tag &tag) const;
bool Match(const Tag &tag) const;
gcc_pure
bool Match(const Song &song) const;
@@ -91,7 +91,7 @@ public:
bool Parse(unsigned argc, char *argv[], bool fold_case=false);
gcc_pure
bool Match(const tag &tag) const;
bool Match(const Tag &tag) const;
gcc_pure
bool Match(const Song &song) const;