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:
parent
cc062f59f2
commit
2f52fa205a
41 changed files with 483 additions and 517 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue