game_list: Mark games as favorite to make them appear at the top.

Icons are from Icons8.
This commit is contained in:
Kewlan
2021-04-10 11:09:01 +02:00
parent 62a8505345
commit fd40d55a4f
15 changed files with 152 additions and 5 deletions

View File

@ -112,10 +112,15 @@ private:
void RefreshGameDirectory();
void ToggleFavorite(u64 program_id);
void AddFavorite(u64 program_id);
void RemoveFavorite(u64 program_id);
void PopupContextMenu(const QPoint& menu_location);
void AddGamePopup(QMenu& context_menu, u64 program_id, const std::string& path);
void AddCustomDirPopup(QMenu& context_menu, QModelIndex selected);
void AddPermDirPopup(QMenu& context_menu, QModelIndex selected);
void AddFavoritesPopup(QMenu& context_menu);
std::shared_ptr<FileSys::VfsFilesystem> vfs;
FileSys::ManualContentProvider* provider;