1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-03 03:30:06 +00:00

Projucer: Standardise replacement strings in file templates

This commit is contained in:
ed 2018-03-12 14:34:24 +00:00
parent cc062f59f2
commit 2f52fa205a
41 changed files with 483 additions and 517 deletions

View file

@ -135,14 +135,6 @@ namespace CodeHelpers
return "#include \"" + includePath + "\"";
}
String makeHeaderGuardName (const File& file)
{
return file.getFileName().toUpperCase()
.replaceCharacters (" .", "__")
.retainCharacters ("_ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789")
+ "_INCLUDED";
}
String makeBinaryDataIdentifierName (const File& file)
{
return makeValidIdentifier (file.getFileName()