11 #include "addons/Resource.h" 23 bool IsAllowed(
const std::string& file)
const override {
return true; }
29 bool GetFont(
const std::string& file, std::string& path)
const;
void OnPostInstall(bool update, bool modal) override
Callback executed after installation.
Definition: FontResource.cpp:28
Definition: FontResource.h:17
bool IsAllowed(const std::string &file) const override
Check whether file is allowed or not (no filters here).
Definition: FontResource.h:23
bool GetFont(const std::string &file, std::string &path) const
Get the font path if given font file is served by the add-on.
Definition: FontResource.cpp:39
Definition: Resource.h:19