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