mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-20 01:14:20 +00:00
Made the ValueTree::getPropertyAsValue method non-const, to ensure the class behaves in a const-correct manner. Improved the Introjucer's use of const ValueTrees to enable it to write each exporter in parallel, for quicker saving. Tweaked the Identifer class to be thread-safe.
This commit is contained in:
parent
2ad5e0bfb7
commit
b69b7c7647
26 changed files with 512 additions and 386 deletions
|
|
@ -106,7 +106,7 @@ File ModuleList::getDefaultModulesFolder (Project* project)
|
|||
|
||||
if (exp != nullptr)
|
||||
{
|
||||
File f (project->resolveFilename (exp->getJuceFolder().toString()));
|
||||
File f (project->resolveFilename (exp->getJuceFolderString()));
|
||||
f = getModulesFolderForJuceOrModulesFolder (f);
|
||||
|
||||
if (ModuleList::isModulesFolder (f))
|
||||
|
|
@ -375,7 +375,7 @@ File LibraryModule::getInclude (const File& folder) const
|
|||
|
||||
RelativePath LibraryModule::getModuleRelativeToProject (ProjectExporter& exporter) const
|
||||
{
|
||||
RelativePath p (exporter.getJuceFolder().toString(), RelativePath::projectFolder);
|
||||
RelativePath p (exporter.getJuceFolderString(), RelativePath::projectFolder);
|
||||
if (p.getFileName() != "modules")
|
||||
p = p.getChildFile ("modules");
|
||||
|
||||
|
|
@ -512,7 +512,7 @@ void LibraryModule::prepareExporter (ProjectExporter& exporter, ProjectSaver& pr
|
|||
}
|
||||
}
|
||||
|
||||
void LibraryModule::createPropertyEditors (const ProjectExporter& exporter, PropertyListBuilder& props) const
|
||||
void LibraryModule::createPropertyEditors (ProjectExporter& exporter, PropertyListBuilder& props) const
|
||||
{
|
||||
if (isVSTPluginHost (exporter.getProject()))
|
||||
VSTHelpers::createVSTPathEditor (exporter, props);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue