2012-06-28 18:23:19 +02:00
|
|
|
#include "PackageManagerStub.h"
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
bool PackageManagerStub::InstallPackage(const PackageInfo& package)
|
|
|
|
{
|
2012-07-12 10:02:41 +02:00
|
|
|
InstalledPackages.push_back(package);
|
2012-06-28 18:23:19 +02:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
vector<PackageInfo> PackageManagerStub::GetInstalledPackages()
|
|
|
|
{
|
|
|
|
return InstalledPackages;
|
|
|
|
}
|
|
|
|
|
|
|
|
PackageManagerStub::~PackageManagerStub()
|
|
|
|
{
|
|
|
|
}
|