diff options
author | Jean-Francois Dockes <jf@dockes.org> | 2013-10-29 20:47:52 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-29 20:47:52 +0100 |
commit | 2d11c6ab29b2d990121dfed43b6d887280dced33 (patch) | |
tree | 98eba07244cfc55a14a96dd223ea79416d4bbc50 | |
parent | 6859c22b692f153c6f860c0336dd686f94a11c08 (diff) | |
download | mpd-2d11c6ab29b2d990121dfed43b6d887280dced33.tar.gz mpd-2d11c6ab29b2d990121dfed43b6d887280dced33.tar.xz mpd-2d11c6ab29b2d990121dfed43b6d887280dced33.zip |
SongFilter: make SongFilter::Item class definition public
-rw-r--r-- | src/SongFilter.hxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/SongFilter.hxx b/src/SongFilter.hxx index 495b8f888..6f77ecc7e 100644 --- a/src/SongFilter.hxx +++ b/src/SongFilter.hxx @@ -35,6 +35,7 @@ struct TagItem; struct Song; class SongFilter { +public: class Item { uint8_t tag; @@ -55,6 +56,10 @@ class SongFilter { return tag; } + const std::string &GetValue() const { + return value; + } + gcc_pure gcc_nonnull(2) bool StringMatch(const char *s) const; @@ -68,6 +73,7 @@ class SongFilter { bool Match(const Song &song) const; }; +private: std::list<Item> items; public: @@ -89,6 +95,10 @@ public: gcc_pure bool Match(const Song &song) const; + + const std::list<Item> &GetItems() const { + return items; + } }; /** |