summaryrefslogtreecommitdiff
path: root/src/DetachedSong.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/DetachedSong.hxx')
-rw-r--r--src/DetachedSong.hxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/DetachedSong.hxx b/src/DetachedSong.hxx
index 0d1393fbf..52ea19926 100644
--- a/src/DetachedSong.hxx
+++ b/src/DetachedSong.hxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2014 The Music Player Daemon Project
+ * Copyright (C) 2003-2015 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -32,9 +32,9 @@
struct LightSong;
class Storage;
+class Path;
class DetachedSong {
- friend DetachedSong map_song_detach(const LightSong &song);
friend DetachedSong DatabaseDetachSong(const Storage &db,
const LightSong &song);
@@ -229,6 +229,11 @@ public:
* @return true on success
*/
bool Update();
+
+ /**
+ * Load #tag and #mtime from a local file.
+ */
+ bool LoadFile(Path path);
};
#endif