mirror of
https://github.com/opencv/opencv.git
synced 2024-12-15 01:39:10 +08:00
18 lines
396 B
C++
18 lines
396 B
C++
|
#include "PackageManagerStub.h"
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
bool PackageManagerStub::InstallPackage(const PackageInfo& package)
|
||
|
{
|
||
|
InstalledPackages.push_back(PackageInfo(package.GetFullName(), "/data/data/" + package.GetFullName()));
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
vector<PackageInfo> PackageManagerStub::GetInstalledPackages()
|
||
|
{
|
||
|
return InstalledPackages;
|
||
|
}
|
||
|
|
||
|
PackageManagerStub::~PackageManagerStub()
|
||
|
{
|
||
|
}
|