DetachedSong: add method Update()
Don't create an intermediate Song instance when all we want is a DetachedSong.
This commit is contained in:
@@ -179,6 +179,13 @@ public:
|
||||
|
||||
gcc_pure
|
||||
double GetDuration() const;
|
||||
|
||||
/**
|
||||
* Update the #tag and #mtime.
|
||||
*
|
||||
* @return true on success
|
||||
*/
|
||||
bool Update();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user