 |
Sayonara Player
|
21 #ifndef BOOKMARKSBASE_H
22 #define BOOKMARKSBASE_H
24 #include "Utils/Pimpl.h"
37 enum class CreationStatus : unsigned char
53 virtual CreationStatus
create(Seconds timestamp);
62 virtual bool remove(
int idx);
69 void set_metadata(
const MetaData& md);
78 const Bookmark& bookmark(
int idx)
const;
84 #endif // BOOKMARKSBASE_H
virtual CreationStatus create(Seconds timestamp)
create a new bookmark for current track and current position
MetaData metadata() const
get the current track
Definition: EngineUtils.h:33
Definition: BookmarksBase.h:30
Definition: Bookmark.h:31
virtual bool remove(int idx)
remove single bookmark from database for current track