mirror of
https://github.com/opencv/opencv.git
synced 2024-12-24 00:17:59 +08:00
4feae810fa
Code refactoring done. OpenCV library version type changed to int. Some UI labels updated. OpenCV Manager verison incremented.
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
|