24 #include "Components/PlayManager/PlayState.h" 25 #include "Helper/Pimpl.h" 64 explicit Bookmarks(QObject *parent=
nullptr);
74 enum class CreationStatus : quint8
87 Bookmarks::CreationStatus
create();
113 bool remove(
int idx);
130 int get_size()
const;
138 void pos_changed_ms(quint64 pos);
144 void track_changed(
const MetaData& md);
163 void reload_bookmarks();
168 void sort_bookmarks();
171 #endif // BOOKMARKS_H Definition: Bookmark.h:32
QList< Bookmark > get_all_bookmarks() const
fetch all bookmarks for current track
bool jump_prev()
Jump to previous bookmark.
bool jump_next()
Jump to next bookmark.
MetaData get_cur_track() const
get the current played track
void sig_prev_changed(const Bookmark &bm)
previous bookmark has changed
bool jump_to(int idx)
Jump to specific bookmark.
bool set_loop(bool b)
tries to set the loop between the current two indices
void sig_next_changed(const Bookmark &bm)
next bookmark has changed
void sig_bookmarks_changed()
emitted when bookmarks have changed
Bookmarks::CreationStatus create()
create a new bookmark for current track and current position
The Bookmarks logic class.
Definition: Bookmarks.h:37
Definition: org_mpris_media_player2_adaptor.h:20
PlayState
The PlayState enum.
Definition: PlayState.h:30