mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-17 00:44:19 +00:00
Replaced Projucer-generated header guards with #pragma once and updated the examples
This commit is contained in:
parent
31c80db5a2
commit
e33abbc6fe
230 changed files with 322 additions and 1219 deletions
|
|
@ -322,11 +322,6 @@ void GeneratedCode::applyToCode (String& code,
|
|||
const String& oldFileWithUserData,
|
||||
Project* project) const
|
||||
{
|
||||
// header guard..
|
||||
String headerGuard ("__JUCE_HEADER_");
|
||||
headerGuard << String::toHexString ((className + "xx" + targetFile.getFileNameWithoutExtension()).hashCode64()).toUpperCase() << "__";
|
||||
replaceTemplate (code, "headerGuard", headerGuard);
|
||||
|
||||
replaceTemplate (code, "version", JUCEApplicationBase::getInstance()->getApplicationVersion());
|
||||
replaceTemplate (code, "creationTime", Time::getCurrentTime().toString (true, true, true));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue