aboutsummaryrefslogtreecommitdiffstats
path: root/src/SongFilter.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/SongFilter.hxx14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/SongFilter.hxx b/src/SongFilter.hxx
index b15127c07..74d7187c9 100644
--- a/src/SongFilter.hxx
+++ b/src/SongFilter.hxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2013 The Music Player Daemon Project
+ * Copyright (C) 2003-2014 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -38,6 +38,8 @@
struct Tag;
struct TagItem;
struct Song;
+struct LightSong;
+class DetachedSong;
class SongFilter {
public:
@@ -79,7 +81,10 @@ public:
bool Match(const Tag &tag) const;
gcc_pure
- bool Match(const Song &song) const;
+ bool Match(const DetachedSong &song) const;
+
+ gcc_pure
+ bool Match(const LightSong &song) const;
};
private:
@@ -103,7 +108,10 @@ public:
bool Match(const Tag &tag) const;
gcc_pure
- bool Match(const Song &song) const;
+ bool Match(const DetachedSong &song) const;
+
+ gcc_pure
+ bool Match(const LightSong &song) const;
const std::list<Item> &GetItems() const {
return items;