ncm: first pass at ContentManagerImpl refactor (missing the IntegratedImpls, won't link)

This commit is contained in:
Michael Scire authored and SciresM committed 2023-02-22 17:19:51 -08:00
1 parent d64ab354ad
commit 668cabd4a2
9 files changed
+1190 -364

No files matched your search

@@ -21,9 +21,10 @@ namespace ams::ncm {
struct ContentManagerConfig {
bool build_system_database;
bool import_database_from_system_on_sd;
bool enable_integrated_system_content;
bool HasAnyConfig() const {
return this->ShouldBuildDatabase() || this->import_database_from_system_on_sd;
return this->ShouldBuildDatabase() || this->import_database_from_system_on_sd || this->enable_integrated_system_content;
}
bool ShouldBuildDatabase() const {
@@ -33,6 +34,10 @@ namespace ams::ncm {
bool ShouldImportDatabaseFromSignedSystemPartitionOnSd() const {
return this->import_database_from_system_on_sd;
}
bool IsIntegratedSystemContentEnabled() const {
return this->enable_integrated_system_content;
}
};
}