diff options
author | Andrzej Rybczak <electricityispower@gmail.com> | 2015-05-17 18:10:42 +0200 |
---|---|---|
committer | Andrzej Rybczak <electricityispower@gmail.com> | 2015-05-17 21:51:15 +0200 |
commit | 2caf08aaa783cfabf54212bcb0197afc1db24440 (patch) | |
tree | 7d3f23002bbf502b2f0b804660616b7553ea1ae7 /src/playlist_editor.h | |
parent | c68631b2f080257108f979295fc6a5e2d58304d6 (diff) |
split PressSpace action into modular pieces
Diffstat (limited to 'src/playlist_editor.h')
-rw-r--r-- | src/playlist_editor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/playlist_editor.h b/src/playlist_editor.h index 16f7043d..92583c9e 100644 --- a/src/playlist_editor.h +++ b/src/playlist_editor.h @@ -44,7 +44,6 @@ struct PlaylistEditor: Screen<NC::Window *>, HasColumns, HasSongs, Searchable, T virtual int windowTimeout() OVERRIDE; virtual void enterPressed() OVERRIDE; - virtual void spacePressed() OVERRIDE; virtual void mouseButtonPressed(MEVENT me) OVERRIDE; virtual bool isLockable() OVERRIDE { return true; } @@ -57,6 +56,7 @@ struct PlaylistEditor: Screen<NC::Window *>, HasColumns, HasSongs, Searchable, T virtual bool find(SearchDirection direction, bool wrap, bool skip_current) OVERRIDE; // HasSongs implementation + virtual bool addItemToPlaylist() OVERRIDE; virtual std::vector<MPD::Song> getSelectedSongs() OVERRIDE; // HasColumns implementation @@ -78,7 +78,7 @@ struct PlaylistEditor: Screen<NC::Window *>, HasColumns, HasSongs, Searchable, T SongMenu Content; private: - void AddToPlaylist(bool); + bool addItemToPlaylist(bool play); bool m_playlists_update_requested; bool m_content_update_requested; |