BPackageManager: Add ResultComputed() callback
This commit is contained in:
@@ -211,6 +211,7 @@ public:
|
||||
|
||||
virtual void InitInstalledRepository(
|
||||
InstalledRepository& repository) = 0;
|
||||
virtual void ResultComputed(InstalledRepository& repository);
|
||||
|
||||
virtual status_t PrepareTransaction(Transaction& transaction)
|
||||
= 0;
|
||||
|
||||
@@ -387,6 +387,8 @@ BPackageManager::_AnalyzeResult()
|
||||
if (!packagesToActivate.AddItem(basePackage))
|
||||
throw std::bad_alloc();
|
||||
}
|
||||
|
||||
fInstallationInterface->ResultComputed(installationRepository);
|
||||
}
|
||||
|
||||
|
||||
@@ -804,6 +806,13 @@ BPackageManager::InstallationInterface::~InstallationInterface()
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
BPackageManager::InstallationInterface::ResultComputed(
|
||||
InstalledRepository& repository)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
// #pragma mark - ClientInstallationInterface
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user