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

18 lines
330 B
C++
Raw Normal View History

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