23 #ifndef PLAYLISTDB_WRAPPER_H 24 #define PLAYLISTDB_WRAPPER_H 26 #include "Helper/MetaData/MetaData.h" 27 #include "Database/DatabasePlaylist.h" 47 DatabasePlaylist::PlaylistChooserType type,
48 SortOrderPlaylists sortorder);
50 bool extract_stream(
CustomPlaylist& pl, QString name, QString url);
58 DatabasePlaylist::PlaylistChooserType type,
59 SortOrderPlaylists so=SortOrderPlaylists::IDAsc);
62 SortOrderPlaylists so=SortOrderPlaylists::IDAsc);
65 SortOrderPlaylists so=SortOrderPlaylists::IDAsc);
68 SortOrderPlaylists so=SortOrderPlaylists::IDAsc);
71 SortOrderPlaylists so=SortOrderPlaylists::IDAsc);
74 SortOrderPlaylists so=SortOrderPlaylists::IDAsc);
77 SortOrderPlaylists so=SortOrderPlaylists::IDAsc);
82 bool rename_playlist(
int id,
const QString& new_name);
83 bool save_playlist_as(
const MetaDataList& v_md,
const QString& name);
84 bool save_playlist_temporary(
const MetaDataList& v_md,
const QString& name);
86 bool save_playlist(
const MetaDataList& v_md,
int id,
bool is_temporary);
88 bool delete_playlist(
int id);
89 bool delete_playlist(
const QString& name);
90 bool exists(
const QString& name);
93 #endif // PLAYLISTDBCONNECTOR_H Definition: DatabaseConnector.h:40
PlaylistDBWrapper is responsible for fetching playlist data from database, especially the handling be...
Definition: PlaylistDBWrapper.h:37
The CustomPlaylist class.
Definition: CustomPlaylist.h:50