1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54: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

@ -11,8 +11,7 @@
*/
#ifndef __JUCE_APPCONFIG_ONVA5C__
#define __JUCE_APPCONFIG_ONVA5C__
#pragma once
//==============================================================================
// [BEGIN_USER_CODE_SECTION]
@ -115,6 +114,3 @@
#ifndef JUCE_ENABLE_LIVE_CONSTANT_EDITOR
//#define JUCE_ENABLE_LIVE_CONSTANT_EDITOR
#endif
#endif // __JUCE_APPCONFIG_ONVA5C__

View file

@ -10,8 +10,7 @@
*/
#ifndef __APPHEADERFILE_ONVA5C__
#define __APPHEADERFILE_ONVA5C__
#pragma once
#include "AppConfig.h"
@ -37,5 +36,3 @@ namespace ProjectInfo
const int versionNumber = 0x10000;
}
#endif
#endif // __APPHEADERFILE_ONVA5C__

View file

@ -6,8 +6,7 @@
==============================================================================
*/
#ifndef MAINCOMPONENT_H_INCLUDED
#define MAINCOMPONENT_H_INCLUDED
#pragma once
#include "../JuceLibraryCode/JuceHeader.h"
@ -36,6 +35,3 @@ private:
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MainContentComponent)
};
#endif // MAINCOMPONENT_H_INCLUDED

View file

@ -8,8 +8,7 @@
==============================================================================
*/
#ifndef TOGGLELIGHTCOMPONENT_H_INCLUDED
#define TOGGLELIGHTCOMPONENT_H_INCLUDED
#pragma once
/**
This class represents one of the individual lights in our grid.
@ -48,6 +47,3 @@ private:
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ToggleLightComponent)
};
#endif // TOGGLELIGHTCOMPONENT_H_INCLUDED

View file

@ -8,8 +8,7 @@
==============================================================================
*/
#ifndef TOGGLELIGHTGRIDCOMPONENT_H_INCLUDED
#define TOGGLELIGHTGRIDCOMPONENT_H_INCLUDED
#pragma once
#include "ToggleLightComponent.h"
@ -61,7 +60,3 @@ private:
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ToggleLightGridComponent)
};
#endif // TOGGLELIGHTGRIDCOMPONENT_H_INCLUDED