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