mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
511 B
17 lines
511 B
13 years ago
|
#ifndef __IPACKAGE_MANAGER__
|
||
|
#define __IPACKAGE_MANAGER__
|
||
|
|
||
|
#include <set>
|
||
|
#include <string>
|
||
|
|
||
|
class IPackageManager
|
||
|
{
|
||
|
public:
|
||
|
virtual std::set<std::string> GetInstalledVersions() = 0;
|
||
|
virtual bool CheckVersionInstalled(const std::string& version, int platform, int cpu_id) = 0;
|
||
|
virtual bool InstallVersion(const std::string&, int platform, int cpu_id) = 0;
|
||
|
virtual std::string GetPackagePathByVersion(const std::string&, int platform, int cpu_id) = 0;
|
||
|
virtual ~IPackageManager(){};
|
||
|
};
|
||
|
|
||
|
#endif
|