// SPDX-License-Identifier: GPL-2.0-or-later // Copyright The Music Player Daemon Project #ifndef MPD_MODIFIED_SINCE_SONG_FILTER_HXX #define MPD_MODIFIED_SINCE_SONG_FILTER_HXX #include "ISongFilter.hxx" #include class ModifiedSinceSongFilter final : public ISongFilter { std::chrono::system_clock::time_point value; public: explicit ModifiedSinceSongFilter(std::chrono::system_clock::time_point _value) noexcept :value(_value) {} ISongFilterPtr Clone() const noexcept override { return std::make_unique(*this); } std::string ToExpression() const noexcept override; bool Match(const LightSong &song) const noexcept override; }; #endif