11 #include "addons/Addon.h" 12 #include "utils/URIUtils.h" 24 virtual bool IsAllowed(
const std::string &file)
const = 0;
26 virtual std::string GetFullPath(
const std::string &filePath)
const 28 return URIUtils::AddFileToFolder(GetResourcePath(), filePath);
32 explicit CResource(
const AddonInfoPtr& addonInfo, AddonType addonType)
33 :
CAddon(addonInfo, addonType)
37 std::string GetResourcePath()
const 39 return URIUtils::AddFileToFolder(Path(),
"resources");
Definition: Resource.h:19