29 #include <Pluma/Provider.hpp>
30 #include <Pluma/Host.hpp>
44 const std::string& type = this->plumaGetType();
45 if (!host.knows(type))
return false;
46 unsigned int lowest = host.getLowestVersion(type);
47 unsigned int current = host.getVersion(type);
49 return lowest <= myVersion && myVersion <= current;
virtual ~Provider()
Destructor.
virtual unsigned int getVersion() const =0
Get provider version.
bool isCompatible(const Host &host) const
Check compatibility with host.