mirror of
https://github.com/opencv/opencv.git
synced 2024-12-14 00:39:13 +08:00
18 lines
481 B
C++
18 lines
481 B
C++
#ifndef __IPACKAGE_MANAGER__
|
|
#define __IPACKAGE_MANAGER__
|
|
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
class IPackageManager
|
|
{
|
|
public:
|
|
virtual std::vector<int> GetInstalledVersions() = 0;
|
|
virtual bool CheckVersionInstalled(int version, int platform, int cpu_id) = 0;
|
|
virtual bool InstallVersion(int version, int platform, int cpu_id) = 0;
|
|
virtual std::string GetPackagePathByVersion(int version, int platform, int cpu_id) = 0;
|
|
virtual ~IPackageManager(){};
|
|
};
|
|
|
|
#endif
|