opencv/platforms/android/service/engine/jni/Tests/PackageManagerStub.cpp

19 lines
331 B
C++
Raw Normal View History

#include "PackageManagerStub.h"
using namespace std;
bool PackageManagerStub::InstallPackage(const PackageInfo& package)
{
InstalledPackages.push_back(package);
return true;
}
vector<PackageInfo> PackageManagerStub::GetInstalledPackages()
{
return InstalledPackages;
}
PackageManagerStub::~PackageManagerStub()
{
2013-08-21 21:26:54 +08:00
}