From 13f91aa1959ef18410ea5b8afdede13ba128bbdd Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Fri, 15 Mar 2024 21:29:14 +1100 Subject: Songbook search improvements --- source/frontend/StarSongbookInterface.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/frontend/StarSongbookInterface.hpp') 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); }; } -- cgit v1.2.3