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:
parent
fd90a9d449
commit
0358e95dc9
6 changed files with 33 additions and 20 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue