mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-31 03:00:05 +00:00
Updated introjucer header guard for new files.
This commit is contained in:
parent
3b2ff2be4e
commit
b0144dd449
1 changed files with 4 additions and 4 deletions
|
|
@ -198,10 +198,10 @@ namespace CodeHelpers
|
|||
|
||||
String makeHeaderGuardName (const File& file)
|
||||
{
|
||||
return "__" + file.getFileName().toUpperCase()
|
||||
.replaceCharacters (" .", "__")
|
||||
.retainCharacters ("_ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789")
|
||||
+ "_" + String::toHexString (file.hashCode()).toUpperCase() + "__";
|
||||
return file.getFileName().toUpperCase()
|
||||
.replaceCharacters (" .", "__")
|
||||
.retainCharacters ("_ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789")
|
||||
+ "_INCLUDED";
|
||||
}
|
||||
|
||||
String makeBinaryDataIdentifierName (const File& file)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue