void setMissingProjectProperties (Project& project) const { const String sanitisedProjectName (CodeHelpers::makeValidIdentifier (project.getTitle(), false, true, false)); setValueIfVoid (shouldBuildVST (project), true); setValueIfVoid (shouldBuildVST3 (project), false); setValueIfVoid (shouldBuildAU (project), true); setValueIfVoid (shouldBuildRTAS (project), false); setValueIfVoid (shouldBuildAAX (project), false); setValueIfVoid (getPluginName (project), project.getTitle()); setValueIfVoid (getPluginDesc (project), project.getTitle()); setValueIfVoid (getPluginManufacturer (project), "yourcompany"); setValueIfVoid (getPluginManufacturerCode (project), "Manu"); setValueIfVoid (getPluginCode (project), makeValid4CC (project.getProjectUID() + project.getProjectUID())); setValueIfVoid (getPluginChannelConfigs (project), ""); setValueIfVoid (getPluginIsSynth (project), false); setValueIfVoid (getPluginWantsMidiInput (project), false); setValueIfVoid (getPluginProducesMidiOut (project), false); setValueIfVoid (getPluginIsMidiEffectPlugin (project), false); setValueIfVoid (getPluginEditorNeedsKeyFocus (project), false); setValueIfVoid (getPluginAUExportPrefix (project), sanitisedProjectName + "AU"); setValueIfVoid (getPluginRTASCategory (project), String::empty); setValueIfVoid (project.getBundleIdentifier(), project.getDefaultBundleIdentifier()); setValueIfVoid (project.getAAXIdentifier(), project.getDefaultAAXIdentifier()); setValueIfVoid (getPluginAAXCategory (project), "AAX_ePlugInCategory_Dynamics"); }
void Project::setMissingAudioPluginDefaultValues() { const String sanitisedProjectName (CodeHelpers::makeValidIdentifier (getTitle(), false, true, false)); setValueIfVoid (shouldBuildVST(), true); setValueIfVoid (shouldBuildVST3(), false); setValueIfVoid (shouldBuildAU(), true); setValueIfVoid (shouldBuildAUv3(), false); setValueIfVoid (shouldBuildRTAS(), false); setValueIfVoid (shouldBuildAAX(), false); setValueIfVoid (shouldBuildStandalone(), false); setValueIfVoid (getPluginName(), getTitle()); setValueIfVoid (getPluginDesc(), getTitle()); setValueIfVoid (getPluginManufacturer(), "yourcompany"); setValueIfVoid (getPluginManufacturerCode(), "Manu"); setValueIfVoid (getPluginCode(), makeValid4CC (getProjectUID() + getProjectUID())); setValueIfVoid (getPluginChannelConfigs(), String()); setValueIfVoid (getPluginIsSynth(), false); setValueIfVoid (getPluginWantsMidiInput(), false); setValueIfVoid (getPluginProducesMidiOut(), false); setValueIfVoid (getPluginIsMidiEffectPlugin(), false); setValueIfVoid (getPluginEditorNeedsKeyFocus(), false); setValueIfVoid (getPluginAUExportPrefix(), sanitisedProjectName + "AU"); setValueIfVoid (getPluginRTASCategory(), String()); setValueIfVoid (getBundleIdentifier(), getDefaultBundleIdentifier()); setValueIfVoid (getAAXIdentifier(), getDefaultAAXIdentifier()); setValueIfVoid (getPluginAAXCategory(), "AAX_ePlugInCategory_Dynamics"); }
void setMissingProjectProperties (Project& project) const { const String sanitisedProjectName (CodeHelpers::makeValidIdentifier (project.getTitle(), false, true, false)); setValueIfVoid (shouldBuildVST (project), true); setValueIfVoid (shouldBuildAU (project), true); setValueIfVoid (getPluginName (project), project.getTitle()); setValueIfVoid (getPluginDesc (project), project.getTitle()); setValueIfVoid (getPluginManufacturer (project), "yourcompany"); setValueIfVoid (getPluginManufacturerCode (project), "Manu"); setValueIfVoid (getPluginCode (project), "Plug"); setValueIfVoid (getPluginChannelConfigs (project), "{1, 1}, {2, 2}"); setValueIfVoid (getPluginIsSynth (project), false); setValueIfVoid (getPluginWantsMidiInput (project), false); setValueIfVoid (getPluginProducesMidiOut (project), false); setValueIfVoid (getPluginSilenceInProducesSilenceOut (project), false); setValueIfVoid (getPluginTailLengthSeconds (project), 0); setValueIfVoid (getPluginEditorNeedsKeyFocus (project), false); setValueIfVoid (getPluginAUExportPrefix (project), sanitisedProjectName + "AU"); setValueIfVoid (getPluginAUCocoaViewClassName (project), sanitisedProjectName + "AU_V1"); setValueIfVoid (getPluginRTASCategory (project), String::empty); setValueIfVoid (project.getBundleIdentifier(), project.getDefaultBundleIdentifier()); setValueIfVoid (project.getAAXIdentifier(), project.getDefaultAAXIdentifier()); setValueIfVoid (getPluginAAXCategory (project), "AAX_ePlugInCategory_Dynamics"); }