Holds the state for searching artists and songs. More...
#include <state.hpp>
Public Attributes | |
| Trie | ArtistSearchTrie | 
| Trie | SongSearchTrie | 
| int | artistIndex = 0 | 
| int | songIndex = 0 | 
| string | input = "" | 
| int | albumsIndex = 0 | 
| mutex | mtx | 
Holds the state for searching artists and songs.
This structure stores the current search state, including search queries and indices for navigating through the search results for artists and songs.
| int SearchState::albumsIndex = 0 | 
Index for the current album search result
| int SearchState::artistIndex = 0 | 
Index for the current artist search result
| string SearchState::input = "" | 
The current search input
| mutex SearchState::mtx | 
Mutex for synchronizing access to search state
| int SearchState::songIndex = 0 | 
Index for the current song search result