make playlist and playlist editor share code responsible for moving items
This commit is contained in:
@@ -63,6 +63,9 @@ class PlaylistEditor : public Screen<NC::Window>, public Filterable, public HasS
|
||||
|
||||
void MoveSelectedItems(Playlist::Movement where);
|
||||
|
||||
void requestPlaylistsUpdate() { playlistsUpdateRequested = true; }
|
||||
void requestContentsUpdate() { contentUpdateRequested = true; }
|
||||
|
||||
bool isContentFiltered();
|
||||
bool isNextColumnAvailable();
|
||||
bool NextColumn();
|
||||
@@ -78,6 +81,9 @@ class PlaylistEditor : public Screen<NC::Window>, public Filterable, public HasS
|
||||
|
||||
private:
|
||||
void AddToPlaylist(bool);
|
||||
|
||||
bool playlistsUpdateRequested;
|
||||
bool contentUpdateRequested;
|
||||
};
|
||||
|
||||
extern PlaylistEditor *myPlaylistEditor;
|
||||
|
||||
Reference in New Issue
Block a user