1
0
Fork 0
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:
jules 2013-08-27 22:40:04 +01:00
parent 3b2ff2be4e
commit b0144dd449

View file

@ -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)