1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 15:59:42 +01:00

Add isDeletable attribute to ViewPage

This commit is contained in:
Uwe L. Korn 2014-06-18 17:40:38 +01:00
parent 2a967b214f
commit a50050ce49

View File

@ -72,6 +72,14 @@ public:
virtual bool jumpToCurrentTrack() = 0;
virtual bool isTemporaryPage() const { return false; }
/**
* This page is actually a constant page that will be shown on every
* restart of Tomahawk until the user selects it to be removed.
*
* The main distinction between this and isTemporaryPage() is that the
* page will not be listed in the search history.
*/
virtual bool isDeletable() const { return false; }
virtual bool isBeingPlayed() const { return false; }
virtual QList<PlaylistUpdaterInterface*> updaters() const { return QList<PlaylistUpdaterInterface*>(); }