|
|
|
@@ -218,9 +218,15 @@ void Project::initialiseProjectValues() |
|
|
|
preprocessorDefsValue.referTo (projectRoot, Ids::defines, getUndoManager());
|
|
|
|
userNotesValue.referTo (projectRoot, Ids::userNotes, getUndoManager());
|
|
|
|
|
|
|
|
maxBinaryFileSizeValue.referTo (projectRoot, Ids::maxBinaryFileSize, getUndoManager(), 10240 * 1024);
|
|
|
|
includeBinaryDataInAppConfigValue.referTo (projectRoot, Ids::includeBinaryInAppConfig, getUndoManager(), true);
|
|
|
|
binaryDataNamespaceValue.referTo (projectRoot, Ids::binaryDataNamespace, getUndoManager(), "BinaryData");
|
|
|
|
maxBinaryFileSizeValue.referTo (projectRoot, Ids::maxBinaryFileSize, getUndoManager(), 10240 * 1024);
|
|
|
|
|
|
|
|
// this is here for backwards compatibility with old projects using the incorrect id
|
|
|
|
if (projectRoot.hasProperty ("includeBinaryInAppConfig"))
|
|
|
|
includeBinaryDataInJuceHeaderValue.referTo (projectRoot, "includeBinaryInAppConfig", getUndoManager(), true);
|
|
|
|
else
|
|
|
|
includeBinaryDataInJuceHeaderValue.referTo (projectRoot, Ids::includeBinaryInJuceHeader, getUndoManager(), true);
|
|
|
|
|
|
|
|
binaryDataNamespaceValue.referTo (projectRoot, Ids::binaryDataNamespace, getUndoManager(), "BinaryData");
|
|
|
|
}
|
|
|
|
|
|
|
|
void Project::initialiseAudioPluginValues()
|
|
|
|
@@ -970,8 +976,8 @@ void Project::createPropertyEditors (PropertyListBuilder& props) |
|
|
|
"(Note that individual resource files which are larger than this size cannot be split across multiple cpp files).");
|
|
|
|
}
|
|
|
|
|
|
|
|
props.add (new ChoicePropertyComponent (includeBinaryDataInAppConfigValue, "Include BinaryData in AppConfig"),
|
|
|
|
"Include BinaryData.h in the AppConfig.h file");
|
|
|
|
props.add (new ChoicePropertyComponent (includeBinaryDataInJuceHeaderValue, "Include BinaryData in JuceHeader"),
|
|
|
|
"Include BinaryData.h in the JuceHeader.h file");
|
|
|
|
|
|
|
|
props.add (new TextPropertyComponent (binaryDataNamespaceValue, "BinaryData Namespace", 256, false),
|
|
|
|
"The namespace containing the binary assests.");
|
|
|
|
|