1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00

Re-saved all projects

This commit is contained in:
ed 2018-03-29 14:51:26 +01:00
parent dd7d3c41d0
commit db8fa5a4b4
12 changed files with 684 additions and 580 deletions

View file

@ -657,8 +657,7 @@ static const unsigned char temp_binary_data_0[] =
const char* juce_icon_png = (const char*) temp_binary_data_0;
const char* getNamedResource (const char*, int&) throw();
const char* getNamedResource (const char* resourceNameUTF8, int& numBytes) throw()
const char* getNamedResource (const char* resourceNameUTF8, int& numBytes) noexcept
{
unsigned int hash = 0;
if (resourceNameUTF8 != 0)
@ -672,7 +671,7 @@ const char* getNamedResource (const char* resourceNameUTF8, int& numBytes) throw
}
numBytes = 0;
return 0;
return nullptr;
}
const char* namedResourceList[] =
@ -680,4 +679,20 @@ const char* namedResourceList[] =
"juce_icon_png"
};
const char* originalFilenames[] =
{
"juce_icon.png"
};
const char* getNamedResourceOriginalFilename (const char* resourceNameUTF8) noexcept
{
for (unsigned int i = 0; i < (sizeof (namedResourceList) / sizeof (namedResourceList[0])); ++i)
{
if (namedResourceList[i] == resourceNameUTF8)
return originalFilenames[i];
}
return nullptr;
}
}