aboutsummaryrefslogtreecommitdiffstats
path: root/src/Song.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-18 19:24:55 +0100
committerMax Kellermann <max@duempel.org>2014-01-18 19:24:55 +0100
commitbc966577ffb2354f44ebb85ceb83b188bb6907b6 (patch)
tree9a3cf69e7521fb112270818ff8668d312ffc3e28 /src/Song.hxx
parentfdf4dff561d637ac7ea29b4438663870bb97839b (diff)
downloadmpd-bc966577ffb2354f44ebb85ceb83b188bb6907b6.tar.gz
mpd-bc966577ffb2354f44ebb85ceb83b188bb6907b6.tar.xz
mpd-bc966577ffb2354f44ebb85ceb83b188bb6907b6.zip
Song: use the VarSize library
Diffstat (limited to 'src/Song.hxx')
-rw-r--r--src/Song.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Song.hxx b/src/Song.hxx
index d3f762df4..2dadd85cb 100644
--- a/src/Song.hxx
+++ b/src/Song.hxx
@@ -77,6 +77,9 @@ struct Song {
*/
char uri[sizeof(int)];
+ Song(const char *_uri, size_t uri_length, Directory *parent);
+ ~Song();
+
gcc_malloc
static Song *NewFrom(DetachedSong &&other, Directory *parent);