aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/plugins/simple/Song.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-28 12:49:29 +0200
committerMax Kellermann <max@duempel.org>2014-08-28 13:03:18 +0200
commit888ab0c89c154b4bb30b626734ce6a14c42a8ed5 (patch)
treec7fcfd27986983966b3639fa684c0fcdf36501c7 /src/db/plugins/simple/Song.hxx
parent2efd8ef52ddf880c26d48bcb55eb1fd4c830481a (diff)
downloadmpd-888ab0c89c154b4bb30b626734ce6a14c42a8ed5.tar.gz
mpd-888ab0c89c154b4bb30b626734ce6a14c42a8ed5.tar.xz
mpd-888ab0c89c154b4bb30b626734ce6a14c42a8ed5.zip
db/simple/Song: use std::chrono::duration for start_ms and end_ms
Diffstat (limited to 'src/db/plugins/simple/Song.hxx')
-rw-r--r--src/db/plugins/simple/Song.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/db/plugins/simple/Song.hxx b/src/db/plugins/simple/Song.hxx
index b2e85aa6b..9f3a4a3ef 100644
--- a/src/db/plugins/simple/Song.hxx
+++ b/src/db/plugins/simple/Song.hxx
@@ -20,6 +20,7 @@
#ifndef MPD_SONG_HXX
#define MPD_SONG_HXX
+#include "Chrono.hxx"
#include "tag/Tag.hxx"
#include "Compiler.h"
@@ -71,15 +72,15 @@ struct Song {
time_t mtime;
/**
- * Start of this sub-song within the file in milliseconds.
+ * Start of this sub-song within the file.
*/
- unsigned start_ms;
+ SongTime start_time;
/**
- * End of this sub-song within the file in milliseconds.
+ * End of this sub-song within the file.
* Unused if zero.
*/
- unsigned end_ms;
+ SongTime end_time;
/**
* The file name.