diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2012-09-04 18:14:37 +0200 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2012-09-04 18:14:37 +0200 |
commit | bb121fbe01af59d274ca453c86b3276f9895c5be (patch) | |
tree | 27f1d0b3e38c4f5f03797eb1bdf32ea691fde76d /src/playlist_editor.h | |
parent | 60ca9de919372023b64b79cdae5242d348673081 (diff) |
make playlist and playlist editor share code responsible for moving items
Diffstat (limited to 'src/playlist_editor.h')
-rw-r--r-- | src/playlist_editor.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/playlist_editor.h b/src/playlist_editor.h index 9c84480c..05c401a2 100644 --- a/src/playlist_editor.h +++ b/src/playlist_editor.h @@ -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; |