1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-26 02:14:22 +00:00

Introjucer: cleaned up some binarydata code.

This commit is contained in:
jules 2013-03-17 20:09:53 +00:00
parent fd90a9d449
commit 0358e95dc9
6 changed files with 33 additions and 20 deletions

View file

@ -217,6 +217,17 @@ bool Project::isAudioPluginModuleMissing() const
&& ! isModuleEnabled ("juce_audio_plugin_client");
}
File Project::getBinaryDataCppFile (int index) const
{
const File cpp (getGeneratedCodeFolder().getChildFile ("BinaryData.cpp"));
if (index > 0)
return cpp.getSiblingFile (cpp.getFileNameWithoutExtension() + String (index + 1))
.withFileExtension (cpp.getFileExtension());
return cpp;
}
//==============================================================================
static void registerRecentFile (const File& file)
{