BPackageManager: Add mandatory constructor parameters

Require the installation interface and the user interaction handle to
be passed to the constructor. Formerly, derived classes set them
manually in their constructors. This makes using the class without
having to subclass it possible.
This commit is contained in:
Ingo Weinhold
2013-11-21 13:29:20 +01:00
parent 88706cfaa5
commit 6722e1ae43
5 changed files with 13 additions and 14 deletions
@@ -57,7 +57,11 @@ public:
public:
BPackageManager(
BPackageInstallationLocation location);
BPackageInstallationLocation location,
InstallationInterface*
installationInterface,
UserInteractionHandler*
userInteractionHandler);
virtual ~BPackageManager();
void Init(uint32 flags);