21 #ifndef PLAYLISTDB_WRAPPER_H 22 #define PLAYLISTDB_WRAPPER_H 24 #include "Utils/Pimpl.h" 25 #include "Utils/Playlist/CustomPlaylistFwd.h" 26 #include "Database/Playlist.h" 47 Playlist::StoreType type,
48 Playlist::SortOrder so=Playlist::SortOrder::IDAsc);
51 Playlist::SortOrder so=Playlist::SortOrder::IDAsc);
54 Playlist::SortOrder so=Playlist::SortOrder::IDAsc);
57 Playlist::SortOrder so);
60 Playlist::SortOrder so=Playlist::SortOrder::IDAsc);
63 Playlist::SortOrder so=Playlist::SortOrder::IDAsc);
66 Playlist::SortOrder so=Playlist::SortOrder::IDAsc);
71 bool rename_playlist(
int id,
const QString& new_name);
72 bool save_playlist_as(
const MetaDataList& v_md,
const QString& name);
73 bool save_playlist_temporary(
const MetaDataList& v_md,
const QString& name);
75 bool save_playlist(
const MetaDataList& v_md,
int id,
bool is_temporary);
77 bool delete_playlist(
int id);
78 bool delete_playlist(
const QString& name);
79 bool exists(
const QString& name);
84 Playlist::StoreType type,
85 Playlist::SortOrder sortorder);
88 using DBWrapperPtr=std::shared_ptr<DBWrapper>;
91 #endif // PLAYLISTDBCONNECTOR_H
DBWrapper is responsible for fetching playlist data from database, especially the handling between sk...
Definition: PlaylistDBWrapper.h:38
The CustomPlaylist class.
Definition: CustomPlaylist.h:31
Definition: org_mpris_media_player2_adaptor.h:20