![]() |
Sayonara Player
|
#include <PlaylistDBInterface.h>
The PlaylistDBInterface class.
Public Types | |
enum | SaveAsAnswer : quint8 { Success =0, AlreadyThere, ExternTracksError, Error } |
Public Member Functions | |
PlaylistDBInterface (const QString &name) | |
int | get_id () const |
void | set_id (int db_id) |
QString | get_name () const |
void | set_name (const QString &name) |
bool | is_temporary () const |
void | set_temporary (bool b) |
bool | insert_temporary_into_db () |
SaveAsAnswer | save () |
SaveAsAnswer | save_as (const QString &str, bool force_override) |
SaveAsAnswer | rename (const QString &str) |
bool | delete_playlist () |
bool | remove_from_db () |
virtual const MetaDataList & | get_playlist () const =0 |
virtual int | get_count () const =0 |
virtual bool | is_empty () const =0 |
virtual void | set_changed (bool b)=0 |
virtual bool | was_changed () const =0 |
virtual bool | is_storable () const =0 |
Static Public Member Functions | |
static QString | request_new_db_name () |