[Emulator] Added summary window to Install Content option

This commit is contained in:
Gliniak
2024-06-26 13:06:53 +02:00
committed by Radosław Gliński
parent d6767dcd66
commit 49166f0bd1
4 changed files with 111 additions and 11 deletions

View File

@@ -223,8 +223,15 @@ class Emulator {
X_STATUS LaunchDefaultModule(const std::filesystem::path& path);
struct ContentInstallationInfo {
XContentType content_type;
std::string installation_path;
std::string content_name;
};
// Extract content of package to content specific directory.
X_STATUS InstallContentPackage(const std::filesystem::path& path);
X_STATUS InstallContentPackage(const std::filesystem::path& path,
ContentInstallationInfo& installation_info);
// Extract content of zar package to desired directory.
X_STATUS Emulator::ExtractZarchivePackage(