1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-14 00:14:18 +00:00

Replaced Projucer-generated header guards with #pragma once and updated the examples

This commit is contained in:
tpoole 2017-02-17 15:34:10 +00:00
parent 31c80db5a2
commit e33abbc6fe
230 changed files with 322 additions and 1219 deletions

View file

@ -153,8 +153,7 @@ int main (int argc, char* argv[])
}
*header << "/* (Auto-generated binary data file). */\r\n\r\n"
"#ifndef BINARY_" << className.toUpperCase() << "_H\r\n"
"#define BINARY_" << className.toUpperCase() << "_H\r\n\r\n"
"#pragma once\r\n\r\n"
"namespace " << className << "\r\n"
"{\r\n";
@ -187,8 +186,7 @@ int main (int argc, char* argv[])
}
}
*header << "}\r\n\r\n"
"#endif\r\n";
*header << "}\r\n";
header = nullptr;
cpp = nullptr;