![]() |
Sayonara Player
|
Public Types | |
| enum | CreationStatus : unsigned char { Success, AlreadyThere, NoDBTrack, DBError, OtherError } |
Public Member Functions | |
| BookmarksBase (QObject *parent) | |
| virtual CreationStatus | create (Seconds timestamp) |
| create a new bookmark for current track and current position More... | |
| virtual bool | load () |
| virtual bool | remove (int idx) |
| remove single bookmark from database for current track More... | |
| MetaData | metadata () const |
| get the current track More... | |
| void | setMetadata (const MetaData &md) |
| const QList< Bookmark > | bookmarks () const |
| void | setBookmarks (const QList< Bookmark > bookmarks) |
| int | count () |
| void | add (const Bookmark &bookmark) |
| void | clear () |
| const Bookmark & | bookmark (int idx) const |
| Bookmark & | bookmark (int idx) |
| void | sort () |
|
virtual |
create a new bookmark for current track and current position
| MetaData BookmarksBase::metadata | ( | ) | const |
get the current track
|
virtual |
remove single bookmark from database for current track
| idx | index |
Reimplemented in Bookmarks.
1.8.15