GameList: Support caching entries

This commit is contained in:
Connor McLaughlin
2020-01-08 13:37:43 +10:00
parent e0086156ca
commit c03c1451fe
5 changed files with 298 additions and 63 deletions

View File

@@ -41,8 +41,7 @@ public:
const GameList* getGameList() const { return m_game_list.get(); }
GameList* getGameList() { return m_game_list.get(); }
void updateGameListDatabase(bool refresh_list = true);
void refreshGameList(bool invalidate_cache = false);
void refreshGameList(bool invalidate_cache = false, bool invalidate_database = false);
bool isOnWorkerThread() const { return QThread::currentThread() == m_worker_thread; }