diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-03-15 21:29:14 +1100 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-03-15 21:29:14 +1100 |
commit | 13f91aa1959ef18410ea5b8afdede13ba128bbdd (patch) | |
tree | 8e4be3db0845d5982a447c490f736ff2bca3cdc0 /source/frontend/StarSongbookInterface.hpp | |
parent | 6fa0afd758a6351873df813cd7e70b1904714ed6 (diff) |
Songbook search improvements
Diffstat (limited to 'source/frontend/StarSongbookInterface.hpp')
-rw-r--r-- | source/frontend/StarSongbookInterface.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/frontend/StarSongbookInterface.hpp b/source/frontend/StarSongbookInterface.hpp index f8a6cb2..a32ef59 100644 --- a/source/frontend/StarSongbookInterface.hpp +++ b/source/frontend/StarSongbookInterface.hpp @@ -2,6 +2,7 @@ #include "StarSongbook.hpp" #include "StarPane.hpp" +#include "StarListener.hpp" namespace Star { @@ -18,8 +19,10 @@ public: private: PlayerPtr m_player; StringList m_files; - String m_searchValue; + String m_lastSearch; + CallbackListenerPtr m_reloadListener; bool play(); + void refresh(bool reloadFiles = false); }; } |