MOD Gui support.
This commit is contained in:
@@ -140,6 +140,7 @@ UiFileType::UiFileType(PluginHost *pHost, const LilvNode *node)
|
||||
|
||||
|
||||
|
||||
|
||||
UiFileProperty::UiFileProperty(PluginHost *pHost, const LilvNode *node, const std::filesystem::path &resourcePath)
|
||||
{
|
||||
auto pWorld = pHost->getWorld();
|
||||
@@ -455,6 +456,13 @@ bool UiFileType::IsValidExtension(const std::string&extension) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
UiFileType::UiFileType(const std::string&label, const std::string &mimeType,const std::string &fileType)
|
||||
: label_(label)
|
||||
, mimeType_(mimeType)
|
||||
, fileExtension_(fileType)
|
||||
{
|
||||
}
|
||||
|
||||
UiFileType::UiFileType(const std::string&label, const std::string &fileType)
|
||||
: label_(label)
|
||||
, fileExtension_(fileType)
|
||||
|
||||
Reference in New Issue
Block a user