1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-29 02:40:05 +00:00

Introjucer: moved the definition of a BinaryData constant into the header file.

This commit is contained in:
jules 2014-01-05 16:42:37 +00:00
parent 4869c0a202
commit 45b49f84d1
5 changed files with 3 additions and 9 deletions

View file

@ -163,7 +163,7 @@ bool ResourceFile::writeHeader (MemoryOutputStream& header)
<< " extern const char* namedResourceList[];" << newLine
<< newLine
<< " // Number of elements in the namedResourceList array." << newLine
<< " extern const int namedResourceListSize;" << newLine
<< " const int namedResourceListSize = " << files.size() << ";" << newLine
<< newLine
<< " // If you provide the name of one of the binary resource variables above, this function will" << newLine
<< " // return the corresponding data and its size (or a null pointer if the name isn't found)." << newLine
@ -252,8 +252,6 @@ bool ResourceFile::writeCpp (MemoryOutputStream& cpp, const File& headerFile, in
<< " return 0;" << newLine
<< "}" << newLine
<< newLine
<< "const int namedResourceListSize = " << files.size() << ";" << newLine
<< newLine
<< "const char* namedResourceList[] =" << newLine
<< "{" << newLine;