Merge pull request #4911 from aws-lumberyard-dev/Prism/RefreshGemRepos

Gem Repos can be Refreshed through Project Manager
This commit is contained in:
AMZN-Phil
2021-10-22 17:23:35 -07:00
committed by GitHub
10 changed files with 204 additions and 68 deletions
@@ -176,6 +176,19 @@ namespace O3DE::ProjectManager
// Gem Repos
/**
* Refresh gem repo in the current engine.
* @param repoUri the absolute filesystem path or url to the gem repo.
* @return An outcome with the success flag as well as an error message in case of a failure.
*/
virtual AZ::Outcome<void, AZStd::string> RefreshGemRepo(const QString& repoUri) = 0;
/**
* Refresh all gem repos in the current engine.
* @return true on success, false on failure.
*/
virtual bool RefreshAllGemRepos() = 0;
/**
* Registers this gem repo with the current engine.
* @param repoUri the absolute filesystem path or url to the gem repo.