diff --git a/modules/juce_audio_basics/buffers/juce_AudioChannelSet.h b/modules/juce_audio_basics/buffers/juce_AudioChannelSet.h index 40f5209a2d..b7ac79edb6 100644 --- a/modules/juce_audio_basics/buffers/juce_AudioChannelSet.h +++ b/modules/juce_audio_basics/buffers/juce_AudioChannelSet.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOCHANNELSET_H_INCLUDED -#define JUCE_AUDIOCHANNELSET_H_INCLUDED +#pragma once //============================================================================== @@ -369,7 +368,3 @@ private: explicit AudioChannelSet (uint32); }; - - - -#endif // JUCE_AUDIOCHANNELSET_H_INCLUDED diff --git a/modules/juce_audio_basics/buffers/juce_AudioDataConverters.h b/modules/juce_audio_basics/buffers/juce_AudioDataConverters.h index 72a8268d1f..94ad11c5cd 100644 --- a/modules/juce_audio_basics/buffers/juce_AudioDataConverters.h +++ b/modules/juce_audio_basics/buffers/juce_AudioDataConverters.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIODATACONVERTERS_H_INCLUDED -#define JUCE_AUDIODATACONVERTERS_H_INCLUDED +#pragma once //============================================================================== @@ -717,6 +716,3 @@ private: AudioDataConverters(); JUCE_DECLARE_NON_COPYABLE (AudioDataConverters) }; - - -#endif // JUCE_AUDIODATACONVERTERS_H_INCLUDED diff --git a/modules/juce_audio_basics/buffers/juce_AudioSampleBuffer.h b/modules/juce_audio_basics/buffers/juce_AudioSampleBuffer.h index e688ffff1f..36aade0ffc 100644 --- a/modules/juce_audio_basics/buffers/juce_AudioSampleBuffer.h +++ b/modules/juce_audio_basics/buffers/juce_AudioSampleBuffer.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOSAMPLEBUFFER_H_INCLUDED -#define JUCE_AUDIOSAMPLEBUFFER_H_INCLUDED +#pragma once //============================================================================== @@ -1105,6 +1104,3 @@ private: @see AudioBuffer */ typedef AudioBuffer AudioSampleBuffer; - - -#endif // JUCE_AUDIOSAMPLEBUFFER_H_INCLUDED diff --git a/modules/juce_audio_basics/buffers/juce_FloatVectorOperations.h b/modules/juce_audio_basics/buffers/juce_FloatVectorOperations.h index e15db4360d..bf1309d0db 100644 --- a/modules/juce_audio_basics/buffers/juce_FloatVectorOperations.h +++ b/modules/juce_audio_basics/buffers/juce_FloatVectorOperations.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_FLOATVECTOROPERATIONS_H_INCLUDED -#define JUCE_FLOATVECTOROPERATIONS_H_INCLUDED +#pragma once //============================================================================== @@ -211,6 +210,3 @@ public: */ static void JUCE_CALLTYPE disableDenormalisedNumberSupport() noexcept; }; - - -#endif // JUCE_FLOATVECTOROPERATIONS_H_INCLUDED diff --git a/modules/juce_audio_basics/effects/juce_Decibels.h b/modules/juce_audio_basics/effects/juce_Decibels.h index db2bf10bdb..4ff0cab1f4 100644 --- a/modules/juce_audio_basics/effects/juce_Decibels.h +++ b/modules/juce_audio_basics/effects/juce_Decibels.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_DECIBELS_H_INCLUDED -#define JUCE_DECIBELS_H_INCLUDED +#pragma once //============================================================================== @@ -105,6 +104,3 @@ private: Decibels(); // This class can't be instantiated, it's just a holder for static methods.. JUCE_DECLARE_NON_COPYABLE (Decibels) }; - - -#endif // JUCE_DECIBELS_H_INCLUDED diff --git a/modules/juce_audio_basics/effects/juce_IIRFilter.h b/modules/juce_audio_basics/effects/juce_IIRFilter.h index aa85aa7111..36092139ee 100644 --- a/modules/juce_audio_basics/effects/juce_IIRFilter.h +++ b/modules/juce_audio_basics/effects/juce_IIRFilter.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_IIRFILTER_H_INCLUDED -#define JUCE_IIRFILTER_H_INCLUDED +#pragma once class IIRFilter; @@ -214,6 +213,3 @@ protected: IIRFilter& operator= (const IIRFilter&); JUCE_LEAK_DETECTOR (IIRFilter) }; - - -#endif // JUCE_IIRFILTER_H_INCLUDED diff --git a/modules/juce_audio_basics/effects/juce_LinearSmoothedValue.h b/modules/juce_audio_basics/effects/juce_LinearSmoothedValue.h index 18a1ef1059..d45db0b998 100644 --- a/modules/juce_audio_basics/effects/juce_LinearSmoothedValue.h +++ b/modules/juce_audio_basics/effects/juce_LinearSmoothedValue.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_LINEARSMOOTHEDVALUE_H_INCLUDED -#define JUCE_LINEARSMOOTHEDVALUE_H_INCLUDED +#pragma once //============================================================================== @@ -108,6 +107,3 @@ private: FloatType currentValue, target, step; int countdown, stepsToTarget; }; - - -#endif // JUCE_LINEARSMOOTHEDVALUE_H_INCLUDED diff --git a/modules/juce_audio_basics/effects/juce_Reverb.h b/modules/juce_audio_basics/effects/juce_Reverb.h index f01c8aba17..aa8660ecf9 100644 --- a/modules/juce_audio_basics/effects/juce_Reverb.h +++ b/modules/juce_audio_basics/effects/juce_Reverb.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_REVERB_H_INCLUDED -#define JUCE_REVERB_H_INCLUDED +#pragma once //============================================================================== @@ -325,6 +324,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (Reverb) }; - - -#endif // JUCE_REVERB_H_INCLUDED diff --git a/modules/juce_audio_basics/juce_audio_basics.h b/modules/juce_audio_basics/juce_audio_basics.h index 19dd815eee..856683f32c 100644 --- a/modules/juce_audio_basics/juce_audio_basics.h +++ b/modules/juce_audio_basics/juce_audio_basics.h @@ -54,8 +54,7 @@ *******************************************************************************/ -#ifndef JUCE_AUDIO_BASICS_H_INCLUDED -#define JUCE_AUDIO_BASICS_H_INCLUDED +#pragma once #include @@ -103,5 +102,3 @@ namespace juce #include "synthesisers/juce_Synthesiser.h" } - -#endif // JUCE_AUDIO_BASICS_H_INCLUDED diff --git a/modules/juce_audio_basics/midi/juce_MidiBuffer.h b/modules/juce_audio_basics/midi/juce_MidiBuffer.h index 36dde82f62..e874141967 100644 --- a/modules/juce_audio_basics/midi/juce_MidiBuffer.h +++ b/modules/juce_audio_basics/midi/juce_MidiBuffer.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MIDIBUFFER_H_INCLUDED -#define JUCE_MIDIBUFFER_H_INCLUDED +#pragma once //============================================================================== @@ -236,6 +235,3 @@ public: private: JUCE_LEAK_DETECTOR (MidiBuffer) }; - - -#endif // JUCE_MIDIBUFFER_H_INCLUDED diff --git a/modules/juce_audio_basics/midi/juce_MidiFile.h b/modules/juce_audio_basics/midi/juce_MidiFile.h index 5d2134f32c..c22abe0e45 100644 --- a/modules/juce_audio_basics/midi/juce_MidiFile.h +++ b/modules/juce_audio_basics/midi/juce_MidiFile.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MIDIFILE_H_INCLUDED -#define JUCE_MIDIFILE_H_INCLUDED +#pragma once //============================================================================== @@ -187,6 +186,3 @@ private: JUCE_LEAK_DETECTOR (MidiFile) }; - - -#endif // JUCE_MIDIFILE_H_INCLUDED diff --git a/modules/juce_audio_basics/midi/juce_MidiKeyboardState.h b/modules/juce_audio_basics/midi/juce_MidiKeyboardState.h index 95f469aefc..92f725cef1 100644 --- a/modules/juce_audio_basics/midi/juce_MidiKeyboardState.h +++ b/modules/juce_audio_basics/midi/juce_MidiKeyboardState.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MIDIKEYBOARDSTATE_H_INCLUDED -#define JUCE_MIDIKEYBOARDSTATE_H_INCLUDED +#pragma once class MidiKeyboardState; @@ -206,6 +205,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MidiKeyboardState) }; - - -#endif // JUCE_MIDIKEYBOARDSTATE_H_INCLUDED diff --git a/modules/juce_audio_basics/midi/juce_MidiMessage.h b/modules/juce_audio_basics/midi/juce_MidiMessage.h index 08af27dc79..e9c08ae1ee 100644 --- a/modules/juce_audio_basics/midi/juce_MidiMessage.h +++ b/modules/juce_audio_basics/midi/juce_MidiMessage.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MIDIMESSAGE_H_INCLUDED -#define JUCE_MIDIMESSAGE_H_INCLUDED +#pragma once //============================================================================== @@ -937,5 +936,3 @@ private: inline uint8* getData() const noexcept { return isHeapAllocated() ? packedData.allocatedData : (uint8*) packedData.asBytes; } uint8* allocateSpace (int); }; - -#endif // JUCE_MIDIMESSAGE_H_INCLUDED diff --git a/modules/juce_audio_basics/midi/juce_MidiMessageSequence.h b/modules/juce_audio_basics/midi/juce_MidiMessageSequence.h index 2f4f4f02b2..081381be17 100644 --- a/modules/juce_audio_basics/midi/juce_MidiMessageSequence.h +++ b/modules/juce_audio_basics/midi/juce_MidiMessageSequence.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MIDIMESSAGESEQUENCE_H_INCLUDED -#define JUCE_MIDIMESSAGESEQUENCE_H_INCLUDED +#pragma once //============================================================================== @@ -287,6 +286,3 @@ private: JUCE_LEAK_DETECTOR (MidiMessageSequence) }; - - -#endif // JUCE_MIDIMESSAGESEQUENCE_H_INCLUDED diff --git a/modules/juce_audio_basics/midi/juce_MidiRPN.h b/modules/juce_audio_basics/midi/juce_MidiRPN.h index d6447c0647..7118789143 100644 --- a/modules/juce_audio_basics/midi/juce_MidiRPN.h +++ b/modules/juce_audio_basics/midi/juce_MidiRPN.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MIDIRPNDETECTOR_H_INCLUDED -#define JUCE_MIDIRPNDETECTOR_H_INCLUDED +#pragma once //============================================================================== @@ -153,6 +152,3 @@ public: bool isNRPN = false, bool use14BitValue = true); }; - - -#endif // JUCE_MIDIRPNDETECTOR_H_INCLUDED diff --git a/modules/juce_audio_basics/mpe/juce_MPEInstrument.h b/modules/juce_audio_basics/mpe/juce_MPEInstrument.h index 037ebaae7a..e161a37511 100644 --- a/modules/juce_audio_basics/mpe/juce_MPEInstrument.h +++ b/modules/juce_audio_basics/mpe/juce_MPEInstrument.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MPEINSTRUMENT_H_INCLUDED -#define JUCE_MPEINSTRUMENT_H_INCLUDED +#pragma once //============================================================================== @@ -383,6 +382,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MPEInstrument) }; - - -#endif // JUCE_MPE_H_INCLUDED diff --git a/modules/juce_audio_basics/mpe/juce_MPEMessages.h b/modules/juce_audio_basics/mpe/juce_MPEMessages.h index d8e27d84e0..5d9627f6b2 100644 --- a/modules/juce_audio_basics/mpe/juce_MPEMessages.h +++ b/modules/juce_audio_basics/mpe/juce_MPEMessages.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MPEMESSAGES_H_INCLUDED -#define JUCE_MPEMESSAGES_H_INCLUDED +#pragma once //============================================================================== @@ -96,7 +95,3 @@ public: */ static const int zoneLayoutMessagesRpnNumber = 6; }; - - - -#endif // JUCE_MPEMESSAGES_H_INCLUDED diff --git a/modules/juce_audio_basics/mpe/juce_MPENote.h b/modules/juce_audio_basics/mpe/juce_MPENote.h index 26bf42a251..c7b98a3761 100644 --- a/modules/juce_audio_basics/mpe/juce_MPENote.h +++ b/modules/juce_audio_basics/mpe/juce_MPENote.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MPENOTE_H_INCLUDED -#define JUCE_MPENOTE_H_INCLUDED +#pragma once //============================================================================== @@ -181,6 +180,3 @@ struct JUCE_API MPENote /** Returns true if two notes are different notes, determined by their unique ID. */ bool operator!= (const MPENote& other) const noexcept; }; - - -#endif // JUCE_MPENOTE_H_INCLUDED diff --git a/modules/juce_audio_basics/mpe/juce_MPESynthesiser.h b/modules/juce_audio_basics/mpe/juce_MPESynthesiser.h index 90108eb18c..987888635b 100644 --- a/modules/juce_audio_basics/mpe/juce_MPESynthesiser.h +++ b/modules/juce_audio_basics/mpe/juce_MPESynthesiser.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MPESynthesiser_H_INCLUDED -#define JUCE_MPESynthesiser_H_INCLUDED +#pragma once //============================================================================== @@ -314,6 +313,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MPESynthesiser) }; - - -#endif // JUCE_MPESynthesiser_H_INCLUDED diff --git a/modules/juce_audio_basics/mpe/juce_MPESynthesiserBase.h b/modules/juce_audio_basics/mpe/juce_MPESynthesiserBase.h index e485ccf1c1..05e6e2c0c5 100644 --- a/modules/juce_audio_basics/mpe/juce_MPESynthesiserBase.h +++ b/modules/juce_audio_basics/mpe/juce_MPESynthesiserBase.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MPESynthesiserBase_H_INCLUDED -#define JUCE_MPESynthesiserBase_H_INCLUDED +#pragma once //============================================================================== @@ -213,6 +212,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MPESynthesiserBase) }; - - -#endif // JUCE_MPESynthesiserBase_H_INCLUDED diff --git a/modules/juce_audio_basics/mpe/juce_MPESynthesiserVoice.h b/modules/juce_audio_basics/mpe/juce_MPESynthesiserVoice.h index f03e8f8f7d..e41bf969fc 100644 --- a/modules/juce_audio_basics/mpe/juce_MPESynthesiserVoice.h +++ b/modules/juce_audio_basics/mpe/juce_MPESynthesiserVoice.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MPEVoice_H_INCLUDED -#define JUCE_MPEVoice_H_INCLUDED +#pragma once //============================================================================== /** @@ -192,6 +191,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MPESynthesiserVoice) }; - - -#endif // JUCE_MPEVoice_H_INCLUDED diff --git a/modules/juce_audio_basics/mpe/juce_MPEValue.h b/modules/juce_audio_basics/mpe/juce_MPEValue.h index 540de65c83..c74474bbf3 100644 --- a/modules/juce_audio_basics/mpe/juce_MPEValue.h +++ b/modules/juce_audio_basics/mpe/juce_MPEValue.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MPEVALUE_H_INCLUDED -#define JUCE_MPEVALUE_H_INCLUDED +#pragma once //============================================================================== @@ -97,6 +96,3 @@ private: MPEValue (int normalisedValue); int normalisedValue; }; - - -#endif // JUCE_MPEVALUE_H_INCLUDED diff --git a/modules/juce_audio_basics/mpe/juce_MPEZone.h b/modules/juce_audio_basics/mpe/juce_MPEZone.h index 6daac1001c..0de216e09f 100644 --- a/modules/juce_audio_basics/mpe/juce_MPEZone.h +++ b/modules/juce_audio_basics/mpe/juce_MPEZone.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MPEZONE_H_INCLUDED -#define JUCE_MPEZONE_H_INCLUDED +#pragma once //============================================================================== @@ -147,6 +146,3 @@ private: int perNotePitchbendRange; int masterPitchbendRange; }; - - -#endif // JUCE_MPEZONE_H_INCLUDED diff --git a/modules/juce_audio_basics/mpe/juce_MPEZoneLayout.h b/modules/juce_audio_basics/mpe/juce_MPEZoneLayout.h index 40bfdeaad5..26faf96ad9 100644 --- a/modules/juce_audio_basics/mpe/juce_MPEZoneLayout.h +++ b/modules/juce_audio_basics/mpe/juce_MPEZoneLayout.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MPEZONELAYOUT_H_INCLUDED -#define JUCE_MPEZONELAYOUT_H_INCLUDED +#pragma once //============================================================================== @@ -166,6 +165,3 @@ private: void processZoneLayoutRpnMessage (MidiRPNMessage); void processPitchbendRangeRpnMessage (MidiRPNMessage); }; - - -#endif // JUCE_MPEZONELAYOUT_H_INCLUDED diff --git a/modules/juce_audio_basics/sources/juce_AudioSource.h b/modules/juce_audio_basics/sources/juce_AudioSource.h index bf50c30a40..d60c5dbf4f 100644 --- a/modules/juce_audio_basics/sources/juce_AudioSource.h +++ b/modules/juce_audio_basics/sources/juce_AudioSource.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOSOURCE_H_INCLUDED -#define JUCE_AUDIOSOURCE_H_INCLUDED +#pragma once //============================================================================== @@ -182,6 +181,3 @@ public: */ virtual void getNextAudioBlock (const AudioSourceChannelInfo& bufferToFill) = 0; }; - - -#endif // JUCE_AUDIOSOURCE_H_INCLUDED diff --git a/modules/juce_audio_basics/sources/juce_BufferingAudioSource.h b/modules/juce_audio_basics/sources/juce_BufferingAudioSource.h index 7f6de2ab21..c724498f50 100644 --- a/modules/juce_audio_basics/sources/juce_BufferingAudioSource.h +++ b/modules/juce_audio_basics/sources/juce_BufferingAudioSource.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_BUFFERINGAUDIOSOURCE_H_INCLUDED -#define JUCE_BUFFERINGAUDIOSOURCE_H_INCLUDED +#pragma once //============================================================================== @@ -122,6 +121,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (BufferingAudioSource) }; - - -#endif // JUCE_BUFFERINGAUDIOSOURCE_H_INCLUDED diff --git a/modules/juce_audio_basics/sources/juce_ChannelRemappingAudioSource.h b/modules/juce_audio_basics/sources/juce_ChannelRemappingAudioSource.h index fb42dd2641..9484aed724 100644 --- a/modules/juce_audio_basics/sources/juce_ChannelRemappingAudioSource.h +++ b/modules/juce_audio_basics/sources/juce_ChannelRemappingAudioSource.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_CHANNELREMAPPINGAUDIOSOURCE_H_INCLUDED -#define JUCE_CHANNELREMAPPINGAUDIOSOURCE_H_INCLUDED +#pragma once //============================================================================== @@ -144,6 +143,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ChannelRemappingAudioSource) }; - - -#endif // JUCE_CHANNELREMAPPINGAUDIOSOURCE_H_INCLUDED diff --git a/modules/juce_audio_basics/sources/juce_IIRFilterAudioSource.h b/modules/juce_audio_basics/sources/juce_IIRFilterAudioSource.h index bce56e5522..b58d84e27b 100644 --- a/modules/juce_audio_basics/sources/juce_IIRFilterAudioSource.h +++ b/modules/juce_audio_basics/sources/juce_IIRFilterAudioSource.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_IIRFILTERAUDIOSOURCE_H_INCLUDED -#define JUCE_IIRFILTERAUDIOSOURCE_H_INCLUDED +#pragma once //============================================================================== @@ -71,6 +70,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (IIRFilterAudioSource) }; - - -#endif // JUCE_IIRFILTERAUDIOSOURCE_H_INCLUDED diff --git a/modules/juce_audio_basics/sources/juce_MixerAudioSource.h b/modules/juce_audio_basics/sources/juce_MixerAudioSource.h index 082438549a..c85933988c 100644 --- a/modules/juce_audio_basics/sources/juce_MixerAudioSource.h +++ b/modules/juce_audio_basics/sources/juce_MixerAudioSource.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MIXERAUDIOSOURCE_H_INCLUDED -#define JUCE_MIXERAUDIOSOURCE_H_INCLUDED +#pragma once //============================================================================== @@ -102,6 +101,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MixerAudioSource) }; - - -#endif // JUCE_MIXERAUDIOSOURCE_H_INCLUDED diff --git a/modules/juce_audio_basics/sources/juce_PositionableAudioSource.h b/modules/juce_audio_basics/sources/juce_PositionableAudioSource.h index a7ed8086ba..bd11256d06 100644 --- a/modules/juce_audio_basics/sources/juce_PositionableAudioSource.h +++ b/modules/juce_audio_basics/sources/juce_PositionableAudioSource.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_POSITIONABLEAUDIOSOURCE_H_INCLUDED -#define JUCE_POSITIONABLEAUDIOSOURCE_H_INCLUDED +#pragma once //============================================================================== @@ -79,6 +78,3 @@ public: /** Tells the source whether you'd like it to play in a loop. */ virtual void setLooping (bool shouldLoop) { ignoreUnused (shouldLoop); } }; - - -#endif // JUCE_POSITIONABLEAUDIOSOURCE_H_INCLUDED diff --git a/modules/juce_audio_basics/sources/juce_ResamplingAudioSource.h b/modules/juce_audio_basics/sources/juce_ResamplingAudioSource.h index 9f90ca0af9..c26a4d2fa9 100644 --- a/modules/juce_audio_basics/sources/juce_ResamplingAudioSource.h +++ b/modules/juce_audio_basics/sources/juce_ResamplingAudioSource.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_RESAMPLINGAUDIOSOURCE_H_INCLUDED -#define JUCE_RESAMPLINGAUDIOSOURCE_H_INCLUDED +#pragma once //============================================================================== @@ -108,6 +107,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ResamplingAudioSource) }; - - -#endif // JUCE_RESAMPLINGAUDIOSOURCE_H_INCLUDED diff --git a/modules/juce_audio_basics/sources/juce_ReverbAudioSource.h b/modules/juce_audio_basics/sources/juce_ReverbAudioSource.h index 7161a78d8f..9ea7067ca4 100644 --- a/modules/juce_audio_basics/sources/juce_ReverbAudioSource.h +++ b/modules/juce_audio_basics/sources/juce_ReverbAudioSource.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_REVERBAUDIOSOURCE_H_INCLUDED -#define JUCE_REVERBAUDIOSOURCE_H_INCLUDED +#pragma once //============================================================================== @@ -77,6 +76,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ReverbAudioSource) }; - - -#endif // JUCE_REVERBAUDIOSOURCE_H_INCLUDED diff --git a/modules/juce_audio_basics/sources/juce_ToneGeneratorAudioSource.h b/modules/juce_audio_basics/sources/juce_ToneGeneratorAudioSource.h index df9d7de7f5..c3b570f773 100644 --- a/modules/juce_audio_basics/sources/juce_ToneGeneratorAudioSource.h +++ b/modules/juce_audio_basics/sources/juce_ToneGeneratorAudioSource.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_TONEGENERATORAUDIOSOURCE_H_INCLUDED -#define JUCE_TONEGENERATORAUDIOSOURCE_H_INCLUDED +#pragma once //============================================================================== @@ -74,6 +73,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ToneGeneratorAudioSource) }; - - -#endif // JUCE_TONEGENERATORAUDIOSOURCE_H_INCLUDED diff --git a/modules/juce_audio_basics/synthesisers/juce_Synthesiser.h b/modules/juce_audio_basics/synthesisers/juce_Synthesiser.h index be140db20c..067fa8bcad 100644 --- a/modules/juce_audio_basics/synthesisers/juce_Synthesiser.h +++ b/modules/juce_audio_basics/synthesisers/juce_Synthesiser.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_SYNTHESISER_H_INCLUDED -#define JUCE_SYNTHESISER_H_INCLUDED +#pragma once //============================================================================== @@ -641,6 +640,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (Synthesiser) }; - - -#endif // JUCE_SYNTHESISER_H_INCLUDED diff --git a/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h b/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h index 5889a4ae4b..003b0297f8 100644 --- a/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h +++ b/modules/juce_audio_devices/audio_io/juce_AudioDeviceManager.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIODEVICEMANAGER_H_INCLUDED -#define JUCE_AUDIODEVICEMANAGER_H_INCLUDED +#pragma once //============================================================================== @@ -527,5 +526,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioDeviceManager) }; - -#endif // JUCE_AUDIODEVICEMANAGER_H_INCLUDED diff --git a/modules/juce_audio_devices/audio_io/juce_AudioIODevice.h b/modules/juce_audio_devices/audio_io/juce_AudioIODevice.h index 6038cef62a..22dac5cc8c 100644 --- a/modules/juce_audio_devices/audio_io/juce_AudioIODevice.h +++ b/modules/juce_audio_devices/audio_io/juce_AudioIODevice.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOIODEVICE_H_INCLUDED -#define JUCE_AUDIOIODEVICE_H_INCLUDED +#pragma once class AudioIODevice; @@ -310,6 +309,3 @@ protected: /** @internal */ String name, typeName; }; - - -#endif // JUCE_AUDIOIODEVICE_H_INCLUDED diff --git a/modules/juce_audio_devices/audio_io/juce_AudioIODeviceType.h b/modules/juce_audio_devices/audio_io/juce_AudioIODeviceType.h index cad0095bab..f240e3c24e 100644 --- a/modules/juce_audio_devices/audio_io/juce_AudioIODeviceType.h +++ b/modules/juce_audio_devices/audio_io/juce_AudioIODeviceType.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOIODEVICETYPE_H_INCLUDED -#define JUCE_AUDIOIODEVICETYPE_H_INCLUDED +#pragma once //============================================================================== @@ -183,6 +182,3 @@ private: JUCE_DECLARE_NON_COPYABLE (AudioIODeviceType) }; - - -#endif // JUCE_AUDIOIODEVICETYPE_H_INCLUDED diff --git a/modules/juce_audio_devices/audio_io/juce_SystemAudioVolume.h b/modules/juce_audio_devices/audio_io/juce_SystemAudioVolume.h index baaceb4858..b745727391 100644 --- a/modules/juce_audio_devices/audio_io/juce_SystemAudioVolume.h +++ b/modules/juce_audio_devices/audio_io/juce_SystemAudioVolume.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_SYSTEMAUDIOVOLUME_H_INCLUDED -#define JUCE_SYSTEMAUDIOVOLUME_H_INCLUDED +#pragma once //============================================================================== @@ -62,6 +61,3 @@ private: SystemAudioVolume(); // Don't instantiate this class, just call its static fns. JUCE_DECLARE_NON_COPYABLE (SystemAudioVolume) }; - - -#endif // JUCE_SYSTEMAUDIOVOLUME_H_INCLUDED diff --git a/modules/juce_audio_devices/juce_audio_devices.h b/modules/juce_audio_devices/juce_audio_devices.h index 6c223e043c..e3cbf7793b 100644 --- a/modules/juce_audio_devices/juce_audio_devices.h +++ b/modules/juce_audio_devices/juce_audio_devices.h @@ -56,8 +56,7 @@ *******************************************************************************/ -#ifndef JUCE_AUDIO_DEVICES_H_INCLUDED -#define JUCE_AUDIO_DEVICES_H_INCLUDED +#pragma once #include #include @@ -138,5 +137,3 @@ namespace juce #include "audio_io/juce_AudioDeviceManager.h" } - -#endif // JUCE_AUDIO_DEVICES_H_INCLUDED diff --git a/modules/juce_audio_devices/midi_io/juce_MidiInput.h b/modules/juce_audio_devices/midi_io/juce_MidiInput.h index f1c457ecec..d347f91aa2 100644 --- a/modules/juce_audio_devices/midi_io/juce_MidiInput.h +++ b/modules/juce_audio_devices/midi_io/juce_MidiInput.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MIDIINPUT_H_INCLUDED -#define JUCE_MIDIINPUT_H_INCLUDED +#pragma once class MidiInput; @@ -180,6 +179,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MidiInput) }; - - -#endif // JUCE_MIDIINPUT_H_INCLUDED diff --git a/modules/juce_audio_devices/midi_io/juce_MidiMessageCollector.h b/modules/juce_audio_devices/midi_io/juce_MidiMessageCollector.h index d18fcc6d50..5f4e424313 100644 --- a/modules/juce_audio_devices/midi_io/juce_MidiMessageCollector.h +++ b/modules/juce_audio_devices/midi_io/juce_MidiMessageCollector.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MIDIMESSAGECOLLECTOR_H_INCLUDED -#define JUCE_MIDIMESSAGECOLLECTOR_H_INCLUDED +#pragma once //============================================================================== @@ -105,6 +104,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MidiMessageCollector) }; - - -#endif // JUCE_MIDIMESSAGECOLLECTOR_H_INCLUDED diff --git a/modules/juce_audio_devices/midi_io/juce_MidiOutput.h b/modules/juce_audio_devices/midi_io/juce_MidiOutput.h index de6599fb29..5cb4d58c19 100644 --- a/modules/juce_audio_devices/midi_io/juce_MidiOutput.h +++ b/modules/juce_audio_devices/midi_io/juce_MidiOutput.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MIDIOUTPUT_H_INCLUDED -#define JUCE_MIDIOUTPUT_H_INCLUDED +#pragma once //============================================================================== @@ -148,6 +147,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MidiOutput) }; - - -#endif // JUCE_MIDIOUTPUT_H_INCLUDED diff --git a/modules/juce_audio_devices/native/juce_MidiDataConcatenator.h b/modules/juce_audio_devices/native/juce_MidiDataConcatenator.h index 58a7d48fae..eb3e44db17 100644 --- a/modules/juce_audio_devices/native/juce_MidiDataConcatenator.h +++ b/modules/juce_audio_devices/native/juce_MidiDataConcatenator.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MIDIDATACONCATENATOR_H_INCLUDED -#define JUCE_MIDIDATACONCATENATOR_H_INCLUDED +#pragma once //============================================================================== /** @@ -196,5 +195,3 @@ private: JUCE_DECLARE_NON_COPYABLE (MidiDataConcatenator) }; - -#endif // JUCE_MIDIDATACONCATENATOR_H_INCLUDED diff --git a/modules/juce_audio_devices/sources/juce_AudioSourcePlayer.h b/modules/juce_audio_devices/sources/juce_AudioSourcePlayer.h index 0995632332..50e015ba7e 100644 --- a/modules/juce_audio_devices/sources/juce_AudioSourcePlayer.h +++ b/modules/juce_audio_devices/sources/juce_AudioSourcePlayer.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOSOURCEPLAYER_H_INCLUDED -#define JUCE_AUDIOSOURCEPLAYER_H_INCLUDED +#pragma once //============================================================================== @@ -116,6 +115,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioSourcePlayer) }; - - -#endif // JUCE_AUDIOSOURCEPLAYER_H_INCLUDED diff --git a/modules/juce_audio_devices/sources/juce_AudioTransportSource.h b/modules/juce_audio_devices/sources/juce_AudioTransportSource.h index 8d61ccb6ae..8e0c4ed890 100644 --- a/modules/juce_audio_devices/sources/juce_AudioTransportSource.h +++ b/modules/juce_audio_devices/sources/juce_AudioTransportSource.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOTRANSPORTSOURCE_H_INCLUDED -#define JUCE_AUDIOTRANSPORTSOURCE_H_INCLUDED +#pragma once //============================================================================== @@ -181,6 +180,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioTransportSource) }; - - -#endif // JUCE_AUDIOTRANSPORTSOURCE_H_INCLUDED diff --git a/modules/juce_audio_formats/format/juce_AudioFormat.h b/modules/juce_audio_formats/format/juce_AudioFormat.h index 4eb34535ca..0c6b329e00 100644 --- a/modules/juce_audio_formats/format/juce_AudioFormat.h +++ b/modules/juce_audio_formats/format/juce_AudioFormat.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOFORMAT_H_INCLUDED -#define JUCE_AUDIOFORMAT_H_INCLUDED +#pragma once //============================================================================== @@ -174,6 +173,3 @@ private: String formatName; StringArray fileExtensions; }; - - -#endif // JUCE_AUDIOFORMAT_H_INCLUDED diff --git a/modules/juce_audio_formats/format/juce_AudioFormatManager.h b/modules/juce_audio_formats/format/juce_AudioFormatManager.h index 2d30bd63f4..31af0c303b 100644 --- a/modules/juce_audio_formats/format/juce_AudioFormatManager.h +++ b/modules/juce_audio_formats/format/juce_AudioFormatManager.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOFORMATMANAGER_H_INCLUDED -#define JUCE_AUDIOFORMATMANAGER_H_INCLUDED +#pragma once //============================================================================== @@ -138,6 +137,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioFormatManager) }; - - -#endif // JUCE_AUDIOFORMATMANAGER_H_INCLUDED diff --git a/modules/juce_audio_formats/format/juce_AudioFormatReader.h b/modules/juce_audio_formats/format/juce_AudioFormatReader.h index 9a972cf27b..ea6d1a7493 100644 --- a/modules/juce_audio_formats/format/juce_AudioFormatReader.h +++ b/modules/juce_audio_formats/format/juce_AudioFormatReader.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOFORMATREADER_H_INCLUDED -#define JUCE_AUDIOFORMATREADER_H_INCLUDED +#pragma once //============================================================================== @@ -295,6 +294,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioFormatReader) }; - - -#endif // JUCE_AUDIOFORMATREADER_H_INCLUDED diff --git a/modules/juce_audio_formats/format/juce_AudioFormatReaderSource.h b/modules/juce_audio_formats/format/juce_AudioFormatReaderSource.h index c7f74bbb86..69adf4460b 100644 --- a/modules/juce_audio_formats/format/juce_AudioFormatReaderSource.h +++ b/modules/juce_audio_formats/format/juce_AudioFormatReaderSource.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOFORMATREADERSOURCE_H_INCLUDED -#define JUCE_AUDIOFORMATREADERSOURCE_H_INCLUDED +#pragma once //============================================================================== @@ -95,6 +94,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioFormatReaderSource) }; - - -#endif // JUCE_AUDIOFORMATREADERSOURCE_H_INCLUDED diff --git a/modules/juce_audio_formats/format/juce_AudioFormatWriter.h b/modules/juce_audio_formats/format/juce_AudioFormatWriter.h index dac12af370..5814d08204 100644 --- a/modules/juce_audio_formats/format/juce_AudioFormatWriter.h +++ b/modules/juce_audio_formats/format/juce_AudioFormatWriter.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOFORMATWRITER_H_INCLUDED -#define JUCE_AUDIOFORMATWRITER_H_INCLUDED +#pragma once //============================================================================== @@ -270,5 +269,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioFormatWriter) }; - -#endif // JUCE_AUDIOFORMATWRITER_H_INCLUDED diff --git a/modules/juce_audio_formats/format/juce_AudioSubsectionReader.h b/modules/juce_audio_formats/format/juce_AudioSubsectionReader.h index 4293c45dcc..7203e038ad 100644 --- a/modules/juce_audio_formats/format/juce_AudioSubsectionReader.h +++ b/modules/juce_audio_formats/format/juce_AudioSubsectionReader.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOSUBSECTIONREADER_H_INCLUDED -#define JUCE_AUDIOSUBSECTIONREADER_H_INCLUDED +#pragma once //============================================================================== @@ -79,5 +78,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioSubsectionReader) }; - -#endif // JUCE_AUDIOSUBSECTIONREADER_H_INCLUDED diff --git a/modules/juce_audio_formats/format/juce_BufferingAudioFormatReader.h b/modules/juce_audio_formats/format/juce_BufferingAudioFormatReader.h index a8f5955406..ac1d9ad0c7 100644 --- a/modules/juce_audio_formats/format/juce_BufferingAudioFormatReader.h +++ b/modules/juce_audio_formats/format/juce_BufferingAudioFormatReader.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_BUFFERINGAUDIOFORMATREADER_H_INCLUDED -#define JUCE_BUFFERINGAUDIOFORMATREADER_H_INCLUDED +#pragma once //============================================================================== /** @@ -88,6 +87,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (BufferingAudioReader) }; - - -#endif // JUCE_BUFFERINGAUDIOFORMATREADER_H_INCLUDED diff --git a/modules/juce_audio_formats/format/juce_MemoryMappedAudioFormatReader.h b/modules/juce_audio_formats/format/juce_MemoryMappedAudioFormatReader.h index a63869bddc..5dd28a2032 100644 --- a/modules/juce_audio_formats/format/juce_MemoryMappedAudioFormatReader.h +++ b/modules/juce_audio_formats/format/juce_MemoryMappedAudioFormatReader.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_MEMORYMAPPEDAUDIOFORMATREADER_H_INCLUDED -#define JUCE_MEMORYMAPPEDAUDIOFORMATREADER_H_INCLUDED +#pragma once //============================================================================== @@ -107,6 +106,3 @@ protected: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MemoryMappedAudioFormatReader) }; - - -#endif // JUCE_MEMORYMAPPEDAUDIOFORMATREADER_H_INCLUDED diff --git a/modules/juce_audio_formats/juce_audio_formats.h b/modules/juce_audio_formats/juce_audio_formats.h index 18d5963289..41c0e2a376 100644 --- a/modules/juce_audio_formats/juce_audio_formats.h +++ b/modules/juce_audio_formats/juce_audio_formats.h @@ -48,8 +48,7 @@ *******************************************************************************/ -#ifndef JUCE_AUDIO_FORMATS_H_INCLUDED -#define JUCE_AUDIO_FORMATS_H_INCLUDED +#pragma once #include @@ -132,5 +131,3 @@ class AudioFormat; #include "sampler/juce_Sampler.h" } - -#endif // JUCE_AUDIO_FORMATS_H_INCLUDED diff --git a/modules/juce_audio_formats/sampler/juce_Sampler.h b/modules/juce_audio_formats/sampler/juce_Sampler.h index 74a8afc5f3..95f7541faf 100644 --- a/modules/juce_audio_formats/sampler/juce_Sampler.h +++ b/modules/juce_audio_formats/sampler/juce_Sampler.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_SAMPLER_H_INCLUDED -#define JUCE_SAMPLER_H_INCLUDED +#pragma once //============================================================================== @@ -141,6 +140,3 @@ private: JUCE_LEAK_DETECTOR (SamplerVoice) }; - - -#endif // JUCE_SAMPLER_H_INCLUDED diff --git a/modules/juce_audio_plugin_client/AAX/juce_AAX_Modifier_Injector.h b/modules/juce_audio_plugin_client/AAX/juce_AAX_Modifier_Injector.h index 9160de236d..d0790b2d7c 100644 --- a/modules/juce_audio_plugin_client/AAX/juce_AAX_Modifier_Injector.h +++ b/modules/juce_audio_plugin_client/AAX/juce_AAX_Modifier_Injector.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_AAX_MODIFIER_INJECTOR_H_INCLUDED -#define JUCE_AAX_MODIFIER_INJECTOR_H_INCLUDED +#pragma once struct ModifierKeyProvider { diff --git a/modules/juce_audio_plugin_client/RTAS/juce_RTAS_DigiCode_Header.h b/modules/juce_audio_plugin_client/RTAS/juce_RTAS_DigiCode_Header.h index fc1a7c5be2..eb5c885b85 100644 --- a/modules/juce_audio_plugin_client/RTAS/juce_RTAS_DigiCode_Header.h +++ b/modules/juce_audio_plugin_client/RTAS/juce_RTAS_DigiCode_Header.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_RTAS_DIGICODE_HEADER_H_INCLUDED -#define JUCE_RTAS_DIGICODE_HEADER_H_INCLUDED +#pragma once #if JucePlugin_Build_RTAS @@ -70,5 +69,3 @@ #endif #endif #endif - -#endif // JUCE_RTAS_DIGICODE_HEADER_H_INCLUDED diff --git a/modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterWindow.h b/modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterWindow.h index d1a3c4594f..df6866c085 100644 --- a/modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterWindow.h +++ b/modules/juce_audio_plugin_client/Standalone/juce_StandaloneFilterWindow.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_STANDALONEFILTERWINDOW_H_INCLUDED -#define JUCE_STANDALONEFILTERWINDOW_H_INCLUDED +#pragma once //============================================================================== /** @@ -490,6 +489,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (StandaloneFilterWindow) }; - - -#endif // JUCE_STANDALONEFILTERWINDOW_H_INCLUDED diff --git a/modules/juce_audio_plugin_client/juce_audio_plugin_client.h b/modules/juce_audio_plugin_client/juce_audio_plugin_client.h index d828ab232b..29478ff535 100644 --- a/modules/juce_audio_plugin_client/juce_audio_plugin_client.h +++ b/modules/juce_audio_plugin_client/juce_audio_plugin_client.h @@ -46,8 +46,7 @@ *******************************************************************************/ -#ifndef JUCE_AUDIO_PLUGIN_CLIENT_H_INCLUDED -#define JUCE_AUDIO_PLUGIN_CLIENT_H_INCLUDED +#pragma once #include #include @@ -82,5 +81,3 @@ namespace juce #include "utility/juce_PluginHostType.h" #include "VST/juce_VSTCallbackHandler.h" } - -#endif // JUCE_AUDIO_PLUGIN_CLIENT_H_INCLUDED diff --git a/modules/juce_audio_plugin_client/utility/juce_CarbonVisibility.h b/modules/juce_audio_plugin_client/utility/juce_CarbonVisibility.h index 87f85dd7c2..54211bc64d 100644 --- a/modules/juce_audio_plugin_client/utility/juce_CarbonVisibility.h +++ b/modules/juce_audio_plugin_client/utility/juce_CarbonVisibility.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_CARBONVISIBILITY_H_INCLUDED -#define JUCE_CARBONVISIBILITY_H_INCLUDED +#pragma once //============================================================================== #if JUCE_SUPPORT_CARBON && JUCE_MAC_WINDOW_VISIBITY_BODGE @@ -75,5 +74,3 @@ inline void removeWindowHidingHooks (Component* comp) inline void attachWindowHidingHooks (void*, void*, void*) {} inline void removeWindowHidingHooks (void*) {} #endif - -#endif // JUCE_CARBONVISIBILITY_H_INCLUDED diff --git a/modules/juce_audio_plugin_client/utility/juce_FakeMouseMoveGenerator.h b/modules/juce_audio_plugin_client/utility/juce_FakeMouseMoveGenerator.h index a324d31826..1e8275eb12 100644 --- a/modules/juce_audio_plugin_client/utility/juce_FakeMouseMoveGenerator.h +++ b/modules/juce_audio_plugin_client/utility/juce_FakeMouseMoveGenerator.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_FAKEMOUSEMOVEGENERATOR_H_INCLUDED -#define JUCE_FAKEMOUSEMOVEGENERATOR_H_INCLUDED +#pragma once #if JUCE_MAC @@ -63,5 +62,3 @@ private: #else struct FakeMouseMoveGenerator {}; #endif - -#endif // JUCE_FAKEMOUSEMOVEGENERATOR_H_INCLUDED diff --git a/modules/juce_audio_plugin_client/utility/juce_IncludeModuleHeaders.h b/modules/juce_audio_plugin_client/utility/juce_IncludeModuleHeaders.h index 7f1d24de7a..f5945a325d 100644 --- a/modules/juce_audio_plugin_client/utility/juce_IncludeModuleHeaders.h +++ b/modules/juce_audio_plugin_client/utility/juce_IncludeModuleHeaders.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_INCLUDEMODULEHEADERS_H_INCLUDED -#define JUCE_INCLUDEMODULEHEADERS_H_INCLUDED +#pragma once #include "../juce_audio_plugin_client.h" @@ -47,5 +46,3 @@ namespace juce } extern AudioProcessor* JUCE_API JUCE_CALLTYPE createPluginFilterOfType (AudioProcessor::WrapperType); - -#endif // JUCE_INCLUDEMODULEHEADERS_H_INCLUDED diff --git a/modules/juce_audio_processors/format/juce_AudioPluginFormat.h b/modules/juce_audio_processors/format/juce_AudioPluginFormat.h index e59b28c473..b65398d04c 100644 --- a/modules/juce_audio_processors/format/juce_AudioPluginFormat.h +++ b/modules/juce_audio_processors/format/juce_AudioPluginFormat.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOPLUGINFORMAT_H_INCLUDED -#define JUCE_AUDIOPLUGINFORMAT_H_INCLUDED +#pragma once //============================================================================== @@ -165,6 +164,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioPluginFormat) }; - - -#endif // JUCE_AUDIOPLUGINFORMAT_H_INCLUDED diff --git a/modules/juce_audio_processors/format/juce_AudioPluginFormatManager.h b/modules/juce_audio_processors/format/juce_AudioPluginFormatManager.h index 65e563f755..f89035ddbf 100644 --- a/modules/juce_audio_processors/format/juce_AudioPluginFormatManager.h +++ b/modules/juce_audio_processors/format/juce_AudioPluginFormatManager.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOPLUGINFORMATMANAGER_H_INCLUDED -#define JUCE_AUDIOPLUGINFORMATMANAGER_H_INCLUDED +#pragma once //============================================================================== @@ -135,7 +134,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioPluginFormatManager) }; - - - -#endif // JUCE_AUDIOPLUGINFORMATMANAGER_H_INCLUDED diff --git a/modules/juce_audio_processors/format_types/juce_VST3Common.h b/modules/juce_audio_processors/format_types/juce_VST3Common.h index efc4e337c3..daa4762684 100644 --- a/modules/juce_audio_processors/format_types/juce_VST3Common.h +++ b/modules/juce_audio_processors/format_types/juce_VST3Common.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_VST3COMMON_H_INCLUDED -#define JUCE_VST3COMMON_H_INCLUDED +#pragma once //============================================================================== #define JUCE_DECLARE_VST3_COM_REF_METHODS \ @@ -569,4 +568,3 @@ template <> struct VST3FloatAndDoubleBusMapCompositeHelper { static inline VST3BufferExchange::BusMap& get (VST3FloatAndDoubleBusMapComposite& impl) { return impl.doubleVersion; } }; -#endif // JUCE_VST3COMMON_H_INCLUDED diff --git a/modules/juce_audio_processors/format_types/juce_VST3Headers.h b/modules/juce_audio_processors/format_types/juce_VST3Headers.h index 52ab3e5537..c3b12036af 100644 --- a/modules/juce_audio_processors/format_types/juce_VST3Headers.h +++ b/modules/juce_audio_processors/format_types/juce_VST3Headers.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_VST3HEADERS_H_INCLUDED -#define JUCE_VST3HEADERS_H_INCLUDED +#pragma once // Wow, those Steinberg guys really don't worry too much about compiler warnings. #if _MSC_VER @@ -177,5 +176,3 @@ namespace Steinberg #undef DEF_CLASS2 #undef DEF_CLASS_W #undef END_FACTORY - -#endif // JUCE_VST3HEADERS_H_INCLUDED diff --git a/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.h b/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.h index e9650e292a..8e13fb84b2 100644 --- a/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.h +++ b/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_VST3PLUGINFORMAT_H_INCLUDED -#define JUCE_VST3PLUGINFORMAT_H_INCLUDED +#pragma once #if (JUCE_PLUGINHOST_VST3 && (JUCE_MAC || JUCE_WINDOWS)) || DOXYGEN @@ -65,4 +64,3 @@ private: }; #endif // JUCE_PLUGINHOST_VST3 -#endif // JUCE_VST3PLUGINFORMAT_H_INCLUDED diff --git a/modules/juce_audio_processors/format_types/juce_VSTCommon.h b/modules/juce_audio_processors/format_types/juce_VSTCommon.h index 1869941d34..fffd9180c1 100644 --- a/modules/juce_audio_processors/format_types/juce_VSTCommon.h +++ b/modules/juce_audio_processors/format_types/juce_VSTCommon.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_VSTCOMMON_H_INCLUDED -#define JUCE_VSTCOMMON_H_INCLUDED +#pragma once //============================================================================== struct SpeakerMappings : private AudioChannelSet // (inheritance only to give easier access to items in the namespace) @@ -234,5 +233,3 @@ struct SpeakerMappings : private AudioChannelSet // (inheritance only to give e return AudioChannelSet::unknown; } }; - -#endif // JUCE_VSTCOMMON_H_INCLUDED diff --git a/modules/juce_audio_processors/format_types/juce_VSTMidiEventList.h b/modules/juce_audio_processors/format_types/juce_VSTMidiEventList.h index 2d486a59b6..f47fb72c4f 100644 --- a/modules/juce_audio_processors/format_types/juce_VSTMidiEventList.h +++ b/modules/juce_audio_processors/format_types/juce_VSTMidiEventList.h @@ -25,8 +25,7 @@ // NB: this must come first, *before* the header-guard. #ifdef JUCE_VSTINTERFACE_H_INCLUDED -#ifndef JUCE_VSTMIDIEVENTLIST_H_INCLUDED -#define JUCE_VSTMIDIEVENTLIST_H_INCLUDED +#pragma once //============================================================================== /** Holds a set of VSTMidiEvent objects and makes it easy to add @@ -184,5 +183,4 @@ private: } }; -#endif // JUCE_VSTMIDIEVENTLIST_H_INCLUDED -#endif // JUCE_VSTMIDIEVENTLIST_H_INCLUDED +#endif // JUCE_VSTINTERFACE_H_INCLUDED diff --git a/modules/juce_audio_processors/juce_audio_processors.h b/modules/juce_audio_processors/juce_audio_processors.h index 118752a9ff..634b1f0c2a 100644 --- a/modules/juce_audio_processors/juce_audio_processors.h +++ b/modules/juce_audio_processors/juce_audio_processors.h @@ -48,8 +48,7 @@ *******************************************************************************/ -#ifndef JUCE_AUDIO_PROCESSORS_H_INCLUDED -#define JUCE_AUDIO_PROCESSORS_H_INCLUDED +#pragma once #include #include @@ -129,5 +128,3 @@ class AudioProcessor; #include "utilities/juce_AudioParameterChoice.h" } - -#endif // JUCE_AUDIO_PROCESSORS_H_INCLUDED diff --git a/modules/juce_audio_processors/processors/juce_AudioPlayHead.h b/modules/juce_audio_processors/processors/juce_AudioPlayHead.h index c54e7c35d7..6eb0139937 100644 --- a/modules/juce_audio_processors/processors/juce_AudioPlayHead.h +++ b/modules/juce_audio_processors/processors/juce_AudioPlayHead.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOPLAYHEAD_H_INCLUDED -#define JUCE_AUDIOPLAYHEAD_H_INCLUDED +#pragma once //============================================================================== @@ -139,6 +138,3 @@ public: */ virtual bool getCurrentPosition (CurrentPositionInfo& result) = 0; }; - - -#endif // JUCE_AUDIOPLAYHEAD_H_INCLUDED diff --git a/modules/juce_audio_processors/processors/juce_AudioPluginInstance.h b/modules/juce_audio_processors/processors/juce_AudioPluginInstance.h index 04308a961d..9740414b58 100644 --- a/modules/juce_audio_processors/processors/juce_AudioPluginInstance.h +++ b/modules/juce_audio_processors/processors/juce_AudioPluginInstance.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOPLUGININSTANCE_H_INCLUDED -#define JUCE_AUDIOPLUGININSTANCE_H_INCLUDED +#pragma once //============================================================================== @@ -84,6 +83,3 @@ protected: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioPluginInstance) }; - - -#endif // JUCE_AUDIOPLUGININSTANCE_H_INCLUDED diff --git a/modules/juce_audio_processors/processors/juce_AudioProcessor.h b/modules/juce_audio_processors/processors/juce_AudioProcessor.h index be78e3d90f..d6ea2a7504 100644 --- a/modules/juce_audio_processors/processors/juce_AudioProcessor.h +++ b/modules/juce_audio_processors/processors/juce_AudioProcessor.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOPROCESSOR_H_INCLUDED -#define JUCE_AUDIOPROCESSOR_H_INCLUDED +#pragma once struct PluginBusUtilities; @@ -1549,6 +1548,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioProcessor) }; - - -#endif // JUCE_AUDIOPROCESSOR_H_INCLUDED diff --git a/modules/juce_audio_processors/processors/juce_AudioProcessorEditor.h b/modules/juce_audio_processors/processors/juce_AudioProcessorEditor.h index e6be249be3..cb768a582a 100644 --- a/modules/juce_audio_processors/processors/juce_AudioProcessorEditor.h +++ b/modules/juce_audio_processors/processors/juce_AudioProcessorEditor.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOPROCESSOREDITOR_H_INCLUDED -#define JUCE_AUDIOPROCESSOREDITOR_H_INCLUDED +#pragma once class AudioProcessorEditorListener; //============================================================================== @@ -171,6 +170,3 @@ private: JUCE_DECLARE_NON_COPYABLE (AudioProcessorEditor) }; - - -#endif // JUCE_AUDIOPROCESSOREDITOR_H_INCLUDED diff --git a/modules/juce_audio_processors/processors/juce_AudioProcessorGraph.h b/modules/juce_audio_processors/processors/juce_AudioProcessorGraph.h index b3676e0050..6016789d80 100644 --- a/modules/juce_audio_processors/processors/juce_AudioProcessorGraph.h +++ b/modules/juce_audio_processors/processors/juce_AudioProcessorGraph.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOPROCESSORGRAPH_H_INCLUDED -#define JUCE_AUDIOPROCESSORGRAPH_H_INCLUDED +#pragma once //============================================================================== /** @@ -401,6 +400,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioProcessorGraph) }; - - -#endif // JUCE_AUDIOPROCESSORGRAPH_H_INCLUDED diff --git a/modules/juce_audio_processors/processors/juce_AudioProcessorListener.h b/modules/juce_audio_processors/processors/juce_AudioProcessorListener.h index a2fe16e143..f968800eb0 100644 --- a/modules/juce_audio_processors/processors/juce_AudioProcessorListener.h +++ b/modules/juce_audio_processors/processors/juce_AudioProcessorListener.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOPROCESSORLISTENER_H_INCLUDED -#define JUCE_AUDIOPROCESSORLISTENER_H_INCLUDED +#pragma once //============================================================================== @@ -102,5 +101,3 @@ public: virtual void audioProcessorParameterChangeGestureEnd (AudioProcessor* processor, int parameterIndex); }; - -#endif // JUCE_AUDIOPROCESSORLISTENER_H_INCLUDED diff --git a/modules/juce_audio_processors/processors/juce_AudioProcessorParameter.h b/modules/juce_audio_processors/processors/juce_AudioProcessorParameter.h index e9ce5c8b07..8c594fbd12 100644 --- a/modules/juce_audio_processors/processors/juce_AudioProcessorParameter.h +++ b/modules/juce_audio_processors/processors/juce_AudioProcessorParameter.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOPROCESSORPARAMETER_H_INCLUDED -#define JUCE_AUDIOPROCESSORPARAMETER_H_INCLUDED +#pragma once //============================================================================== @@ -175,6 +174,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioProcessorParameter) }; - - -#endif // JUCE_AUDIOPROCESSORPARAMETER_H_INCLUDED diff --git a/modules/juce_audio_processors/processors/juce_GenericAudioProcessorEditor.h b/modules/juce_audio_processors/processors/juce_GenericAudioProcessorEditor.h index dc5d8fae59..2f43668afb 100644 --- a/modules/juce_audio_processors/processors/juce_GenericAudioProcessorEditor.h +++ b/modules/juce_audio_processors/processors/juce_GenericAudioProcessorEditor.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_GENERICAUDIOPROCESSOREDITOR_H_INCLUDED -#define JUCE_GENERICAUDIOPROCESSOREDITOR_H_INCLUDED +#pragma once //============================================================================== @@ -53,6 +52,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (GenericAudioProcessorEditor) }; - - -#endif // JUCE_GENERICAUDIOPROCESSOREDITOR_H_INCLUDED diff --git a/modules/juce_audio_processors/processors/juce_PluginDescription.h b/modules/juce_audio_processors/processors/juce_PluginDescription.h index 488a3c134e..c01130571b 100644 --- a/modules/juce_audio_processors/processors/juce_PluginDescription.h +++ b/modules/juce_audio_processors/processors/juce_PluginDescription.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_PLUGINDESCRIPTION_H_INCLUDED -#define JUCE_PLUGINDESCRIPTION_H_INCLUDED +#pragma once //============================================================================== @@ -151,6 +150,3 @@ private: //============================================================================== JUCE_LEAK_DETECTOR (PluginDescription) }; - - -#endif // JUCE_PLUGINDESCRIPTION_H_INCLUDED diff --git a/modules/juce_audio_processors/scanning/juce_KnownPluginList.h b/modules/juce_audio_processors/scanning/juce_KnownPluginList.h index 7be3c7617d..0f32f79a08 100644 --- a/modules/juce_audio_processors/scanning/juce_KnownPluginList.h +++ b/modules/juce_audio_processors/scanning/juce_KnownPluginList.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_KNOWNPLUGINLIST_H_INCLUDED -#define JUCE_KNOWNPLUGINLIST_H_INCLUDED +#pragma once //============================================================================== @@ -220,6 +219,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (KnownPluginList) }; - - -#endif // JUCE_KNOWNPLUGINLIST_H_INCLUDED diff --git a/modules/juce_audio_processors/scanning/juce_PluginDirectoryScanner.h b/modules/juce_audio_processors/scanning/juce_PluginDirectoryScanner.h index 4f40981bf6..0073cffafb 100644 --- a/modules/juce_audio_processors/scanning/juce_PluginDirectoryScanner.h +++ b/modules/juce_audio_processors/scanning/juce_PluginDirectoryScanner.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_PLUGINDIRECTORYSCANNER_H_INCLUDED -#define JUCE_PLUGINDIRECTORYSCANNER_H_INCLUDED +#pragma once //============================================================================== @@ -126,6 +125,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (PluginDirectoryScanner) }; - - -#endif // JUCE_PLUGINDIRECTORYSCANNER_H_INCLUDED diff --git a/modules/juce_audio_processors/scanning/juce_PluginListComponent.h b/modules/juce_audio_processors/scanning/juce_PluginListComponent.h index 0d9104ed4b..c1edaa3a65 100644 --- a/modules/juce_audio_processors/scanning/juce_PluginListComponent.h +++ b/modules/juce_audio_processors/scanning/juce_PluginListComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_PLUGINLISTCOMPONENT_H_INCLUDED -#define JUCE_PLUGINLISTCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -127,6 +126,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (PluginListComponent) }; - - -#endif // JUCE_PLUGINLISTCOMPONENT_H_INCLUDED diff --git a/modules/juce_audio_processors/utilities/juce_AudioProcessorValueTreeState.h b/modules/juce_audio_processors/utilities/juce_AudioProcessorValueTreeState.h index d6ec1d3034..7136805309 100644 --- a/modules/juce_audio_processors/utilities/juce_AudioProcessorValueTreeState.h +++ b/modules/juce_audio_processors/utilities/juce_AudioProcessorValueTreeState.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOPROCESSORVALUETREESTATE_H_INCLUDED -#define JUCE_AUDIOPROCESSORVALUETREESTATE_H_INCLUDED +#pragma once #if JUCE_COMPILER_SUPPORTS_LAMBDAS @@ -228,5 +227,3 @@ private: }; #endif - -#endif // JUCE_AUDIOPROCESSORVALUETREESTATE_H_INCLUDED diff --git a/modules/juce_audio_utils/audio_cd/juce_AudioCDBurner.h b/modules/juce_audio_utils/audio_cd/juce_AudioCDBurner.h index fae2cd06c2..41be5939bd 100644 --- a/modules/juce_audio_utils/audio_cd/juce_AudioCDBurner.h +++ b/modules/juce_audio_utils/audio_cd/juce_AudioCDBurner.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOCDBURNER_H_INCLUDED -#define JUCE_AUDIOCDBURNER_H_INCLUDED +#pragma once #if JUCE_USE_CDBURNER || DOXYGEN @@ -166,4 +165,3 @@ private: #endif -#endif // JUCE_AUDIOCDBURNER_H_INCLUDED diff --git a/modules/juce_audio_utils/audio_cd/juce_AudioCDReader.h b/modules/juce_audio_utils/audio_cd/juce_AudioCDReader.h index bb9ac6ec88..abd2506d84 100644 --- a/modules/juce_audio_utils/audio_cd/juce_AudioCDReader.h +++ b/modules/juce_audio_utils/audio_cd/juce_AudioCDReader.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOCDREADER_H_INCLUDED -#define JUCE_AUDIOCDREADER_H_INCLUDED +#pragma once #if JUCE_USE_CDREADER || DOXYGEN @@ -171,4 +170,3 @@ private: }; #endif -#endif // JUCE_AUDIOCDREADER_H_INCLUDED diff --git a/modules/juce_audio_utils/gui/juce_AudioAppComponent.h b/modules/juce_audio_utils/gui/juce_AudioAppComponent.h index 7ef92d564c..3effd4c17c 100644 --- a/modules/juce_audio_utils/gui/juce_AudioAppComponent.h +++ b/modules/juce_audio_utils/gui/juce_AudioAppComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOAPPCOMPONENT_H_INCLUDED -#define JUCE_AUDIOAPPCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -112,6 +111,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioAppComponent) }; - - -#endif // JUCE_AUDIOAPPCOMPONENT_H_INCLUDED diff --git a/modules/juce_audio_utils/gui/juce_AudioDeviceSelectorComponent.h b/modules/juce_audio_utils/gui/juce_AudioDeviceSelectorComponent.h index a757f694da..9ad2ae808a 100644 --- a/modules/juce_audio_utils/gui/juce_AudioDeviceSelectorComponent.h +++ b/modules/juce_audio_utils/gui/juce_AudioDeviceSelectorComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIODEVICESELECTORCOMPONENT_H_INCLUDED -#define JUCE_AUDIODEVICESELECTORCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -119,6 +118,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioDeviceSelectorComponent) }; - - -#endif // JUCE_AUDIODEVICESELECTORCOMPONENT_H_INCLUDED diff --git a/modules/juce_audio_utils/gui/juce_AudioThumbnail.h b/modules/juce_audio_utils/gui/juce_AudioThumbnail.h index dae5ac75b4..b4698c02a3 100644 --- a/modules/juce_audio_utils/gui/juce_AudioThumbnail.h +++ b/modules/juce_audio_utils/gui/juce_AudioThumbnail.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOTHUMBNAIL_H_INCLUDED -#define JUCE_AUDIOTHUMBNAIL_H_INCLUDED +#pragma once //============================================================================== @@ -222,6 +221,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioThumbnail) }; - - -#endif // JUCE_AUDIOTHUMBNAIL_H_INCLUDED diff --git a/modules/juce_audio_utils/gui/juce_AudioThumbnailBase.h b/modules/juce_audio_utils/gui/juce_AudioThumbnailBase.h index 22522c680b..00722b2d08 100644 --- a/modules/juce_audio_utils/gui/juce_AudioThumbnailBase.h +++ b/modules/juce_audio_utils/gui/juce_AudioThumbnailBase.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOTHUMBNAILBASE_H_INCLUDED -#define JUCE_AUDIOTHUMBNAILBASE_H_INCLUDED +#pragma once class AudioThumbnailCache; @@ -151,5 +150,3 @@ public: /** Returns the hash code that was set by setSource() or setReader(). */ virtual int64 getHashCode() const = 0; }; - -#endif // JUCE_AUDIOTHUMBNAILBASE_H_INCLUDED diff --git a/modules/juce_audio_utils/gui/juce_AudioThumbnailCache.h b/modules/juce_audio_utils/gui/juce_AudioThumbnailCache.h index 2fa9f7ce93..83e1e18a03 100644 --- a/modules/juce_audio_utils/gui/juce_AudioThumbnailCache.h +++ b/modules/juce_audio_utils/gui/juce_AudioThumbnailCache.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOTHUMBNAILCACHE_H_INCLUDED -#define JUCE_AUDIOTHUMBNAILCACHE_H_INCLUDED +#pragma once //============================================================================== @@ -113,6 +112,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioThumbnailCache) }; - - -#endif // JUCE_AUDIOTHUMBNAILCACHE_H_INCLUDED diff --git a/modules/juce_audio_utils/gui/juce_AudioVisualiserComponent.h b/modules/juce_audio_utils/gui/juce_AudioVisualiserComponent.h index 61744f0a83..efe6a4ada4 100644 --- a/modules/juce_audio_utils/gui/juce_AudioVisualiserComponent.h +++ b/modules/juce_audio_utils/gui/juce_AudioVisualiserComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOVISUALISER_H_INCLUDED -#define JUCE_AUDIOVISUALISER_H_INCLUDED +#pragma once //============================================================================== @@ -129,6 +128,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioVisualiserComponent) }; - - -#endif // JUCE_AUDIOVISUALISER_H_INCLUDED diff --git a/modules/juce_audio_utils/gui/juce_BluetoothMidiDevicePairingDialogue.h b/modules/juce_audio_utils/gui/juce_BluetoothMidiDevicePairingDialogue.h index a53773f903..5a8fcfcb2e 100644 --- a/modules/juce_audio_utils/gui/juce_BluetoothMidiDevicePairingDialogue.h +++ b/modules/juce_audio_utils/gui/juce_BluetoothMidiDevicePairingDialogue.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_BLUETOOTHMIDIDEVICPAIRINGCOMPONENT_H_INCLUDED -#define JUCE_BLUETOOTHMIDIDEVICPAIRINGCOMPONENT_H_INCLUDED +#pragma once //============================================================================== /** @@ -73,6 +72,3 @@ public: */ static bool isAvailable(); }; - - -#endif // JUCE_BLUETOOTHMIDIDEVICPAIRINGCOMPONENT_H_INCLUDED diff --git a/modules/juce_audio_utils/gui/juce_MidiKeyboardComponent.h b/modules/juce_audio_utils/gui/juce_MidiKeyboardComponent.h index 11e0ac2c2c..d7d2e174df 100644 --- a/modules/juce_audio_utils/gui/juce_MidiKeyboardComponent.h +++ b/modules/juce_audio_utils/gui/juce_MidiKeyboardComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_MIDIKEYBOARDCOMPONENT_H_INCLUDED -#define JUCE_MIDIKEYBOARDCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -419,6 +418,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MidiKeyboardComponent) }; - - -#endif // JUCE_MIDIKEYBOARDCOMPONENT_H_INCLUDED diff --git a/modules/juce_audio_utils/juce_audio_utils.h b/modules/juce_audio_utils/juce_audio_utils.h index cc99346e2d..1917d111b6 100644 --- a/modules/juce_audio_utils/juce_audio_utils.h +++ b/modules/juce_audio_utils/juce_audio_utils.h @@ -48,8 +48,7 @@ *******************************************************************************/ -#ifndef JUCE_AUDIO_UTILS_H_INCLUDED -#define JUCE_AUDIO_UTILS_H_INCLUDED +#pragma once #include #include @@ -89,5 +88,3 @@ namespace juce #include "audio_cd/juce_AudioCDReader.h" } - -#endif // JUCE_AUDIO_UTILS_H_INCLUDED diff --git a/modules/juce_audio_utils/players/juce_AudioProcessorPlayer.h b/modules/juce_audio_utils/players/juce_AudioProcessorPlayer.h index 9225c95c4e..2344996791 100644 --- a/modules/juce_audio_utils/players/juce_AudioProcessorPlayer.h +++ b/modules/juce_audio_utils/players/juce_AudioProcessorPlayer.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_AUDIOPROCESSORPLAYER_H_INCLUDED -#define JUCE_AUDIOPROCESSORPLAYER_H_INCLUDED +#pragma once //============================================================================== /** @@ -106,6 +105,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioProcessorPlayer) }; - - -#endif // JUCE_AUDIOPROCESSORPLAYER_H_INCLUDED diff --git a/modules/juce_audio_utils/players/juce_SoundPlayer.h b/modules/juce_audio_utils/players/juce_SoundPlayer.h index 8620124bde..1f7e7cb1c4 100644 --- a/modules/juce_audio_utils/players/juce_SoundPlayer.h +++ b/modules/juce_audio_utils/players/juce_SoundPlayer.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_SOUNDPLAYER_H_INCLUDED -#define JUCE_SOUNDPLAYER_H_INCLUDED +#pragma once //============================================================================== /** @@ -125,6 +124,3 @@ private: //============================================================================== JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (SoundPlayer) }; - - -#endif // JUCE_SOUNDPLAYER_H_INCLUDED diff --git a/modules/juce_blocks_basics/juce_blocks_basics.h b/modules/juce_blocks_basics/juce_blocks_basics.h index 749eee4fe4..8cd2e8c2f7 100644 --- a/modules/juce_blocks_basics/juce_blocks_basics.h +++ b/modules/juce_blocks_basics/juce_blocks_basics.h @@ -52,8 +52,7 @@ *******************************************************************************/ -#ifndef JUCE_BLOCKS_BASICS_H_INCLUDED -#define JUCE_BLOCKS_BASICS_H_INCLUDED +#pragma once //============================================================================== #include @@ -85,6 +84,3 @@ namespace juce #include "visualisers/juce_DrumPadLEDProgram.h" #include "visualisers/juce_BitmapLEDProgram.h" } - - -#endif // JUCE_BLOCKS_BASICS_H_INCLUDED diff --git a/modules/juce_box2d/juce_box2d.h b/modules/juce_box2d/juce_box2d.h index 9670d987a6..fafcffda21 100644 --- a/modules/juce_box2d/juce_box2d.h +++ b/modules/juce_box2d/juce_box2d.h @@ -46,8 +46,7 @@ *******************************************************************************/ -#ifndef JUCE_BOX2D_H_INCLUDED -#define JUCE_BOX2D_H_INCLUDED +#pragma once //============================================================================== #include @@ -60,5 +59,3 @@ namespace juce #include "utils/juce_Box2DRenderer.h" } #endif // DOXYGEN - -#endif // JUCE_BOX2D_H_INCLUDED diff --git a/modules/juce_box2d/utils/juce_Box2DRenderer.h b/modules/juce_box2d/utils/juce_Box2DRenderer.h index 4147ab9983..41d39a766c 100644 --- a/modules/juce_box2d/utils/juce_Box2DRenderer.h +++ b/modules/juce_box2d/utils/juce_Box2DRenderer.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_BOX2DRENDERER_H_INCLUDED -#define JUCE_BOX2DRENDERER_H_INCLUDED +#pragma once //============================================================================== /** A simple implementation of the b2Draw class, used to draw a Box2D world. @@ -72,6 +71,3 @@ protected: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (Box2DRenderer) }; - - -#endif // JUCE_BOX2DRENDERER_H_INCLUDED diff --git a/modules/juce_core/containers/juce_AbstractFifo.h b/modules/juce_core/containers/juce_AbstractFifo.h index edf5464e89..14f88c234f 100644 --- a/modules/juce_core/containers/juce_AbstractFifo.h +++ b/modules/juce_core/containers/juce_AbstractFifo.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_ABSTRACTFIFO_H_INCLUDED -#define JUCE_ABSTRACTFIFO_H_INCLUDED +#pragma once //============================================================================== @@ -217,6 +216,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AbstractFifo) }; - - -#endif // JUCE_ABSTRACTFIFO_H_INCLUDED diff --git a/modules/juce_core/containers/juce_Array.h b/modules/juce_core/containers/juce_Array.h index b1aa1400ef..a671ea7db3 100644 --- a/modules/juce_core/containers/juce_Array.h +++ b/modules/juce_core/containers/juce_Array.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_ARRAY_H_INCLUDED -#define JUCE_ARRAY_H_INCLUDED +#pragma once //============================================================================== @@ -1232,6 +1231,3 @@ private: data.shrinkToNoMoreThan (jmax (numUsed, jmax (minimumAllocatedSize, 64 / (int) sizeof (ElementType)))); } }; - - -#endif // JUCE_ARRAY_H_INCLUDED diff --git a/modules/juce_core/containers/juce_ArrayAllocationBase.h b/modules/juce_core/containers/juce_ArrayAllocationBase.h index eed03c47e3..d2b1e5d20a 100644 --- a/modules/juce_core/containers/juce_ArrayAllocationBase.h +++ b/modules/juce_core/containers/juce_ArrayAllocationBase.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_ARRAYALLOCATIONBASE_H_INCLUDED -#define JUCE_ARRAYALLOCATIONBASE_H_INCLUDED +#pragma once //============================================================================== @@ -133,6 +132,3 @@ public: private: JUCE_DECLARE_NON_COPYABLE (ArrayAllocationBase) }; - - -#endif // JUCE_ARRAYALLOCATIONBASE_H_INCLUDED diff --git a/modules/juce_core/containers/juce_DynamicObject.h b/modules/juce_core/containers/juce_DynamicObject.h index e76ecdbf1c..0709e2bb72 100644 --- a/modules/juce_core/containers/juce_DynamicObject.h +++ b/modules/juce_core/containers/juce_DynamicObject.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_DYNAMICOBJECT_H_INCLUDED -#define JUCE_DYNAMICOBJECT_H_INCLUDED +#pragma once //============================================================================== @@ -135,7 +134,3 @@ private: JUCE_LEAK_DETECTOR (DynamicObject) }; - - - -#endif // JUCE_DYNAMICOBJECT_H_INCLUDED diff --git a/modules/juce_core/containers/juce_ElementComparator.h b/modules/juce_core/containers/juce_ElementComparator.h index 5cfd1f0287..035e34ecfb 100644 --- a/modules/juce_core/containers/juce_ElementComparator.h +++ b/modules/juce_core/containers/juce_ElementComparator.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_ELEMENTCOMPARATOR_H_INCLUDED -#define JUCE_ELEMENTCOMPARATOR_H_INCLUDED +#pragma once #ifndef DOXYGEN @@ -192,6 +191,3 @@ public: return (first < second) ? -1 : ((second < first) ? 1 : 0); } }; - - -#endif // JUCE_ELEMENTCOMPARATOR_H_INCLUDED diff --git a/modules/juce_core/containers/juce_HashMap.h b/modules/juce_core/containers/juce_HashMap.h index e5c6e021b2..b90d202344 100644 --- a/modules/juce_core/containers/juce_HashMap.h +++ b/modules/juce_core/containers/juce_HashMap.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_HASHMAP_H_INCLUDED -#define JUCE_HASHMAP_H_INCLUDED +#pragma once //============================================================================== @@ -477,6 +476,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (HashMap) }; - - -#endif // JUCE_HASHMAP_H_INCLUDED diff --git a/modules/juce_core/containers/juce_LinkedListPointer.h b/modules/juce_core/containers/juce_LinkedListPointer.h index 5345d450e1..c463b407ec 100644 --- a/modules/juce_core/containers/juce_LinkedListPointer.h +++ b/modules/juce_core/containers/juce_LinkedListPointer.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_LINKEDLISTPOINTER_H_INCLUDED -#define JUCE_LINKEDLISTPOINTER_H_INCLUDED +#pragma once //============================================================================== @@ -366,6 +365,3 @@ private: JUCE_DECLARE_NON_COPYABLE (LinkedListPointer) }; - - -#endif // JUCE_LINKEDLISTPOINTER_H_INCLUDED diff --git a/modules/juce_core/containers/juce_ListenerList.h b/modules/juce_core/containers/juce_ListenerList.h index 6aa6bf3e7c..446be5034d 100644 --- a/modules/juce_core/containers/juce_ListenerList.h +++ b/modules/juce_core/containers/juce_ListenerList.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_LISTENERLIST_H_INCLUDED -#define JUCE_LISTENERLIST_H_INCLUDED +#pragma once //============================================================================== @@ -549,6 +548,3 @@ private: #undef LL_TEMPLATE #undef LL_PARAM }; - - -#endif // JUCE_LISTENERLIST_H_INCLUDED diff --git a/modules/juce_core/containers/juce_NamedValueSet.h b/modules/juce_core/containers/juce_NamedValueSet.h index 273da2ebae..e55c6bf29b 100644 --- a/modules/juce_core/containers/juce_NamedValueSet.h +++ b/modules/juce_core/containers/juce_NamedValueSet.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_NAMEDVALUESET_H_INCLUDED -#define JUCE_NAMEDVALUESET_H_INCLUDED +#pragma once //============================================================================== @@ -180,6 +179,3 @@ private: //============================================================================== Array values; }; - - -#endif // JUCE_NAMEDVALUESET_H_INCLUDED diff --git a/modules/juce_core/containers/juce_OwnedArray.h b/modules/juce_core/containers/juce_OwnedArray.h index 9f5461ca09..a7628ae489 100644 --- a/modules/juce_core/containers/juce_OwnedArray.h +++ b/modules/juce_core/containers/juce_OwnedArray.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_OWNEDARRAY_H_INCLUDED -#define JUCE_OWNEDARRAY_H_INCLUDED +#pragma once //============================================================================== @@ -901,6 +900,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (OwnedArray) }; - - -#endif // JUCE_OWNEDARRAY_H_INCLUDED diff --git a/modules/juce_core/containers/juce_PropertySet.h b/modules/juce_core/containers/juce_PropertySet.h index fdd5ad917a..b0b6d390d3 100644 --- a/modules/juce_core/containers/juce_PropertySet.h +++ b/modules/juce_core/containers/juce_PropertySet.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_PROPERTYSET_H_INCLUDED -#define JUCE_PROPERTYSET_H_INCLUDED +#pragma once //============================================================================== @@ -208,6 +207,3 @@ private: JUCE_LEAK_DETECTOR (PropertySet) }; - - -#endif // JUCE_PROPERTYSET_H_INCLUDED diff --git a/modules/juce_core/containers/juce_ReferenceCountedArray.h b/modules/juce_core/containers/juce_ReferenceCountedArray.h index 8702bdbd4d..4056c9dc06 100644 --- a/modules/juce_core/containers/juce_ReferenceCountedArray.h +++ b/modules/juce_core/containers/juce_ReferenceCountedArray.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_REFERENCECOUNTEDARRAY_H_INCLUDED -#define JUCE_REFERENCECOUNTEDARRAY_H_INCLUDED +#pragma once //============================================================================== @@ -918,6 +917,3 @@ private: ContainerDeletePolicy::destroy (o); } }; - - -#endif // JUCE_REFERENCECOUNTEDARRAY_H_INCLUDED diff --git a/modules/juce_core/containers/juce_ScopedValueSetter.h b/modules/juce_core/containers/juce_ScopedValueSetter.h index c7240045d5..7adc26ad04 100644 --- a/modules/juce_core/containers/juce_ScopedValueSetter.h +++ b/modules/juce_core/containers/juce_ScopedValueSetter.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_SCOPEDVALUESETTER_H_INCLUDED -#define JUCE_SCOPEDVALUESETTER_H_INCLUDED +#pragma once //============================================================================== @@ -97,6 +96,3 @@ private: JUCE_DECLARE_NON_COPYABLE (ScopedValueSetter) }; - - -#endif // JUCE_SCOPEDVALUESETTER_H_INCLUDED diff --git a/modules/juce_core/containers/juce_SortedSet.h b/modules/juce_core/containers/juce_SortedSet.h index 5b592c2929..8c773593ad 100644 --- a/modules/juce_core/containers/juce_SortedSet.h +++ b/modules/juce_core/containers/juce_SortedSet.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_SORTEDSET_H_INCLUDED -#define JUCE_SORTEDSET_H_INCLUDED +#pragma once #if JUCE_MSVC #pragma warning (push) @@ -498,5 +497,3 @@ private: #if JUCE_MSVC #pragma warning (pop) #endif - -#endif // JUCE_SORTEDSET_H_INCLUDED diff --git a/modules/juce_core/containers/juce_SparseSet.h b/modules/juce_core/containers/juce_SparseSet.h index 7f88f267e6..f72b3e1485 100644 --- a/modules/juce_core/containers/juce_SparseSet.h +++ b/modules/juce_core/containers/juce_SparseSet.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_SPARSESET_H_INCLUDED -#define JUCE_SPARSESET_H_INCLUDED +#pragma once //============================================================================== @@ -294,7 +293,3 @@ private: values.removeRange (--i, 2); } }; - - - -#endif // JUCE_SPARSESET_H_INCLUDED diff --git a/modules/juce_core/containers/juce_Variant.h b/modules/juce_core/containers/juce_Variant.h index dfc6cd0f07..7dd41b6625 100644 --- a/modules/juce_core/containers/juce_Variant.h +++ b/modules/juce_core/containers/juce_Variant.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_VARIANT_H_INCLUDED -#define JUCE_VARIANT_H_INCLUDED +#pragma once //============================================================================== @@ -346,6 +345,3 @@ struct VariantConverter static String fromVar (const var& v) { return v.toString(); } static var toVar (const String& s) { return s; } }; - - -#endif // JUCE_VARIANT_H_INCLUDED diff --git a/modules/juce_core/files/juce_DirectoryIterator.h b/modules/juce_core/files/juce_DirectoryIterator.h index c1ed9cb234..49848dd9a5 100644 --- a/modules/juce_core/files/juce_DirectoryIterator.h +++ b/modules/juce_core/files/juce_DirectoryIterator.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_DIRECTORYITERATOR_H_INCLUDED -#define JUCE_DIRECTORYITERATOR_H_INCLUDED +#pragma once //============================================================================== @@ -157,5 +156,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (DirectoryIterator) }; - -#endif // JUCE_DIRECTORYITERATOR_H_INCLUDED diff --git a/modules/juce_core/files/juce_File.h b/modules/juce_core/files/juce_File.h index 341cf94d9d..a71db2b9a5 100644 --- a/modules/juce_core/files/juce_File.h +++ b/modules/juce_core/files/juce_File.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_FILE_H_INCLUDED -#define JUCE_FILE_H_INCLUDED +#pragma once //============================================================================== @@ -1030,5 +1029,3 @@ private: bool setFileReadOnlyInternal (bool) const; bool setFileExecutableInternal (bool) const; }; - -#endif // JUCE_FILE_H_INCLUDED diff --git a/modules/juce_core/files/juce_FileFilter.h b/modules/juce_core/files/juce_FileFilter.h index 98847bc7f3..76cee0d657 100644 --- a/modules/juce_core/files/juce_FileFilter.h +++ b/modules/juce_core/files/juce_FileFilter.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_FILEFILTER_H_INCLUDED -#define JUCE_FILEFILTER_H_INCLUDED +#pragma once //============================================================================== @@ -74,6 +73,3 @@ protected: //============================================================================== String description; }; - - -#endif // JUCE_FILEFILTER_H_INCLUDED diff --git a/modules/juce_core/files/juce_FileInputStream.h b/modules/juce_core/files/juce_FileInputStream.h index 3f7caa27b8..958e3b8b1b 100644 --- a/modules/juce_core/files/juce_FileInputStream.h +++ b/modules/juce_core/files/juce_FileInputStream.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_FILEINPUTSTREAM_H_INCLUDED -#define JUCE_FILEINPUTSTREAM_H_INCLUDED +#pragma once //============================================================================== @@ -93,6 +92,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FileInputStream) }; - - -#endif // JUCE_FILEINPUTSTREAM_H_INCLUDED diff --git a/modules/juce_core/files/juce_FileOutputStream.h b/modules/juce_core/files/juce_FileOutputStream.h index 0eee43d6d0..3daad3d026 100644 --- a/modules/juce_core/files/juce_FileOutputStream.h +++ b/modules/juce_core/files/juce_FileOutputStream.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_FILEOUTPUTSTREAM_H_INCLUDED -#define JUCE_FILEOUTPUTSTREAM_H_INCLUDED +#pragma once //============================================================================== @@ -118,5 +117,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FileOutputStream) }; - -#endif // JUCE_FILEOUTPUTSTREAM_H_INCLUDED diff --git a/modules/juce_core/files/juce_FileSearchPath.h b/modules/juce_core/files/juce_FileSearchPath.h index 3572072c23..99bd8cfa17 100644 --- a/modules/juce_core/files/juce_FileSearchPath.h +++ b/modules/juce_core/files/juce_FileSearchPath.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_FILESEARCHPATH_H_INCLUDED -#define JUCE_FILESEARCHPATH_H_INCLUDED +#pragma once //============================================================================== @@ -166,5 +165,3 @@ private: JUCE_LEAK_DETECTOR (FileSearchPath) }; - -#endif // JUCE_FILESEARCHPATH_H_INCLUDED diff --git a/modules/juce_core/files/juce_MemoryMappedFile.h b/modules/juce_core/files/juce_MemoryMappedFile.h index 2c1b5a432c..42b59befb3 100644 --- a/modules/juce_core/files/juce_MemoryMappedFile.h +++ b/modules/juce_core/files/juce_MemoryMappedFile.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MEMORYMAPPEDFILE_H_INCLUDED -#define JUCE_MEMORYMAPPEDFILE_H_INCLUDED +#pragma once //============================================================================== @@ -118,6 +117,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MemoryMappedFile) }; - - -#endif // JUCE_MEMORYMAPPEDFILE_H_INCLUDED diff --git a/modules/juce_core/files/juce_TemporaryFile.h b/modules/juce_core/files/juce_TemporaryFile.h index 408b8bfe21..f319b76333 100644 --- a/modules/juce_core/files/juce_TemporaryFile.h +++ b/modules/juce_core/files/juce_TemporaryFile.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_TEMPORARYFILE_H_INCLUDED -#define JUCE_TEMPORARYFILE_H_INCLUDED +#pragma once //============================================================================== @@ -167,5 +166,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (TemporaryFile) }; - -#endif // JUCE_TEMPORARYFILE_H_INCLUDED diff --git a/modules/juce_core/files/juce_WildcardFileFilter.h b/modules/juce_core/files/juce_WildcardFileFilter.h index b7a1453696..e1daefd030 100644 --- a/modules/juce_core/files/juce_WildcardFileFilter.h +++ b/modules/juce_core/files/juce_WildcardFileFilter.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_WILDCARDFILEFILTER_H_INCLUDED -#define JUCE_WILDCARDFILEFILTER_H_INCLUDED +#pragma once //============================================================================== @@ -79,6 +78,3 @@ private: JUCE_LEAK_DETECTOR (WildcardFileFilter) }; - - -#endif // JUCE_WILDCARDFILEFILTER_H_INCLUDED diff --git a/modules/juce_core/javascript/juce_JSON.h b/modules/juce_core/javascript/juce_JSON.h index 879c90f7d0..12927059e0 100644 --- a/modules/juce_core/javascript/juce_JSON.h +++ b/modules/juce_core/javascript/juce_JSON.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_JSON_H_INCLUDED -#define JUCE_JSON_H_INCLUDED +#pragma once //============================================================================== @@ -133,6 +132,3 @@ private: //============================================================================== JSON() JUCE_DELETED_FUNCTION; // This class can't be instantiated - just use its static methods. }; - - -#endif // JUCE_JSON_H_INCLUDED diff --git a/modules/juce_core/juce_core.h b/modules/juce_core/juce_core.h index a6c976d3e4..eff66cc3c6 100644 --- a/modules/juce_core/juce_core.h +++ b/modules/juce_core/juce_core.h @@ -58,8 +58,7 @@ *******************************************************************************/ -#ifndef JUCE_CORE_H_INCLUDED -#define JUCE_CORE_H_INCLUDED +#pragma once //============================================================================== #ifdef _MSC_VER @@ -361,5 +360,3 @@ extern JUCE_API void JUCE_CALLTYPE logAssertion (const char* file, int line) noe #pragma warning (disable: 4251) #endif #endif - -#endif // JUCE_CORE_H_INCLUDED diff --git a/modules/juce_core/logging/juce_FileLogger.h b/modules/juce_core/logging/juce_FileLogger.h index 5102c67433..56947067d4 100644 --- a/modules/juce_core/logging/juce_FileLogger.h +++ b/modules/juce_core/logging/juce_FileLogger.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_FILELOGGER_H_INCLUDED -#define JUCE_FILELOGGER_H_INCLUDED +#pragma once //============================================================================== @@ -136,6 +135,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FileLogger) }; - - -#endif // JUCE_FILELOGGER_H_INCLUDED diff --git a/modules/juce_core/logging/juce_Logger.h b/modules/juce_core/logging/juce_Logger.h index f3b845a6d2..f314cd9ea8 100644 --- a/modules/juce_core/logging/juce_Logger.h +++ b/modules/juce_core/logging/juce_Logger.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_LOGGER_H_INCLUDED -#define JUCE_LOGGER_H_INCLUDED +#pragma once //============================================================================== @@ -94,6 +93,3 @@ protected: private: static Logger* currentLogger; }; - - -#endif // JUCE_LOGGER_H_INCLUDED diff --git a/modules/juce_core/maths/juce_BigInteger.h b/modules/juce_core/maths/juce_BigInteger.h index d1f3fc09e3..90491313aa 100644 --- a/modules/juce_core/maths/juce_BigInteger.h +++ b/modules/juce_core/maths/juce_BigInteger.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_BIGINTEGER_H_INCLUDED -#define JUCE_BIGINTEGER_H_INCLUDED +#pragma once //============================================================================== @@ -351,6 +350,3 @@ OutputStream& JUCE_CALLTYPE operator<< (OutputStream& stream, const BigInteger& // For backwards compatibility, BitArray is defined as an alias for BigInteger. typedef BigInteger BitArray; #endif - - -#endif // JUCE_BIGINTEGER_H_INCLUDED diff --git a/modules/juce_core/maths/juce_Expression.h b/modules/juce_core/maths/juce_Expression.h index 6ddc91ec1b..fa27d0425f 100644 --- a/modules/juce_core/maths/juce_Expression.h +++ b/modules/juce_core/maths/juce_Expression.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_EXPRESSION_H_INCLUDED -#define JUCE_EXPRESSION_H_INCLUDED +#pragma once //============================================================================== @@ -258,5 +257,3 @@ private: explicit Expression (Term*); }; - -#endif // JUCE_EXPRESSION_H_INCLUDED diff --git a/modules/juce_core/maths/juce_MathsFunctions.h b/modules/juce_core/maths/juce_MathsFunctions.h index 139c9cc8ca..7937b16a2a 100644 --- a/modules/juce_core/maths/juce_MathsFunctions.h +++ b/modules/juce_core/maths/juce_MathsFunctions.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MATHSFUNCTIONS_H_INCLUDED -#define JUCE_MATHSFUNCTIONS_H_INCLUDED +#pragma once //============================================================================== /* @@ -635,5 +634,3 @@ namespace TypeHelpers //============================================================================== - -#endif // JUCE_MATHSFUNCTIONS_H_INCLUDED diff --git a/modules/juce_core/maths/juce_NormalisableRange.h b/modules/juce_core/maths/juce_NormalisableRange.h index c12b64b764..a412c186fe 100644 --- a/modules/juce_core/maths/juce_NormalisableRange.h +++ b/modules/juce_core/maths/juce_NormalisableRange.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_NORMALISABLERANGE_H_INCLUDED -#define JUCE_NORMALISABLERANGE_H_INCLUDED +#pragma once //============================================================================== @@ -194,6 +193,3 @@ private: jassert (skew > ValueType()); } }; - - -#endif // JUCE_NORMALISABLERANGE_H_INCLUDED diff --git a/modules/juce_core/maths/juce_Random.h b/modules/juce_core/maths/juce_Random.h index 9aed3fcd0a..93d1da1241 100644 --- a/modules/juce_core/maths/juce_Random.h +++ b/modules/juce_core/maths/juce_Random.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_RANDOM_H_INCLUDED -#define JUCE_RANDOM_H_INCLUDED +#pragma once //============================================================================== @@ -140,6 +139,3 @@ private: JUCE_LEAK_DETECTOR (Random) }; - - -#endif // JUCE_RANDOM_H_INCLUDED diff --git a/modules/juce_core/maths/juce_Range.h b/modules/juce_core/maths/juce_Range.h index 619240ff2c..15b99dae4e 100644 --- a/modules/juce_core/maths/juce_Range.h +++ b/modules/juce_core/maths/juce_Range.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_RANGE_H_INCLUDED -#define JUCE_RANGE_H_INCLUDED +#pragma once //============================================================================== @@ -310,6 +309,3 @@ private: //============================================================================== ValueType start, end; }; - - -#endif // JUCE_RANGE_H_INCLUDED diff --git a/modules/juce_core/maths/juce_StatisticsAccumulator.h b/modules/juce_core/maths/juce_StatisticsAccumulator.h index e90a6aa6be..8f3ee89385 100644 --- a/modules/juce_core/maths/juce_StatisticsAccumulator.h +++ b/modules/juce_core/maths/juce_StatisticsAccumulator.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_STATISTICSACCUMULATOR_H_INCLUDED -#define JUCE_STATISTICSACCUMULATOR_H_INCLUDED +#pragma once //============================================================================== @@ -142,6 +141,3 @@ private: KahanSum sum, sumSquares; FloatType minimum, maximum; }; - - -#endif // JUCE_STATISTICSACCUMULATOR_H_INCLUDED diff --git a/modules/juce_core/memory/juce_Atomic.h b/modules/juce_core/memory/juce_Atomic.h index 78778428ee..9779730736 100644 --- a/modules/juce_core/memory/juce_Atomic.h +++ b/modules/juce_core/memory/juce_Atomic.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_ATOMIC_H_INCLUDED -#define JUCE_ATOMIC_H_INCLUDED +#pragma once //============================================================================== @@ -436,5 +435,3 @@ inline void Atomic::memoryBarrier() noexcept #if JUCE_MSVC #pragma warning (pop) #endif - -#endif // JUCE_ATOMIC_H_INCLUDED diff --git a/modules/juce_core/memory/juce_ByteOrder.h b/modules/juce_core/memory/juce_ByteOrder.h index 0440ad2f5e..3363f0e1ce 100644 --- a/modules/juce_core/memory/juce_ByteOrder.h +++ b/modules/juce_core/memory/juce_ByteOrder.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_BYTEORDER_H_INCLUDED -#define JUCE_BYTEORDER_H_INCLUDED +#pragma once //============================================================================== @@ -236,6 +235,3 @@ inline int ByteOrder::littleEndian24Bit (const void* const bytes) noexcept inline int ByteOrder::bigEndian24Bit (const void* const bytes) noexcept { return (((int) static_cast (bytes)[0]) << 16) | (((int) static_cast (bytes)[1]) << 8) | ((int) static_cast (bytes)[2]); } inline void ByteOrder::littleEndian24BitToChars (const int value, void* const destBytes) noexcept { static_cast (destBytes)[0] = (uint8) value; static_cast (destBytes)[1] = (uint8) (value >> 8); static_cast (destBytes)[2] = (uint8) (value >> 16); } inline void ByteOrder::bigEndian24BitToChars (const int value, void* const destBytes) noexcept { static_cast (destBytes)[0] = (uint8) (value >> 16); static_cast (destBytes)[1] = (uint8) (value >> 8); static_cast (destBytes)[2] = (uint8) value; } - - -#endif // JUCE_BYTEORDER_H_INCLUDED diff --git a/modules/juce_core/memory/juce_ContainerDeletePolicy.h b/modules/juce_core/memory/juce_ContainerDeletePolicy.h index 5c2aaec02e..9d3ab7735e 100644 --- a/modules/juce_core/memory/juce_ContainerDeletePolicy.h +++ b/modules/juce_core/memory/juce_ContainerDeletePolicy.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_CONTAINERDELETEPOLICY_H_INCLUDED -#define JUCE_CONTAINERDELETEPOLICY_H_INCLUDED +#pragma once //============================================================================== /** @@ -60,6 +59,3 @@ struct ContainerDeletePolicy delete object; } }; - - -#endif // JUCE_CONTAINERDELETEPOLICY_H_INCLUDED diff --git a/modules/juce_core/memory/juce_HeapBlock.h b/modules/juce_core/memory/juce_HeapBlock.h index e213d696d4..cc3da66645 100644 --- a/modules/juce_core/memory/juce_HeapBlock.h +++ b/modules/juce_core/memory/juce_HeapBlock.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_HEAPBLOCK_H_INCLUDED -#define JUCE_HEAPBLOCK_H_INCLUDED +#pragma once #if ! (defined (DOXYGEN) || JUCE_EXCEPTIONS_DISABLED) namespace HeapBlockHelper @@ -309,6 +308,3 @@ private: JUCE_PREVENT_HEAP_ALLOCATION // Creating a 'new HeapBlock' would be missing the point! #endif }; - - -#endif // JUCE_HEAPBLOCK_H_INCLUDED diff --git a/modules/juce_core/memory/juce_LeakedObjectDetector.h b/modules/juce_core/memory/juce_LeakedObjectDetector.h index 0c4a438d01..4a306a8308 100644 --- a/modules/juce_core/memory/juce_LeakedObjectDetector.h +++ b/modules/juce_core/memory/juce_LeakedObjectDetector.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_LEAKEDOBJECTDETECTOR_H_INCLUDED -#define JUCE_LEAKEDOBJECTDETECTOR_H_INCLUDED +#pragma once //============================================================================== @@ -143,6 +142,3 @@ private: #define JUCE_LEAK_DETECTOR(OwnerClass) #endif #endif - - -#endif // JUCE_LEAKEDOBJECTDETECTOR_H_INCLUDED diff --git a/modules/juce_core/memory/juce_Memory.h b/modules/juce_core/memory/juce_Memory.h index db8d825abc..5f8c535602 100644 --- a/modules/juce_core/memory/juce_Memory.h +++ b/modules/juce_core/memory/juce_Memory.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MEMORY_H_INCLUDED -#define JUCE_MEMORY_H_INCLUDED +#pragma once //============================================================================== /** Fills a block of memory with zeros. */ @@ -141,6 +140,3 @@ inline void writeUnaligned (void* dstPtr, Type value) noexcept #ifndef juce_UseDebuggingNewOperator #define juce_UseDebuggingNewOperator #endif - - -#endif // JUCE_MEMORY_H_INCLUDED diff --git a/modules/juce_core/memory/juce_MemoryBlock.h b/modules/juce_core/memory/juce_MemoryBlock.h index 9c401a9d1d..e2563937e6 100644 --- a/modules/juce_core/memory/juce_MemoryBlock.h +++ b/modules/juce_core/memory/juce_MemoryBlock.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MEMORYBLOCK_H_INCLUDED -#define JUCE_MEMORYBLOCK_H_INCLUDED +#pragma once //============================================================================== @@ -259,6 +258,3 @@ private: JUCE_LEAK_DETECTOR (MemoryBlock) }; - - -#endif // JUCE_MEMORYBLOCK_H_INCLUDED diff --git a/modules/juce_core/memory/juce_OptionalScopedPointer.h b/modules/juce_core/memory/juce_OptionalScopedPointer.h index bd3972e106..ff9775fb63 100644 --- a/modules/juce_core/memory/juce_OptionalScopedPointer.h +++ b/modules/juce_core/memory/juce_OptionalScopedPointer.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_OPTIONALSCOPEDPOINTER_H_INCLUDED -#define JUCE_OPTIONALSCOPEDPOINTER_H_INCLUDED +#pragma once //============================================================================== @@ -189,6 +188,3 @@ private: // myPointer.setOwned (myScopedPointer.release()) void setOwned (const ScopedPointer&) JUCE_DELETED_FUNCTION; }; - - -#endif // JUCE_OPTIONALSCOPEDPOINTER_H_INCLUDED diff --git a/modules/juce_core/memory/juce_ReferenceCountedObject.h b/modules/juce_core/memory/juce_ReferenceCountedObject.h index 04f029f456..361be3a8d7 100644 --- a/modules/juce_core/memory/juce_ReferenceCountedObject.h +++ b/modules/juce_core/memory/juce_ReferenceCountedObject.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_REFERENCECOUNTEDOBJECT_H_INCLUDED -#define JUCE_REFERENCECOUNTEDOBJECT_H_INCLUDED +#pragma once //============================================================================== @@ -416,6 +415,3 @@ bool operator!= (ReferenceCountedObjectClass* object1, const ReferenceCountedObj { return object1 != object2.get(); } - - -#endif // JUCE_REFERENCECOUNTEDOBJECT_H_INCLUDED diff --git a/modules/juce_core/memory/juce_ScopedPointer.h b/modules/juce_core/memory/juce_ScopedPointer.h index e921a78216..82e8321c94 100644 --- a/modules/juce_core/memory/juce_ScopedPointer.h +++ b/modules/juce_core/memory/juce_ScopedPointer.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_SCOPEDPOINTER_H_INCLUDED -#define JUCE_SCOPEDPOINTER_H_INCLUDED +#pragma once //============================================================================== /** @@ -258,5 +257,3 @@ template void deleteAndZero (ScopedPointer&) { static_assert (sizeof (Type) == 12345, "Attempt to call deleteAndZero() on a ScopedPointer"); } #endif - -#endif // JUCE_SCOPEDPOINTER_H_INCLUDED diff --git a/modules/juce_core/memory/juce_SharedResourcePointer.h b/modules/juce_core/memory/juce_SharedResourcePointer.h index 4ec69b6a2e..b4c1a9e0d7 100644 --- a/modules/juce_core/memory/juce_SharedResourcePointer.h +++ b/modules/juce_core/memory/juce_SharedResourcePointer.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_SHAREDRESOURCEPOINTER_H_INCLUDED -#define JUCE_SHAREDRESOURCEPOINTER_H_INCLUDED +#pragma once //============================================================================== @@ -163,6 +162,3 @@ private: JUCE_LEAK_DETECTOR (SharedResourcePointer) }; - - -#endif // JUCE_SHAREDRESOURCEPOINTER_H_INCLUDED diff --git a/modules/juce_core/memory/juce_Singleton.h b/modules/juce_core/memory/juce_Singleton.h index deb9c599eb..5ec8cb9993 100644 --- a/modules/juce_core/memory/juce_Singleton.h +++ b/modules/juce_core/memory/juce_Singleton.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_SINGLETON_H_INCLUDED -#define JUCE_SINGLETON_H_INCLUDED +#pragma once //============================================================================== @@ -288,7 +287,3 @@ #define juce_ImplementSingleton_SingleThreaded(classname) \ \ classname* classname::_singletonInstance = nullptr; - - - -#endif // JUCE_SINGLETON_H_INCLUDED diff --git a/modules/juce_core/memory/juce_WeakReference.h b/modules/juce_core/memory/juce_WeakReference.h index 4d07887f9f..35758229d6 100644 --- a/modules/juce_core/memory/juce_WeakReference.h +++ b/modules/juce_core/memory/juce_WeakReference.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_WEAKREFERENCE_H_INCLUDED -#define JUCE_WEAKREFERENCE_H_INCLUDED +#pragma once //============================================================================== @@ -210,6 +209,3 @@ private: return (o != nullptr) ? o->masterReference.getSharedPointer (o) : nullptr; } }; - - -#endif // JUCE_WEAKREFERENCE_H_INCLUDED diff --git a/modules/juce_core/misc/juce_Result.h b/modules/juce_core/misc/juce_Result.h index 5737151c54..8326f7af20 100644 --- a/modules/juce_core/misc/juce_Result.h +++ b/modules/juce_core/misc/juce_Result.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_RESULT_H_INCLUDED -#define JUCE_RESULT_H_INCLUDED +#pragma once //============================================================================== @@ -119,6 +118,3 @@ private: operator int() const; operator void*() const; }; - - -#endif // JUCE_RESULT_H_INCLUDED diff --git a/modules/juce_core/misc/juce_RuntimePermissions.h b/modules/juce_core/misc/juce_RuntimePermissions.h index 5ad3ccff96..1773bcc125 100644 --- a/modules/juce_core/misc/juce_RuntimePermissions.h +++ b/modules/juce_core/misc/juce_RuntimePermissions.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_RUNTIMEPERMISSIONS_H_INCLUDED -#define JUCE_RUNTIMEPERMISSIONS_H_INCLUDED +#pragma once //============================================================================== /** @@ -128,6 +127,3 @@ public: */ static bool isGranted (PermissionID permission); }; - - -#endif // JUCE_RUNTIMEPERMISSIONS_H_INCLUDED diff --git a/modules/juce_core/misc/juce_Uuid.h b/modules/juce_core/misc/juce_Uuid.h index bf5f8c21dd..bb8a87ba69 100644 --- a/modules/juce_core/misc/juce_Uuid.h +++ b/modules/juce_core/misc/juce_Uuid.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_UUID_H_INCLUDED -#define JUCE_UUID_H_INCLUDED +#pragma once //============================================================================== @@ -118,6 +117,3 @@ private: JUCE_LEAK_DETECTOR (Uuid) }; - - -#endif // JUCE_UUID_H_INCLUDED diff --git a/modules/juce_core/misc/juce_WindowsRegistry.h b/modules/juce_core/misc/juce_WindowsRegistry.h index 460164b017..19852097a0 100644 --- a/modules/juce_core/misc/juce_WindowsRegistry.h +++ b/modules/juce_core/misc/juce_WindowsRegistry.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_WINDOWSREGISTRY_H_INCLUDED -#define JUCE_WINDOWSREGISTRY_H_INCLUDED +#pragma once #if JUCE_WINDOWS || DOXYGEN @@ -140,4 +139,3 @@ private: }; #endif -#endif // JUCE_WINDOWSREGISTRY_H_INCLUDED diff --git a/modules/juce_core/native/juce_BasicNativeHeaders.h b/modules/juce_core/native/juce_BasicNativeHeaders.h index 193276a445..86f9589a17 100644 --- a/modules/juce_core/native/juce_BasicNativeHeaders.h +++ b/modules/juce_core/native/juce_BasicNativeHeaders.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_BASICNATIVEHEADERS_H_INCLUDED -#define JUCE_BASICNATIVEHEADERS_H_INCLUDED +#pragma once #undef T @@ -265,5 +264,3 @@ #undef min #undef direct #undef check - -#endif // JUCE_BASICNATIVEHEADERS_H_INCLUDED diff --git a/modules/juce_core/native/juce_android_JNIHelpers.h b/modules/juce_core/native/juce_android_JNIHelpers.h index dfb637c547..cb9e0769c2 100644 --- a/modules/juce_core/native/juce_android_JNIHelpers.h +++ b/modules/juce_core/native/juce_android_JNIHelpers.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_ANDROID_JNIHELPERS_H_INCLUDED -#define JUCE_ANDROID_JNIHELPERS_H_INCLUDED +#pragma once #if ! (defined (JUCE_ANDROID_ACTIVITY_CLASSNAME) && defined (JUCE_ANDROID_ACTIVITY_CLASSPATH)) #error "The JUCE_ANDROID_ACTIVITY_CLASSNAME and JUCE_ANDROID_ACTIVITY_CLASSPATH macros must be set!" @@ -351,5 +350,3 @@ DECLARE_JNI_CLASS (JuceThread, "java/lang/Thread"); DECLARE_JNI_CLASS (RectClass, "android/graphics/Rect"); #undef JNI_CLASS_MEMBERS - -#endif // JUCE_ANDROID_JNIHELPERS_H_INCLUDED diff --git a/modules/juce_core/native/juce_osx_ObjCHelpers.h b/modules/juce_core/native/juce_osx_ObjCHelpers.h index c0688e62dd..d2b35a8abd 100644 --- a/modules/juce_core/native/juce_osx_ObjCHelpers.h +++ b/modules/juce_core/native/juce_osx_ObjCHelpers.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_OSX_OBJCHELPERS_H_INCLUDED -#define JUCE_OSX_OBJCHELPERS_H_INCLUDED +#pragma once /* This file contains a few helper functions that are used internally but which @@ -225,6 +224,3 @@ private: }; #endif - - -#endif // JUCE_OSX_OBJCHELPERS_H_INCLUDED diff --git a/modules/juce_core/native/juce_win32_ComSmartPtr.h b/modules/juce_core/native/juce_win32_ComSmartPtr.h index 876a9350e2..727876646e 100644 --- a/modules/juce_core/native/juce_win32_ComSmartPtr.h +++ b/modules/juce_core/native/juce_win32_ComSmartPtr.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_WIN32_COMSMARTPTR_H_INCLUDED -#define JUCE_WIN32_COMSMARTPTR_H_INCLUDED +#pragma once #if JUCE_MINGW || (! (defined (_MSC_VER) || defined (__uuidof))) #ifdef __uuidof @@ -182,5 +181,3 @@ public: return ComBaseClassHelperBase ::QueryInterface (refId, result); } }; - -#endif // JUCE_WIN32_COMSMARTPTR_H_INCLUDED diff --git a/modules/juce_core/network/juce_IPAddress.h b/modules/juce_core/network/juce_IPAddress.h index e1cb38709d..c074991b18 100644 --- a/modules/juce_core/network/juce_IPAddress.h +++ b/modules/juce_core/network/juce_IPAddress.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_IPADDRESS_H_INCLUDED -#define JUCE_IPADDRESS_H_INCLUDED +#pragma once //============================================================================== @@ -79,6 +78,3 @@ public: /** The elements of the IP address. */ uint8 address[4]; }; - - -#endif // JUCE_IPADDRESS_H_INCLUDED diff --git a/modules/juce_core/network/juce_MACAddress.h b/modules/juce_core/network/juce_MACAddress.h index 3466c00d7f..c860860a0d 100644 --- a/modules/juce_core/network/juce_MACAddress.h +++ b/modules/juce_core/network/juce_MACAddress.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MACADDRESS_H_INCLUDED -#define JUCE_MACADDRESS_H_INCLUDED +#pragma once //============================================================================== @@ -88,6 +87,3 @@ public: private: uint8 address[6]; }; - - -#endif // JUCE_MACADDRESS_H_INCLUDED diff --git a/modules/juce_core/network/juce_NamedPipe.h b/modules/juce_core/network/juce_NamedPipe.h index 266d1df4df..9d0921a109 100644 --- a/modules/juce_core/network/juce_NamedPipe.h +++ b/modules/juce_core/network/juce_NamedPipe.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_NAMEDPIPE_H_INCLUDED -#define JUCE_NAMEDPIPE_H_INCLUDED +#pragma once //============================================================================== @@ -103,6 +102,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (NamedPipe) }; - - -#endif // JUCE_NAMEDPIPE_H_INCLUDED diff --git a/modules/juce_core/network/juce_Socket.h b/modules/juce_core/network/juce_Socket.h index 299263ae72..d30c0e76e9 100644 --- a/modules/juce_core/network/juce_Socket.h +++ b/modules/juce_core/network/juce_Socket.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_SOCKET_H_INCLUDED -#define JUCE_SOCKET_H_INCLUDED +#pragma once //============================================================================== @@ -357,6 +356,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (DatagramSocket) }; - - -#endif // JUCE_SOCKET_H_INCLUDED diff --git a/modules/juce_core/network/juce_URL.h b/modules/juce_core/network/juce_URL.h index b69a25bff6..08697faa6a 100644 --- a/modules/juce_core/network/juce_URL.h +++ b/modules/juce_core/network/juce_URL.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_URL_H_INCLUDED -#define JUCE_URL_H_INCLUDED +#pragma once class WebInputStream; //============================================================================== @@ -525,5 +524,3 @@ private: JUCE_LEAK_DETECTOR (URL) }; - -#endif // JUCE_URL_H_INCLUDED diff --git a/modules/juce_core/network/juce_WebInputStream.h b/modules/juce_core/network/juce_WebInputStream.h index 083993aa14..fa39597307 100644 --- a/modules/juce_core/network/juce_WebInputStream.h +++ b/modules/juce_core/network/juce_WebInputStream.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_WEBINPUTSTREAM_H_INCLUDED -#define JUCE_WEBINPUTSTREAM_H_INCLUDED +#pragma once //============================================================================== /** @@ -217,5 +216,3 @@ class JUCE_API WebInputStream : public InputStream JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (WebInputStream) }; - -#endif // JUCE_WEBINPUTSTREAM_H_INCLUDED diff --git a/modules/juce_core/streams/juce_BufferedInputStream.h b/modules/juce_core/streams/juce_BufferedInputStream.h index 7781036896..cc61c2bed8 100644 --- a/modules/juce_core/streams/juce_BufferedInputStream.h +++ b/modules/juce_core/streams/juce_BufferedInputStream.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_BUFFEREDINPUTSTREAM_H_INCLUDED -#define JUCE_BUFFEREDINPUTSTREAM_H_INCLUDED +#pragma once //============================================================================== @@ -90,5 +89,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (BufferedInputStream) }; - -#endif // JUCE_BUFFEREDINPUTSTREAM_H_INCLUDED diff --git a/modules/juce_core/streams/juce_FileInputSource.h b/modules/juce_core/streams/juce_FileInputSource.h index 33421037f1..a19c797c0e 100644 --- a/modules/juce_core/streams/juce_FileInputSource.h +++ b/modules/juce_core/streams/juce_FileInputSource.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_FILEINPUTSOURCE_H_INCLUDED -#define JUCE_FILEINPUTSOURCE_H_INCLUDED +#pragma once //============================================================================== @@ -63,6 +62,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FileInputSource) }; - - -#endif // JUCE_FILEINPUTSOURCE_H_INCLUDED diff --git a/modules/juce_core/streams/juce_InputSource.h b/modules/juce_core/streams/juce_InputSource.h index c5153af02e..ecfc802414 100644 --- a/modules/juce_core/streams/juce_InputSource.h +++ b/modules/juce_core/streams/juce_InputSource.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_INPUTSOURCE_H_INCLUDED -#define JUCE_INPUTSOURCE_H_INCLUDED +#pragma once //============================================================================== @@ -75,6 +74,3 @@ private: //============================================================================== JUCE_LEAK_DETECTOR (InputSource) }; - - -#endif // JUCE_INPUTSOURCE_H_INCLUDED diff --git a/modules/juce_core/streams/juce_InputStream.h b/modules/juce_core/streams/juce_InputStream.h index fcce077e9b..8d286997f0 100644 --- a/modules/juce_core/streams/juce_InputStream.h +++ b/modules/juce_core/streams/juce_InputStream.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_INPUTSTREAM_H_INCLUDED -#define JUCE_INPUTSTREAM_H_INCLUDED +#pragma once //============================================================================== @@ -264,5 +263,3 @@ protected: private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (InputStream) }; - -#endif // JUCE_INPUTSTREAM_H_INCLUDED diff --git a/modules/juce_core/streams/juce_MemoryInputStream.h b/modules/juce_core/streams/juce_MemoryInputStream.h index d0c9054da9..69df046822 100644 --- a/modules/juce_core/streams/juce_MemoryInputStream.h +++ b/modules/juce_core/streams/juce_MemoryInputStream.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MEMORYINPUTSTREAM_H_INCLUDED -#define JUCE_MEMORYINPUTSTREAM_H_INCLUDED +#pragma once //============================================================================== @@ -95,5 +94,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MemoryInputStream) }; - -#endif // JUCE_MEMORYINPUTSTREAM_H_INCLUDED diff --git a/modules/juce_core/streams/juce_MemoryOutputStream.h b/modules/juce_core/streams/juce_MemoryOutputStream.h index 595d6035e4..a4df194336 100644 --- a/modules/juce_core/streams/juce_MemoryOutputStream.h +++ b/modules/juce_core/streams/juce_MemoryOutputStream.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MEMORYOUTPUTSTREAM_H_INCLUDED -#define JUCE_MEMORYOUTPUTSTREAM_H_INCLUDED +#pragma once //============================================================================== @@ -136,6 +135,3 @@ private: /** Copies all the data that has been written to a MemoryOutputStream into another stream. */ OutputStream& JUCE_CALLTYPE operator<< (OutputStream& stream, const MemoryOutputStream& streamToRead); - - -#endif // JUCE_MEMORYOUTPUTSTREAM_H_INCLUDED diff --git a/modules/juce_core/streams/juce_OutputStream.h b/modules/juce_core/streams/juce_OutputStream.h index bfcb6d0f3b..9f78fe76ee 100644 --- a/modules/juce_core/streams/juce_OutputStream.h +++ b/modules/juce_core/streams/juce_OutputStream.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_OUTPUTSTREAM_H_INCLUDED -#define JUCE_OUTPUTSTREAM_H_INCLUDED +#pragma once //============================================================================== @@ -274,6 +273,3 @@ JUCE_API OutputStream& JUCE_CALLTYPE operator<< (OutputStream& stream, InputStre @see OutputStream::setNewLineString */ JUCE_API OutputStream& JUCE_CALLTYPE operator<< (OutputStream& stream, const NewLine&); - - -#endif // JUCE_OUTPUTSTREAM_H_INCLUDED diff --git a/modules/juce_core/streams/juce_SubregionStream.h b/modules/juce_core/streams/juce_SubregionStream.h index 2bf967e9c0..5160eae1d4 100644 --- a/modules/juce_core/streams/juce_SubregionStream.h +++ b/modules/juce_core/streams/juce_SubregionStream.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_SUBREGIONSTREAM_H_INCLUDED -#define JUCE_SUBREGIONSTREAM_H_INCLUDED +#pragma once //============================================================================== @@ -86,5 +85,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (SubregionStream) }; - -#endif // JUCE_SUBREGIONSTREAM_H_INCLUDED diff --git a/modules/juce_core/system/juce_CompilerSupport.h b/modules/juce_core/system/juce_CompilerSupport.h index a4bc0dea51..8285b70533 100644 --- a/modules/juce_core/system/juce_CompilerSupport.h +++ b/modules/juce_core/system/juce_CompilerSupport.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_COMPILERSUPPORT_H_INCLUDED -#define JUCE_COMPILERSUPPORT_H_INCLUDED +#pragma once /* This file has some checks to see whether the compiler supports various C++11/14 features, When these aren't available, the code defines a few workarounds, so that we can still use @@ -156,5 +155,3 @@ #define override #endif #endif - -#endif // JUCE_COMPILERSUPPORT_H_INCLUDED diff --git a/modules/juce_core/system/juce_PlatformDefs.h b/modules/juce_core/system/juce_PlatformDefs.h index cd0fe95155..7616707a6c 100644 --- a/modules/juce_core/system/juce_PlatformDefs.h +++ b/modules/juce_core/system/juce_PlatformDefs.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_PLATFORMDEFS_H_INCLUDED -#define JUCE_PLATFORMDEFS_H_INCLUDED +#pragma once //============================================================================== /* This file defines miscellaneous macros for debugging, assertions, etc. @@ -300,5 +299,3 @@ #else #define JUCE_NO_ASSOCIATIVE_MATH_OPTIMISATIONS #endif - -#endif // JUCE_PLATFORMDEFS_H_INCLUDED diff --git a/modules/juce_core/system/juce_StandardHeader.h b/modules/juce_core/system/juce_StandardHeader.h index da92a55d6b..0f33dd9aac 100644 --- a/modules/juce_core/system/juce_StandardHeader.h +++ b/modules/juce_core/system/juce_StandardHeader.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_STANDARDHEADER_H_INCLUDED -#define JUCE_STANDARDHEADER_H_INCLUDED +#pragma once //============================================================================== /** Current JUCE version number. @@ -157,5 +156,3 @@ #ifndef DOXYGEN #define JUCE_NAMESPACE juce // This old macro is deprecated: you should just use the juce namespace directly. #endif - -#endif // JUCE_STANDARDHEADER_H_INCLUDED diff --git a/modules/juce_core/system/juce_SystemStats.h b/modules/juce_core/system/juce_SystemStats.h index 6ae5b47b06..1ee5629e76 100644 --- a/modules/juce_core/system/juce_SystemStats.h +++ b/modules/juce_core/system/juce_SystemStats.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_SYSTEMSTATS_H_INCLUDED -#define JUCE_SYSTEMSTATS_H_INCLUDED +#pragma once //============================================================================== @@ -208,6 +207,3 @@ private: JUCE_DECLARE_NON_COPYABLE (SystemStats) }; - - -#endif // JUCE_SYSTEMSTATS_H_INCLUDED diff --git a/modules/juce_core/system/juce_TargetPlatform.h b/modules/juce_core/system/juce_TargetPlatform.h index bcd06e8fbc..9fa3a5cdfc 100644 --- a/modules/juce_core/system/juce_TargetPlatform.h +++ b/modules/juce_core/system/juce_TargetPlatform.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_TARGETPLATFORM_H_INCLUDED -#define JUCE_TARGETPLATFORM_H_INCLUDED +#pragma once //============================================================================== /* This file figures out which platform is being built, and defines some macros @@ -212,5 +211,3 @@ #else #error unknown compiler #endif - -#endif // JUCE_TARGETPLATFORM_H_INCLUDED diff --git a/modules/juce_core/text/juce_Base64.h b/modules/juce_core/text/juce_Base64.h index 55fb1b924b..2e54e75af0 100644 --- a/modules/juce_core/text/juce_Base64.h +++ b/modules/juce_core/text/juce_Base64.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_BASE64_H_INCLUDED -#define JUCE_BASE64_H_INCLUDED +#pragma once /** @@ -56,6 +55,3 @@ struct JUCE_API Base64 /** Converts a string's UTF-8 representation to a base-64 string. */ static String toBase64 (const String& textToEncode); }; - - -#endif // JUCE_BASE64_H_INCLUDED diff --git a/modules/juce_core/text/juce_CharPointer_ASCII.h b/modules/juce_core/text/juce_CharPointer_ASCII.h index ae0183e311..e4ade30462 100644 --- a/modules/juce_core/text/juce_CharPointer_ASCII.h +++ b/modules/juce_core/text/juce_CharPointer_ASCII.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_CHARPOINTER_ASCII_H_INCLUDED -#define JUCE_CHARPOINTER_ASCII_H_INCLUDED +#pragma once //============================================================================== @@ -380,6 +379,3 @@ public: private: CharType* data; }; - - -#endif // JUCE_CHARPOINTER_ASCII_H_INCLUDED diff --git a/modules/juce_core/text/juce_CharPointer_UTF16.h b/modules/juce_core/text/juce_CharPointer_UTF16.h index a982f7f99f..591301435a 100644 --- a/modules/juce_core/text/juce_CharPointer_UTF16.h +++ b/modules/juce_core/text/juce_CharPointer_UTF16.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_CHARPOINTER_UTF16_H_INCLUDED -#define JUCE_CHARPOINTER_UTF16_H_INCLUDED +#pragma once //============================================================================== @@ -522,6 +521,3 @@ private: return n; } }; - - -#endif // JUCE_CHARPOINTER_UTF16_H_INCLUDED diff --git a/modules/juce_core/text/juce_CharPointer_UTF32.h b/modules/juce_core/text/juce_CharPointer_UTF32.h index 426aec87e8..63bf8b5e4f 100644 --- a/modules/juce_core/text/juce_CharPointer_UTF32.h +++ b/modules/juce_core/text/juce_CharPointer_UTF32.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_CHARPOINTER_UTF32_H_INCLUDED -#define JUCE_CHARPOINTER_UTF32_H_INCLUDED +#pragma once //============================================================================== @@ -375,6 +374,3 @@ public: private: CharType* data; }; - - -#endif // JUCE_CHARPOINTER_UTF32_H_INCLUDED diff --git a/modules/juce_core/text/juce_CharPointer_UTF8.h b/modules/juce_core/text/juce_CharPointer_UTF8.h index 357010735d..2b09a16315 100644 --- a/modules/juce_core/text/juce_CharPointer_UTF8.h +++ b/modules/juce_core/text/juce_CharPointer_UTF8.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_CHARPOINTER_UTF8_H_INCLUDED -#define JUCE_CHARPOINTER_UTF8_H_INCLUDED +#pragma once //============================================================================== /** @@ -568,5 +567,3 @@ public: private: CharType* data; }; - -#endif // JUCE_CHARPOINTER_UTF8_H_INCLUDED diff --git a/modules/juce_core/text/juce_CharacterFunctions.h b/modules/juce_core/text/juce_CharacterFunctions.h index c4920072e6..b5987e05d8 100644 --- a/modules/juce_core/text/juce_CharacterFunctions.h +++ b/modules/juce_core/text/juce_CharacterFunctions.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_CHARACTERFUNCTIONS_H_INCLUDED -#define JUCE_CHARACTERFUNCTIONS_H_INCLUDED +#pragma once //============================================================================== @@ -647,6 +646,3 @@ public: private: static double mulexp10 (const double value, int exponent) noexcept; }; - - -#endif // JUCE_CHARACTERFUNCTIONS_H_INCLUDED diff --git a/modules/juce_core/text/juce_Identifier.h b/modules/juce_core/text/juce_Identifier.h index 9631d0d561..d86748fb3a 100644 --- a/modules/juce_core/text/juce_Identifier.h +++ b/modules/juce_core/text/juce_Identifier.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_IDENTIFIER_H_INCLUDED -#define JUCE_IDENTIFIER_H_INCLUDED +#pragma once //============================================================================== @@ -135,6 +134,3 @@ public: private: String name; }; - - -#endif // JUCE_IDENTIFIER_H_INCLUDED diff --git a/modules/juce_core/text/juce_LocalisedStrings.h b/modules/juce_core/text/juce_LocalisedStrings.h index 465ffa3ab4..0560f8a277 100644 --- a/modules/juce_core/text/juce_LocalisedStrings.h +++ b/modules/juce_core/text/juce_LocalisedStrings.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_LOCALISEDSTRINGS_H_INCLUDED -#define JUCE_LOCALISEDSTRINGS_H_INCLUDED +#pragma once //============================================================================== @@ -244,6 +243,3 @@ JUCE_API String translate (CharPointer_UTF8 stringLiteral); @see LocalisedStrings */ JUCE_API String translate (const String& stringLiteral, const String& resultIfNotFound); - - -#endif // JUCE_LOCALISEDSTRINGS_H_INCLUDED diff --git a/modules/juce_core/text/juce_NewLine.h b/modules/juce_core/text/juce_NewLine.h index fef928344e..d01bc3485b 100644 --- a/modules/juce_core/text/juce_NewLine.h +++ b/modules/juce_core/text/juce_NewLine.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_NEWLINE_H_INCLUDED -#define JUCE_NEWLINE_H_INCLUDED +#pragma once //============================================================================== @@ -85,6 +84,3 @@ inline String& operator+= (String& s1, const NewLine&) { return s1 += NewLi inline String operator+ (const NewLine&, const NewLine&) { return String (NewLine::getDefault()) + NewLine::getDefault(); } inline String operator+ (String s1, const NewLine&) { return s1 += NewLine::getDefault(); } inline String operator+ (const NewLine&, const char* s2) { return String (NewLine::getDefault()) + s2; } - - -#endif // JUCE_NEWLINE_H_INCLUDED diff --git a/modules/juce_core/text/juce_String.h b/modules/juce_core/text/juce_String.h index 4d59bc74b8..2fc5a1616e 100644 --- a/modules/juce_core/text/juce_String.h +++ b/modules/juce_core/text/juce_String.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_STRING_H_INCLUDED -#define JUCE_STRING_H_INCLUDED +#pragma once //============================================================================== @@ -1389,6 +1388,3 @@ JUCE_API OutputStream& JUCE_CALLTYPE operator<< (OutputStream& stream, const Str /** Writes a string to an OutputStream as UTF8. */ JUCE_API OutputStream& JUCE_CALLTYPE operator<< (OutputStream& stream, StringRef stringToWrite); - - -#endif // JUCE_STRING_H_INCLUDED diff --git a/modules/juce_core/text/juce_StringArray.h b/modules/juce_core/text/juce_StringArray.h index 8c5beb7667..25cabb48bd 100644 --- a/modules/juce_core/text/juce_StringArray.h +++ b/modules/juce_core/text/juce_StringArray.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_STRINGARRAY_H_INCLUDED -#define JUCE_STRINGARRAY_H_INCLUDED +#pragma once //============================================================================== @@ -432,6 +431,3 @@ public: private: JUCE_LEAK_DETECTOR (StringArray) }; - - -#endif // JUCE_STRINGARRAY_H_INCLUDED diff --git a/modules/juce_core/text/juce_StringPairArray.h b/modules/juce_core/text/juce_StringPairArray.h index fd1eb7c33d..f222f99bdc 100644 --- a/modules/juce_core/text/juce_StringPairArray.h +++ b/modules/juce_core/text/juce_StringPairArray.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_STRINGPAIRARRAY_H_INCLUDED -#define JUCE_STRINGPAIRARRAY_H_INCLUDED +#pragma once //============================================================================== @@ -154,6 +153,3 @@ private: JUCE_LEAK_DETECTOR (StringPairArray) }; - - -#endif // JUCE_STRINGPAIRARRAY_H_INCLUDED diff --git a/modules/juce_core/text/juce_StringPool.h b/modules/juce_core/text/juce_StringPool.h index 25d5baa7a9..28665ba93c 100644 --- a/modules/juce_core/text/juce_StringPool.h +++ b/modules/juce_core/text/juce_StringPool.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_STRINGPOOL_H_INCLUDED -#define JUCE_STRINGPOOL_H_INCLUDED +#pragma once //============================================================================== @@ -93,6 +92,3 @@ private: JUCE_DECLARE_NON_COPYABLE (StringPool) }; - - -#endif // JUCE_STRINGPOOL_H_INCLUDED diff --git a/modules/juce_core/text/juce_StringRef.h b/modules/juce_core/text/juce_StringRef.h index f34268c834..9b1c568a15 100644 --- a/modules/juce_core/text/juce_StringRef.h +++ b/modules/juce_core/text/juce_StringRef.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_STRINGREF_H_INCLUDED -#define JUCE_STRINGREF_H_INCLUDED +#pragma once //============================================================================== /** @@ -137,6 +136,3 @@ inline String operator+ (String s1, StringRef s2) { return s1 += Strin inline String operator+ (StringRef s1, const String& s2) { return String (s1.text) + s2; } inline String operator+ (const char* s1, StringRef s2) { return String (s1) + String (s2.text); } inline String operator+ (StringRef s1, const char* s2) { return String (s1.text) + String (s2); } - - -#endif // JUCE_STRINGREF_H_INCLUDED diff --git a/modules/juce_core/text/juce_TextDiff.h b/modules/juce_core/text/juce_TextDiff.h index a1d6a6e2c8..84b83473e6 100644 --- a/modules/juce_core/text/juce_TextDiff.h +++ b/modules/juce_core/text/juce_TextDiff.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_TEXTDIFF_H_INCLUDED -#define JUCE_TEXTDIFF_H_INCLUDED +#pragma once /** @@ -77,6 +76,3 @@ public: */ Array changes; }; - - -#endif // JUCE_TEXTDIFF_H_INCLUDED diff --git a/modules/juce_core/threads/juce_ChildProcess.h b/modules/juce_core/threads/juce_ChildProcess.h index bf2d839f60..c384b700ad 100644 --- a/modules/juce_core/threads/juce_ChildProcess.h +++ b/modules/juce_core/threads/juce_ChildProcess.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_CHILDPROCESS_H_INCLUDED -#define JUCE_CHILDPROCESS_H_INCLUDED +#pragma once //============================================================================== @@ -116,6 +115,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ChildProcess) }; - - -#endif // JUCE_CHILDPROCESS_H_INCLUDED diff --git a/modules/juce_core/threads/juce_CriticalSection.h b/modules/juce_core/threads/juce_CriticalSection.h index 05dfb8f8cf..756573e8b2 100644 --- a/modules/juce_core/threads/juce_CriticalSection.h +++ b/modules/juce_core/threads/juce_CriticalSection.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_CRITICALSECTION_H_INCLUDED -#define JUCE_CRITICALSECTION_H_INCLUDED +#pragma once //============================================================================== @@ -263,6 +262,3 @@ typedef CriticalSection::ScopedUnlockType ScopedUnlock; @see CriticalSection::tryEnter, ScopedLock, ScopedUnlock, ScopedReadLock */ typedef CriticalSection::ScopedTryLockType ScopedTryLock; - - -#endif // JUCE_CRITICALSECTION_H_INCLUDED diff --git a/modules/juce_core/threads/juce_DynamicLibrary.h b/modules/juce_core/threads/juce_DynamicLibrary.h index 59912ecd98..c9edd66512 100644 --- a/modules/juce_core/threads/juce_DynamicLibrary.h +++ b/modules/juce_core/threads/juce_DynamicLibrary.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_DYNAMICLIBRARY_H_INCLUDED -#define JUCE_DYNAMICLIBRARY_H_INCLUDED +#pragma once /** Handles the opening and closing of DLLs. @@ -82,6 +81,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (DynamicLibrary) }; - - -#endif // JUCE_DYNAMICLIBRARY_H_INCLUDED diff --git a/modules/juce_core/threads/juce_HighResolutionTimer.h b/modules/juce_core/threads/juce_HighResolutionTimer.h index 0e8f2ba6d1..cba70cee5b 100644 --- a/modules/juce_core/threads/juce_HighResolutionTimer.h +++ b/modules/juce_core/threads/juce_HighResolutionTimer.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_HIGHRESOLUTIONTIMER_H_INCLUDED -#define JUCE_HIGHRESOLUTIONTIMER_H_INCLUDED +#pragma once /** A high-resolution periodic timer. @@ -106,6 +105,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (HighResolutionTimer) }; - - -#endif // JUCE_HIGHRESOLUTIONTIMER_H_INCLUDED diff --git a/modules/juce_core/threads/juce_InterProcessLock.h b/modules/juce_core/threads/juce_InterProcessLock.h index 10957cb0ae..d074663720 100644 --- a/modules/juce_core/threads/juce_InterProcessLock.h +++ b/modules/juce_core/threads/juce_InterProcessLock.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_INTERPROCESSLOCK_H_INCLUDED -#define JUCE_INTERPROCESSLOCK_H_INCLUDED +#pragma once //============================================================================== @@ -125,6 +124,3 @@ private: JUCE_DECLARE_NON_COPYABLE (InterProcessLock) }; - - -#endif // JUCE_INTERPROCESSLOCK_H_INCLUDED diff --git a/modules/juce_core/threads/juce_Process.h b/modules/juce_core/threads/juce_Process.h index b55d384886..3bedeba0ea 100644 --- a/modules/juce_core/threads/juce_Process.h +++ b/modules/juce_core/threads/juce_Process.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_PROCESS_H_INCLUDED -#define JUCE_PROCESS_H_INCLUDED +#pragma once //============================================================================== @@ -159,6 +158,3 @@ private: Process(); JUCE_DECLARE_NON_COPYABLE (Process) }; - - -#endif // JUCE_PROCESS_H_INCLUDED diff --git a/modules/juce_core/threads/juce_ReadWriteLock.h b/modules/juce_core/threads/juce_ReadWriteLock.h index 22263333a3..2d9ada6229 100644 --- a/modules/juce_core/threads/juce_ReadWriteLock.h +++ b/modules/juce_core/threads/juce_ReadWriteLock.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_READWRITELOCK_H_INCLUDED -#define JUCE_READWRITELOCK_H_INCLUDED +#pragma once //============================================================================== @@ -149,6 +148,3 @@ private: JUCE_DECLARE_NON_COPYABLE (ReadWriteLock) }; - - -#endif // JUCE_READWRITELOCK_H_INCLUDED diff --git a/modules/juce_core/threads/juce_ScopedLock.h b/modules/juce_core/threads/juce_ScopedLock.h index 043b91a6cd..fed7168c81 100644 --- a/modules/juce_core/threads/juce_ScopedLock.h +++ b/modules/juce_core/threads/juce_ScopedLock.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_SCOPEDLOCK_H_INCLUDED -#define JUCE_SCOPEDLOCK_H_INCLUDED +#pragma once //============================================================================== @@ -234,6 +233,3 @@ private: JUCE_DECLARE_NON_COPYABLE (GenericScopedTryLock) }; - - -#endif // JUCE_SCOPEDLOCK_H_INCLUDED diff --git a/modules/juce_core/threads/juce_ScopedReadLock.h b/modules/juce_core/threads/juce_ScopedReadLock.h index 391c22854a..ee21611aaa 100644 --- a/modules/juce_core/threads/juce_ScopedReadLock.h +++ b/modules/juce_core/threads/juce_ScopedReadLock.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_SCOPEDREADLOCK_H_INCLUDED -#define JUCE_SCOPEDREADLOCK_H_INCLUDED +#pragma once //============================================================================== @@ -87,6 +86,3 @@ private: JUCE_DECLARE_NON_COPYABLE (ScopedReadLock) }; - - -#endif // JUCE_SCOPEDREADLOCK_H_INCLUDED diff --git a/modules/juce_core/threads/juce_ScopedWriteLock.h b/modules/juce_core/threads/juce_ScopedWriteLock.h index 13e490ebd4..bad7a6a31d 100644 --- a/modules/juce_core/threads/juce_ScopedWriteLock.h +++ b/modules/juce_core/threads/juce_ScopedWriteLock.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_SCOPEDWRITELOCK_H_INCLUDED -#define JUCE_SCOPEDWRITELOCK_H_INCLUDED +#pragma once //============================================================================== @@ -87,6 +86,3 @@ private: JUCE_DECLARE_NON_COPYABLE (ScopedWriteLock) }; - - -#endif // JUCE_SCOPEDWRITELOCK_H_INCLUDED diff --git a/modules/juce_core/threads/juce_SpinLock.h b/modules/juce_core/threads/juce_SpinLock.h index 35e388e802..7c47e8b637 100644 --- a/modules/juce_core/threads/juce_SpinLock.h +++ b/modules/juce_core/threads/juce_SpinLock.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_SPINLOCK_H_INCLUDED -#define JUCE_SPINLOCK_H_INCLUDED +#pragma once //============================================================================== @@ -88,6 +87,3 @@ private: JUCE_DECLARE_NON_COPYABLE (SpinLock) }; - - -#endif // JUCE_SPINLOCK_H_INCLUDED diff --git a/modules/juce_core/threads/juce_Thread.h b/modules/juce_core/threads/juce_Thread.h index 76f8e374a9..43afc1a0f0 100644 --- a/modules/juce_core/threads/juce_Thread.h +++ b/modules/juce_core/threads/juce_Thread.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_THREAD_H_INCLUDED -#define JUCE_THREAD_H_INCLUDED +#pragma once //============================================================================== @@ -302,5 +301,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (Thread) }; - -#endif // JUCE_THREAD_H_INCLUDED diff --git a/modules/juce_core/threads/juce_ThreadLocalValue.h b/modules/juce_core/threads/juce_ThreadLocalValue.h index af7f21edcb..948407caa9 100644 --- a/modules/juce_core/threads/juce_ThreadLocalValue.h +++ b/modules/juce_core/threads/juce_ThreadLocalValue.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_THREADLOCALVALUE_H_INCLUDED -#define JUCE_THREADLOCALVALUE_H_INCLUDED +#pragma once // (NB: on win32, native thread-locals aren't possible in a dynamically loaded DLL in XP). #if ! ((JUCE_MSVC && (JUCE_64BIT || ! defined (JucePlugin_PluginCode))) \ @@ -195,6 +194,3 @@ private: JUCE_DECLARE_NON_COPYABLE (ThreadLocalValue) }; - - -#endif // JUCE_THREADLOCALVALUE_H_INCLUDED diff --git a/modules/juce_core/threads/juce_ThreadPool.h b/modules/juce_core/threads/juce_ThreadPool.h index 1a0a5fc4eb..b606e737e1 100644 --- a/modules/juce_core/threads/juce_ThreadPool.h +++ b/modules/juce_core/threads/juce_ThreadPool.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_THREADPOOL_H_INCLUDED -#define JUCE_THREADPOOL_H_INCLUDED +#pragma once class ThreadPool; class ThreadPoolThread; @@ -324,6 +323,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ThreadPool) }; - - -#endif // JUCE_THREADPOOL_H_INCLUDED diff --git a/modules/juce_core/threads/juce_TimeSliceThread.h b/modules/juce_core/threads/juce_TimeSliceThread.h index d5bb31a906..385acedac8 100644 --- a/modules/juce_core/threads/juce_TimeSliceThread.h +++ b/modules/juce_core/threads/juce_TimeSliceThread.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_TIMESLICETHREAD_H_INCLUDED -#define JUCE_TIMESLICETHREAD_H_INCLUDED +#pragma once class TimeSliceThread; @@ -146,6 +145,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (TimeSliceThread) }; - - -#endif // JUCE_TIMESLICETHREAD_H_INCLUDED diff --git a/modules/juce_core/threads/juce_WaitableEvent.h b/modules/juce_core/threads/juce_WaitableEvent.h index 6c9b9ed496..a3a5545fae 100644 --- a/modules/juce_core/threads/juce_WaitableEvent.h +++ b/modules/juce_core/threads/juce_WaitableEvent.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_WAITABLEEVENT_H_INCLUDED -#define JUCE_WAITABLEEVENT_H_INCLUDED +#pragma once //============================================================================== @@ -115,6 +114,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (WaitableEvent) }; - - -#endif // JUCE_WAITABLEEVENT_H_INCLUDED diff --git a/modules/juce_core/time/juce_PerformanceCounter.h b/modules/juce_core/time/juce_PerformanceCounter.h index 5463a00a80..c90e1eb88c 100644 --- a/modules/juce_core/time/juce_PerformanceCounter.h +++ b/modules/juce_core/time/juce_PerformanceCounter.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_PERFORMANCECOUNTER_H_INCLUDED -#define JUCE_PERFORMANCECOUNTER_H_INCLUDED +#pragma once //============================================================================== @@ -124,6 +123,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (PerformanceCounter) }; - - -#endif // JUCE_PERFORMANCECOUNTER_H_INCLUDED diff --git a/modules/juce_core/time/juce_RelativeTime.h b/modules/juce_core/time/juce_RelativeTime.h index ba942cbcc1..2772e176e1 100644 --- a/modules/juce_core/time/juce_RelativeTime.h +++ b/modules/juce_core/time/juce_RelativeTime.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_RELATIVETIME_H_INCLUDED -#define JUCE_RELATIVETIME_H_INCLUDED +#pragma once //============================================================================== @@ -180,7 +179,3 @@ bool operator<= (RelativeTime t1, RelativeTime t2) noexcept; RelativeTime operator+ (RelativeTime t1, RelativeTime t2) noexcept; /** Subtracts two RelativeTimes. */ RelativeTime operator- (RelativeTime t1, RelativeTime t2) noexcept; - - - -#endif // JUCE_RELATIVETIME_H_INCLUDED diff --git a/modules/juce_core/time/juce_Time.h b/modules/juce_core/time/juce_Time.h index c1345cb5cb..572480ddcd 100644 --- a/modules/juce_core/time/juce_Time.h +++ b/modules/juce_core/time/juce_Time.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_TIME_H_INCLUDED -#define JUCE_TIME_H_INCLUDED +#pragma once //============================================================================== @@ -412,6 +411,3 @@ JUCE_API bool operator<= (Time time1, Time time2) noexcept; JUCE_API bool operator> (Time time1, Time time2) noexcept; /** Compares two Time objects. */ JUCE_API bool operator>= (Time time1, Time time2) noexcept; - - -#endif // JUCE_TIME_H_INCLUDED diff --git a/modules/juce_core/unit_tests/juce_UnitTest.h b/modules/juce_core/unit_tests/juce_UnitTest.h index 9029e94d79..db33a085ef 100644 --- a/modules/juce_core/unit_tests/juce_UnitTest.h +++ b/modules/juce_core/unit_tests/juce_UnitTest.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_UNITTEST_H_INCLUDED -#define JUCE_UNITTEST_H_INCLUDED +#pragma once class UnitTestRunner; @@ -422,6 +421,3 @@ private: JUCE_DECLARE_NON_COPYABLE (UnitTestRunner) }; - - -#endif // JUCE_UNITTEST_H_INCLUDED diff --git a/modules/juce_core/xml/juce_XmlDocument.h b/modules/juce_core/xml/juce_XmlDocument.h index fad2a38d96..c091896805 100644 --- a/modules/juce_core/xml/juce_XmlDocument.h +++ b/modules/juce_core/xml/juce_XmlDocument.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_XMLDOCUMENT_H_INCLUDED -#define JUCE_XMLDOCUMENT_H_INCLUDED +#pragma once //============================================================================== @@ -178,6 +177,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (XmlDocument) }; - - -#endif // JUCE_XMLDOCUMENT_H_INCLUDED diff --git a/modules/juce_core/xml/juce_XmlElement.h b/modules/juce_core/xml/juce_XmlElement.h index 08df5ed914..c8e6ec7337 100644 --- a/modules/juce_core/xml/juce_XmlElement.h +++ b/modules/juce_core/xml/juce_XmlElement.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_XMLELEMENT_H_INCLUDED -#define JUCE_XMLELEMENT_H_INCLUDED +#pragma once //============================================================================== @@ -771,6 +770,3 @@ private: JUCE_LEAK_DETECTOR (XmlElement) }; - - -#endif // JUCE_XMLELEMENT_H_INCLUDED diff --git a/modules/juce_core/zip/juce_GZIPCompressorOutputStream.h b/modules/juce_core/zip/juce_GZIPCompressorOutputStream.h index 411ec37f56..b8a2839eb2 100644 --- a/modules/juce_core/zip/juce_GZIPCompressorOutputStream.h +++ b/modules/juce_core/zip/juce_GZIPCompressorOutputStream.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_GZIPCOMPRESSOROUTPUTSTREAM_H_INCLUDED -#define JUCE_GZIPCOMPRESSOROUTPUTSTREAM_H_INCLUDED +#pragma once //============================================================================== @@ -99,5 +98,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (GZIPCompressorOutputStream) }; - -#endif // JUCE_GZIPCOMPRESSOROUTPUTSTREAM_H_INCLUDED diff --git a/modules/juce_core/zip/juce_GZIPDecompressorInputStream.h b/modules/juce_core/zip/juce_GZIPDecompressorInputStream.h index fa1e5dfcfb..bdc2c662c3 100644 --- a/modules/juce_core/zip/juce_GZIPDecompressorInputStream.h +++ b/modules/juce_core/zip/juce_GZIPDecompressorInputStream.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_GZIPDECOMPRESSORINPUTSTREAM_H_INCLUDED -#define JUCE_GZIPDECOMPRESSORINPUTSTREAM_H_INCLUDED +#pragma once //============================================================================== @@ -107,5 +106,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (GZIPDecompressorInputStream) }; - -#endif // JUCE_GZIPDECOMPRESSORINPUTSTREAM_H_INCLUDED diff --git a/modules/juce_core/zip/juce_ZipFile.h b/modules/juce_core/zip/juce_ZipFile.h index 441f814f86..6410e2c828 100644 --- a/modules/juce_core/zip/juce_ZipFile.h +++ b/modules/juce_core/zip/juce_ZipFile.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_ZIPFILE_H_INCLUDED -#define JUCE_ZIPFILE_H_INCLUDED +#pragma once //============================================================================== @@ -263,5 +262,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ZipFile) }; - -#endif // JUCE_ZIPFILE_H_INCLUDED diff --git a/modules/juce_cryptography/encryption/juce_BlowFish.h b/modules/juce_cryptography/encryption/juce_BlowFish.h index 19f1673a30..be12d56c4f 100644 --- a/modules/juce_cryptography/encryption/juce_BlowFish.h +++ b/modules/juce_cryptography/encryption/juce_BlowFish.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_BLOWFISH_H_INCLUDED -#define JUCE_BLOWFISH_H_INCLUDED +#pragma once //============================================================================== @@ -106,6 +105,3 @@ private: JUCE_LEAK_DETECTOR (BlowFish) }; - - -#endif // JUCE_BLOWFISH_H_INCLUDED diff --git a/modules/juce_cryptography/encryption/juce_Primes.h b/modules/juce_cryptography/encryption/juce_Primes.h index e4f13b70cb..9262a19147 100644 --- a/modules/juce_cryptography/encryption/juce_Primes.h +++ b/modules/juce_cryptography/encryption/juce_Primes.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_PRIMES_H_INCLUDED -#define JUCE_PRIMES_H_INCLUDED +#pragma once //============================================================================== @@ -68,6 +67,3 @@ private: JUCE_DECLARE_NON_COPYABLE (Primes) }; - - -#endif // JUCE_PRIMES_H_INCLUDED diff --git a/modules/juce_cryptography/encryption/juce_RSAKey.h b/modules/juce_cryptography/encryption/juce_RSAKey.h index 160bc10a3f..59a24b5ba9 100644 --- a/modules/juce_cryptography/encryption/juce_RSAKey.h +++ b/modules/juce_cryptography/encryption/juce_RSAKey.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_RSAKEY_H_INCLUDED -#define JUCE_RSAKEY_H_INCLUDED +#pragma once //============================================================================== @@ -169,6 +168,3 @@ private: JUCE_LEAK_DETECTOR (RSAKey) }; - - -#endif // JUCE_RSAKEY_H_INCLUDED diff --git a/modules/juce_cryptography/hashing/juce_MD5.h b/modules/juce_cryptography/hashing/juce_MD5.h index 121bf41a82..cdfa14fe58 100644 --- a/modules/juce_cryptography/hashing/juce_MD5.h +++ b/modules/juce_cryptography/hashing/juce_MD5.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_MD5_H_INCLUDED -#define JUCE_MD5_H_INCLUDED +#pragma once //============================================================================== @@ -114,6 +113,3 @@ private: JUCE_LEAK_DETECTOR (MD5) }; - - -#endif // JUCE_MD5_H_INCLUDED diff --git a/modules/juce_cryptography/hashing/juce_SHA256.h b/modules/juce_cryptography/hashing/juce_SHA256.h index a5799ca418..8abc9b1146 100644 --- a/modules/juce_cryptography/hashing/juce_SHA256.h +++ b/modules/juce_cryptography/hashing/juce_SHA256.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_SHA256_H_INCLUDED -#define JUCE_SHA256_H_INCLUDED +#pragma once //============================================================================== @@ -102,6 +101,3 @@ private: JUCE_LEAK_DETECTOR (SHA256) }; - - -#endif // JUCE_SHA256_H_INCLUDED diff --git a/modules/juce_cryptography/hashing/juce_Whirlpool.h b/modules/juce_cryptography/hashing/juce_Whirlpool.h index 1ad5ac454e..35eb0a9264 100644 --- a/modules/juce_cryptography/hashing/juce_Whirlpool.h +++ b/modules/juce_cryptography/hashing/juce_Whirlpool.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_WHIRLPOOL_H_INCLUDED -#define JUCE_WHIRLPOOL_H_INCLUDED +#pragma once //============================================================================== @@ -108,6 +107,3 @@ private: JUCE_LEAK_DETECTOR (Whirlpool) }; - - -#endif // JUCE_WHIRLPOOL_H_INCLUDED diff --git a/modules/juce_cryptography/juce_cryptography.h b/modules/juce_cryptography/juce_cryptography.h index 5c77e82706..b600161973 100644 --- a/modules/juce_cryptography/juce_cryptography.h +++ b/modules/juce_cryptography/juce_cryptography.h @@ -46,8 +46,7 @@ *******************************************************************************/ -#ifndef JUCE_CRYPTOGRAPHY_H_INCLUDED -#define JUCE_CRYPTOGRAPHY_H_INCLUDED +#pragma once //============================================================================== #include @@ -63,5 +62,3 @@ namespace juce #include "hashing/juce_Whirlpool.h" } - -#endif // JUCE_CRYPTOGRAPHY_H_INCLUDED diff --git a/modules/juce_data_structures/app_properties/juce_ApplicationProperties.h b/modules/juce_data_structures/app_properties/juce_ApplicationProperties.h index fa201313d8..8827faf56e 100644 --- a/modules/juce_data_structures/app_properties/juce_ApplicationProperties.h +++ b/modules/juce_data_structures/app_properties/juce_ApplicationProperties.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_APPLICATIONPROPERTIES_H_INCLUDED -#define JUCE_APPLICATIONPROPERTIES_H_INCLUDED +#pragma once //============================================================================== @@ -127,6 +126,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ApplicationProperties) }; - - -#endif // JUCE_APPLICATIONPROPERTIES_H_INCLUDED diff --git a/modules/juce_data_structures/app_properties/juce_PropertiesFile.h b/modules/juce_data_structures/app_properties/juce_PropertiesFile.h index 40ad28e7e4..79256ede4d 100644 --- a/modules/juce_data_structures/app_properties/juce_PropertiesFile.h +++ b/modules/juce_data_structures/app_properties/juce_PropertiesFile.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_PROPERTIESFILE_H_INCLUDED -#define JUCE_PROPERTIESFILE_H_INCLUDED +#pragma once //============================================================================== @@ -247,5 +246,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (PropertiesFile) }; - -#endif // JUCE_PROPERTIESFILE_H_INCLUDED diff --git a/modules/juce_data_structures/juce_data_structures.h b/modules/juce_data_structures/juce_data_structures.h index d0fd5a8c1a..f3e307667a 100644 --- a/modules/juce_data_structures/juce_data_structures.h +++ b/modules/juce_data_structures/juce_data_structures.h @@ -46,8 +46,7 @@ *******************************************************************************/ -#ifndef JUCE_DATA_STRUCTURES_H_INCLUDED -#define JUCE_DATA_STRUCTURES_H_INCLUDED +#pragma once //============================================================================== #include @@ -65,5 +64,3 @@ namespace juce #include "app_properties/juce_ApplicationProperties.h" } - -#endif // JUCE_DATA_STRUCTURES_H_INCLUDED diff --git a/modules/juce_data_structures/undomanager/juce_UndoManager.h b/modules/juce_data_structures/undomanager/juce_UndoManager.h index 4bb9cf997f..8f5051edfe 100644 --- a/modules/juce_data_structures/undomanager/juce_UndoManager.h +++ b/modules/juce_data_structures/undomanager/juce_UndoManager.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_UNDOMANAGER_H_INCLUDED -#define JUCE_UNDOMANAGER_H_INCLUDED +#pragma once //============================================================================== @@ -241,6 +240,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (UndoManager) }; - - -#endif // JUCE_UNDOMANAGER_H_INCLUDED diff --git a/modules/juce_data_structures/undomanager/juce_UndoableAction.h b/modules/juce_data_structures/undomanager/juce_UndoableAction.h index c2bdd81e9d..ee93d12183 100644 --- a/modules/juce_data_structures/undomanager/juce_UndoableAction.h +++ b/modules/juce_data_structures/undomanager/juce_UndoableAction.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_UNDOABLEACTION_H_INCLUDED -#define JUCE_UNDOABLEACTION_H_INCLUDED +#pragma once //============================================================================== @@ -94,6 +93,3 @@ public: */ virtual UndoableAction* createCoalescedAction (UndoableAction* nextAction) { ignoreUnused (nextAction); return nullptr; } }; - - -#endif // JUCE_UNDOABLEACTION_H_INCLUDED diff --git a/modules/juce_data_structures/values/juce_CachedValue.h b/modules/juce_data_structures/values/juce_CachedValue.h index 3e9e476a8e..a24edd3426 100644 --- a/modules/juce_data_structures/values/juce_CachedValue.h +++ b/modules/juce_data_structures/values/juce_CachedValue.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_CACHEDVALUE_H_INCLUDED -#define JUCE_CACHEDVALUE_H_INCLUDED +#pragma once //============================================================================== @@ -307,5 +306,3 @@ inline void CachedValue::valueTreePropertyChanged (ValueTree& changedTree, if (changedProperty == targetProperty && targetTree == changedTree) forceUpdateOfCachedValue(); } - -#endif // JUCE_CACHEDVALUE_H_INCLUDED diff --git a/modules/juce_data_structures/values/juce_Value.h b/modules/juce_data_structures/values/juce_Value.h index dffbeafbb5..8c05436aaa 100644 --- a/modules/juce_data_structures/values/juce_Value.h +++ b/modules/juce_data_structures/values/juce_Value.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_VALUE_H_INCLUDED -#define JUCE_VALUE_H_INCLUDED +#pragma once //============================================================================== @@ -238,5 +237,3 @@ OutputStream& JUCE_CALLTYPE operator<< (OutputStream&, const Value&); /** This typedef is just for compatibility with old code - newer code should use the Value::Listener class directly. */ typedef Value::Listener ValueListener; - -#endif // JUCE_VALUE_H_INCLUDED diff --git a/modules/juce_data_structures/values/juce_ValueTree.h b/modules/juce_data_structures/values/juce_ValueTree.h index c3d28e4d99..3b944240bd 100644 --- a/modules/juce_data_structures/values/juce_ValueTree.h +++ b/modules/juce_data_structures/values/juce_ValueTree.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_VALUETREE_H_INCLUDED -#define JUCE_VALUETREE_H_INCLUDED +#pragma once //============================================================================== @@ -575,6 +574,3 @@ private: explicit ValueTree (SharedObject*) noexcept; }; - - -#endif // JUCE_VALUETREE_H_INCLUDED diff --git a/modules/juce_data_structures/values/juce_ValueTreeSynchroniser.h b/modules/juce_data_structures/values/juce_ValueTreeSynchroniser.h index 3773faf70f..21783bd11b 100644 --- a/modules/juce_data_structures/values/juce_ValueTreeSynchroniser.h +++ b/modules/juce_data_structures/values/juce_ValueTreeSynchroniser.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_VALUETREESYNCHRONISER_H_INCLUDED -#define JUCE_VALUETREESYNCHRONISER_H_INCLUDED +#pragma once //============================================================================== @@ -92,7 +91,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ValueTreeSynchroniser) }; - - - -#endif // JUCE_VALUETREESYNCHRONISER_H_INCLUDED diff --git a/modules/juce_events/broadcasters/juce_ActionBroadcaster.h b/modules/juce_events/broadcasters/juce_ActionBroadcaster.h index 7ed55575cb..e2052dcf9e 100644 --- a/modules/juce_events/broadcasters/juce_ActionBroadcaster.h +++ b/modules/juce_events/broadcasters/juce_ActionBroadcaster.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_ACTIONBROADCASTER_H_INCLUDED -#define JUCE_ACTIONBROADCASTER_H_INCLUDED +#pragma once //============================================================================== @@ -84,6 +83,3 @@ private: JUCE_DECLARE_NON_COPYABLE (ActionBroadcaster) }; - - -#endif // JUCE_ACTIONBROADCASTER_H_INCLUDED diff --git a/modules/juce_events/broadcasters/juce_ActionListener.h b/modules/juce_events/broadcasters/juce_ActionListener.h index a5ba45c199..74d9076440 100644 --- a/modules/juce_events/broadcasters/juce_ActionListener.h +++ b/modules/juce_events/broadcasters/juce_ActionListener.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_ACTIONLISTENER_H_INCLUDED -#define JUCE_ACTIONLISTENER_H_INCLUDED +#pragma once //============================================================================== @@ -51,6 +50,3 @@ public: */ virtual void actionListenerCallback (const String& message) = 0; }; - - -#endif // JUCE_ACTIONLISTENER_H_INCLUDED diff --git a/modules/juce_events/broadcasters/juce_AsyncUpdater.h b/modules/juce_events/broadcasters/juce_AsyncUpdater.h index 5c430d302c..ebe6cc7a9a 100644 --- a/modules/juce_events/broadcasters/juce_AsyncUpdater.h +++ b/modules/juce_events/broadcasters/juce_AsyncUpdater.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_ASYNCUPDATER_H_INCLUDED -#define JUCE_ASYNCUPDATER_H_INCLUDED +#pragma once //============================================================================== @@ -110,6 +109,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AsyncUpdater) }; - - -#endif // JUCE_ASYNCUPDATER_H_INCLUDED diff --git a/modules/juce_events/broadcasters/juce_ChangeBroadcaster.h b/modules/juce_events/broadcasters/juce_ChangeBroadcaster.h index 5670e86c13..b3692e3d25 100644 --- a/modules/juce_events/broadcasters/juce_ChangeBroadcaster.h +++ b/modules/juce_events/broadcasters/juce_ChangeBroadcaster.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_CHANGEBROADCASTER_H_INCLUDED -#define JUCE_CHANGEBROADCASTER_H_INCLUDED +#pragma once //============================================================================== @@ -106,6 +105,3 @@ private: JUCE_DECLARE_NON_COPYABLE (ChangeBroadcaster) }; - - -#endif // JUCE_CHANGEBROADCASTER_H_INCLUDED diff --git a/modules/juce_events/broadcasters/juce_ChangeListener.h b/modules/juce_events/broadcasters/juce_ChangeListener.h index e8e8e425c0..5b46f88360 100644 --- a/modules/juce_events/broadcasters/juce_ChangeListener.h +++ b/modules/juce_events/broadcasters/juce_ChangeListener.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_CHANGELISTENER_H_INCLUDED -#define JUCE_CHANGELISTENER_H_INCLUDED +#pragma once class ChangeBroadcaster; @@ -65,6 +64,3 @@ public: private: virtual int changeListenerCallback (void*) { return 0; } #endif }; - - -#endif // JUCE_CHANGELISTENER_H_INCLUDED diff --git a/modules/juce_events/interprocess/juce_ConnectedChildProcess.h b/modules/juce_events/interprocess/juce_ConnectedChildProcess.h index 80c953d11c..7244aa1f7e 100644 --- a/modules/juce_events/interprocess/juce_ConnectedChildProcess.h +++ b/modules/juce_events/interprocess/juce_ConnectedChildProcess.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_CONNECTEDCHILDPROCESS_H_INCLUDED -#define JUCE_CONNECTEDCHILDPROCESS_H_INCLUDED +#pragma once //============================================================================== /** @@ -193,6 +192,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ChildProcessMaster) }; - - -#endif // JUCE_CONNECTEDCHILDPROCESS_H_INCLUDED diff --git a/modules/juce_events/interprocess/juce_InterprocessConnection.h b/modules/juce_events/interprocess/juce_InterprocessConnection.h index ed8fc6da71..bb5708271d 100644 --- a/modules/juce_events/interprocess/juce_InterprocessConnection.h +++ b/modules/juce_events/interprocess/juce_InterprocessConnection.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_INTERPROCESSCONNECTION_H_INCLUDED -#define JUCE_INTERPROCESSCONNECTION_H_INCLUDED +#pragma once class InterprocessConnectionServer; class MemoryBlock; @@ -212,5 +211,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (InterprocessConnection) }; - -#endif // JUCE_INTERPROCESSCONNECTION_H_INCLUDED diff --git a/modules/juce_events/interprocess/juce_InterprocessConnectionServer.h b/modules/juce_events/interprocess/juce_InterprocessConnectionServer.h index f871dd9533..22a3f2a64a 100644 --- a/modules/juce_events/interprocess/juce_InterprocessConnectionServer.h +++ b/modules/juce_events/interprocess/juce_InterprocessConnectionServer.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_INTERPROCESSCONNECTIONSERVER_H_INCLUDED -#define JUCE_INTERPROCESSCONNECTIONSERVER_H_INCLUDED +#pragma once //============================================================================== @@ -101,6 +100,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (InterprocessConnectionServer) }; - - -#endif // JUCE_INTERPROCESSCONNECTIONSERVER_H_INCLUDED diff --git a/modules/juce_events/juce_events.h b/modules/juce_events/juce_events.h index bdddd8b996..68edca4e6c 100644 --- a/modules/juce_events/juce_events.h +++ b/modules/juce_events/juce_events.h @@ -53,8 +53,7 @@ *******************************************************************************/ -#ifndef JUCE_EVENTS_H_INCLUDED -#define JUCE_EVENTS_H_INCLUDED +#pragma once //============================================================================== #include @@ -88,5 +87,3 @@ namespace juce #endif } - -#endif // JUCE_EVENTS_H_INCLUDED diff --git a/modules/juce_events/messages/juce_ApplicationBase.h b/modules/juce_events/messages/juce_ApplicationBase.h index 748b86a441..f43f77dc60 100644 --- a/modules/juce_events/messages/juce_ApplicationBase.h +++ b/modules/juce_events/messages/juce_ApplicationBase.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_APPLICATIONBASE_H_INCLUDED -#define JUCE_APPLICATIONBASE_H_INCLUDED +#pragma once //============================================================================== @@ -306,6 +305,3 @@ private: #define JUCE_TRY #define JUCE_CATCH_EXCEPTION #endif - - -#endif // JUCE_APPLICATIONBASE_H_INCLUDED diff --git a/modules/juce_events/messages/juce_CallbackMessage.h b/modules/juce_events/messages/juce_CallbackMessage.h index 23c70621b7..fc9099d298 100644 --- a/modules/juce_events/messages/juce_CallbackMessage.h +++ b/modules/juce_events/messages/juce_CallbackMessage.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_CALLBACKMESSAGE_H_INCLUDED -#define JUCE_CALLBACKMESSAGE_H_INCLUDED +#pragma once //============================================================================== @@ -74,6 +73,3 @@ private: // messages still in the system event queue. These aren't harmful, but can cause annoying assertions. JUCE_DECLARE_NON_COPYABLE (CallbackMessage) }; - - -#endif // JUCE_CALLBACKMESSAGE_H_INCLUDED diff --git a/modules/juce_events/messages/juce_DeletedAtShutdown.h b/modules/juce_events/messages/juce_DeletedAtShutdown.h index e1563229cc..9743c119a7 100644 --- a/modules/juce_events/messages/juce_DeletedAtShutdown.h +++ b/modules/juce_events/messages/juce_DeletedAtShutdown.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_DELETEDATSHUTDOWN_H_INCLUDED -#define JUCE_DELETEDATSHUTDOWN_H_INCLUDED +#pragma once //============================================================================== @@ -70,5 +69,3 @@ private: JUCE_DECLARE_NON_COPYABLE (DeletedAtShutdown) }; - -#endif // JUCE_DELETEDATSHUTDOWN_H_INCLUDED diff --git a/modules/juce_events/messages/juce_Initialisation.h b/modules/juce_events/messages/juce_Initialisation.h index f807106282..26e9dab4fc 100644 --- a/modules/juce_events/messages/juce_Initialisation.h +++ b/modules/juce_events/messages/juce_Initialisation.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_INITIALISATION_H_INCLUDED -#define JUCE_INITIALISATION_H_INCLUDED +#pragma once //============================================================================== @@ -164,5 +163,3 @@ public: #endif #endif - -#endif // JUCE_INITIALISATION_H_INCLUDED diff --git a/modules/juce_events/messages/juce_Message.h b/modules/juce_events/messages/juce_Message.h index a3aa824693..bc524127ef 100644 --- a/modules/juce_events/messages/juce_Message.h +++ b/modules/juce_events/messages/juce_Message.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MESSAGE_H_INCLUDED -#define JUCE_MESSAGE_H_INCLUDED +#pragma once class MessageListener; @@ -66,6 +65,3 @@ private: // messages still in the system event queue. These aren't harmful, but can cause annoying assertions. JUCE_DECLARE_NON_COPYABLE (Message) }; - - -#endif // JUCE_MESSAGE_H_INCLUDED diff --git a/modules/juce_events/messages/juce_MessageListener.h b/modules/juce_events/messages/juce_MessageListener.h index 2d8ddfcdfd..e2656c2a9a 100644 --- a/modules/juce_events/messages/juce_MessageListener.h +++ b/modules/juce_events/messages/juce_MessageListener.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MESSAGELISTENER_H_INCLUDED -#define JUCE_MESSAGELISTENER_H_INCLUDED +#pragma once //============================================================================== @@ -73,6 +72,3 @@ private: WeakReference::Master masterReference; friend class WeakReference; }; - - -#endif // JUCE_MESSAGELISTENER_H_INCLUDED diff --git a/modules/juce_events/messages/juce_MessageManager.h b/modules/juce_events/messages/juce_MessageManager.h index fa7893d1a6..762b075ebd 100644 --- a/modules/juce_events/messages/juce_MessageManager.h +++ b/modules/juce_events/messages/juce_MessageManager.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MESSAGEMANAGER_H_INCLUDED -#define JUCE_MESSAGEMANAGER_H_INCLUDED +#pragma once class MessageManagerLock; class ThreadPoolJob; @@ -338,6 +337,3 @@ private: JUCE_DECLARE_NON_COPYABLE (MessageManagerLock) }; - - -#endif // JUCE_MESSAGEMANAGER_H_INCLUDED diff --git a/modules/juce_events/messages/juce_MountedVolumeListChangeDetector.h b/modules/juce_events/messages/juce_MountedVolumeListChangeDetector.h index 6d60bd4835..1ce00df58c 100644 --- a/modules/juce_events/messages/juce_MountedVolumeListChangeDetector.h +++ b/modules/juce_events/messages/juce_MountedVolumeListChangeDetector.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MOUNTEDVOLUMELISTCHANGEDETECTOR_H_INCLUDED -#define JUCE_MOUNTEDVOLUMELISTCHANGEDETECTOR_H_INCLUDED +#pragma once #if JUCE_MAC || JUCE_WINDOWS || defined (DOXYGEN) @@ -61,5 +60,3 @@ private: }; #endif - -#endif // JUCE_MOUNTEDVOLUMELISTCHANGEDETECTOR_H_INCLUDED diff --git a/modules/juce_events/messages/juce_NotificationType.h b/modules/juce_events/messages/juce_NotificationType.h index c8fdbabde1..d567fb66b8 100644 --- a/modules/juce_events/messages/juce_NotificationType.h +++ b/modules/juce_events/messages/juce_NotificationType.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_NOTIFICATIONTYPE_H_INCLUDED -#define JUCE_NOTIFICATIONTYPE_H_INCLUDED +#pragma once //============================================================================== /** @@ -43,6 +42,3 @@ enum NotificationType sendNotificationSync, /**< Requests a synchronous notification. */ sendNotificationAsync, /**< Requests an asynchronous notification. */ }; - - -#endif // JUCE_NOTIFICATIONTYPE_H_INCLUDED diff --git a/modules/juce_events/native/juce_ScopedXLock.h b/modules/juce_events/native/juce_ScopedXLock.h index c48bd23793..418ca1047b 100644 --- a/modules/juce_events/native/juce_ScopedXLock.h +++ b/modules/juce_events/native/juce_ScopedXLock.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_SCOPEDXLOCK_H_INCLUDED -#define JUCE_SCOPEDXLOCK_H_INCLUDED +#pragma once //============================================================================== @@ -53,4 +52,3 @@ public: }; #endif -#endif // JUCE_SCOPEDXLOCK_H_INCLUDED diff --git a/modules/juce_events/native/juce_osx_MessageQueue.h b/modules/juce_events/native/juce_osx_MessageQueue.h index 076135b3cf..67680db2ee 100644 --- a/modules/juce_events/native/juce_osx_MessageQueue.h +++ b/modules/juce_events/native/juce_osx_MessageQueue.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_OSX_MESSAGEQUEUE_H_INCLUDED -#define JUCE_OSX_MESSAGEQUEUE_H_INCLUDED +#pragma once //============================================================================== /* An internal message pump class used in OSX and iOS. */ @@ -109,5 +108,3 @@ private: static_cast (info)->runLoopCallback(); } }; - -#endif // JUCE_OSX_MESSAGEQUEUE_H_INCLUDED diff --git a/modules/juce_events/native/juce_win32_HiddenMessageWindow.h b/modules/juce_events/native/juce_win32_HiddenMessageWindow.h index 41f1766513..fc3e3bcbb5 100644 --- a/modules/juce_events/native/juce_win32_HiddenMessageWindow.h +++ b/modules/juce_events/native/juce_win32_HiddenMessageWindow.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_WIN32_HIDDENMESSAGEWINDOW_H_INCLUDED -#define JUCE_WIN32_HIDDENMESSAGEWINDOW_H_INCLUDED +#pragma once //============================================================================== class HiddenMessageWindow @@ -139,5 +138,3 @@ private: systemDeviceChanged(); } }; - -#endif // JUCE_WIN32_HIDDENMESSAGEWINDOW_H_INCLUDED diff --git a/modules/juce_events/timers/juce_MultiTimer.h b/modules/juce_events/timers/juce_MultiTimer.h index 52152d2c30..39b98e9b9f 100644 --- a/modules/juce_events/timers/juce_MultiTimer.h +++ b/modules/juce_events/timers/juce_MultiTimer.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_MULTITIMER_H_INCLUDED -#define JUCE_MULTITIMER_H_INCLUDED +#pragma once //============================================================================== @@ -128,5 +127,3 @@ private: Timer* getCallback (int) const noexcept; MultiTimer& operator= (const MultiTimer&); }; - -#endif // JUCE_MULTITIMER_H_INCLUDED diff --git a/modules/juce_events/timers/juce_Timer.h b/modules/juce_events/timers/juce_Timer.h index f8b9e47011..7e9c27771c 100644 --- a/modules/juce_events/timers/juce_Timer.h +++ b/modules/juce_events/timers/juce_Timer.h @@ -28,8 +28,7 @@ ============================================================================== */ -#ifndef JUCE_TIMER_H_INCLUDED -#define JUCE_TIMER_H_INCLUDED +#pragma once //============================================================================== @@ -137,5 +136,3 @@ private: Timer& operator= (const Timer&) JUCE_DELETED_FUNCTION; }; - -#endif // JUCE_TIMER_H_INCLUDED diff --git a/modules/juce_graphics/colour/juce_Colour.h b/modules/juce_graphics/colour/juce_Colour.h index 85abc04efd..a89e9f42fd 100644 --- a/modules/juce_graphics/colour/juce_Colour.h +++ b/modules/juce_graphics/colour/juce_Colour.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_COLOUR_H_INCLUDED -#define JUCE_COLOUR_H_INCLUDED +#pragma once //============================================================================== @@ -362,6 +361,3 @@ private: //============================================================================== PixelARGB argb; }; - - -#endif // JUCE_COLOUR_H_INCLUDED diff --git a/modules/juce_graphics/colour/juce_ColourGradient.h b/modules/juce_graphics/colour/juce_ColourGradient.h index 542985b9c0..360950be7d 100644 --- a/modules/juce_graphics/colour/juce_ColourGradient.h +++ b/modules/juce_graphics/colour/juce_ColourGradient.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_COLOURGRADIENT_H_INCLUDED -#define JUCE_COLOURGRADIENT_H_INCLUDED +#pragma once //============================================================================== @@ -176,6 +175,3 @@ private: JUCE_LEAK_DETECTOR (ColourGradient) }; - - -#endif // JUCE_COLOURGRADIENT_H_INCLUDED diff --git a/modules/juce_graphics/colour/juce_Colours.h b/modules/juce_graphics/colour/juce_Colours.h index 86f3828791..02571d5bc8 100644 --- a/modules/juce_graphics/colour/juce_Colours.h +++ b/modules/juce_graphics/colour/juce_Colours.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_COLOURS_H_INCLUDED -#define JUCE_COLOURS_H_INCLUDED +#pragma once //============================================================================== @@ -103,5 +102,3 @@ private: JUCE_DECLARE_NON_COPYABLE (Colours) }; - -#endif // JUCE_COLOURS_H_INCLUDED diff --git a/modules/juce_graphics/colour/juce_FillType.h b/modules/juce_graphics/colour/juce_FillType.h index 21be8bd921..984ca3bf39 100644 --- a/modules/juce_graphics/colour/juce_FillType.h +++ b/modules/juce_graphics/colour/juce_FillType.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_FILLTYPE_H_INCLUDED -#define JUCE_FILLTYPE_H_INCLUDED +#pragma once //============================================================================== @@ -145,6 +144,3 @@ public: private: JUCE_LEAK_DETECTOR (FillType) }; - - -#endif // JUCE_FILLTYPE_H_INCLUDED diff --git a/modules/juce_graphics/colour/juce_PixelFormats.h b/modules/juce_graphics/colour/juce_PixelFormats.h index 0666dd79f4..44d8aeb31d 100644 --- a/modules/juce_graphics/colour/juce_PixelFormats.h +++ b/modules/juce_graphics/colour/juce_PixelFormats.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_PIXELFORMATS_H_INCLUDED -#define JUCE_PIXELFORMATS_H_INCLUDED +#pragma once //============================================================================== @@ -752,5 +751,3 @@ private: #if JUCE_MSVC #pragma pack (pop) #endif - -#endif // JUCE_PIXELFORMATS_H_INCLUDED diff --git a/modules/juce_graphics/contexts/juce_GraphicsContext.h b/modules/juce_graphics/contexts/juce_GraphicsContext.h index cb9f92e8d6..a6f5e239b1 100644 --- a/modules/juce_graphics/contexts/juce_GraphicsContext.h +++ b/modules/juce_graphics/contexts/juce_GraphicsContext.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_GRAPHICSCONTEXT_H_INCLUDED -#define JUCE_GRAPHICSCONTEXT_H_INCLUDED +#pragma once //============================================================================== @@ -751,6 +750,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (Graphics) }; - - -#endif // JUCE_GRAPHICSCONTEXT_H_INCLUDED diff --git a/modules/juce_graphics/contexts/juce_LowLevelGraphicsContext.h b/modules/juce_graphics/contexts/juce_LowLevelGraphicsContext.h index 30a305e38d..ea1237fd20 100644 --- a/modules/juce_graphics/contexts/juce_LowLevelGraphicsContext.h +++ b/modules/juce_graphics/contexts/juce_LowLevelGraphicsContext.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_LOWLEVELGRAPHICSCONTEXT_H_INCLUDED -#define JUCE_LOWLEVELGRAPHICSCONTEXT_H_INCLUDED +#pragma once //============================================================================== @@ -96,6 +95,3 @@ public: virtual void drawGlyph (int glyphNumber, const AffineTransform&) = 0; virtual bool drawTextLayout (const AttributedString&, const Rectangle&) { return false; } }; - - -#endif // JUCE_LOWLEVELGRAPHICSCONTEXT_H_INCLUDED diff --git a/modules/juce_graphics/contexts/juce_LowLevelGraphicsPostScriptRenderer.h b/modules/juce_graphics/contexts/juce_LowLevelGraphicsPostScriptRenderer.h index 94364f6bab..99ee7f3fee 100644 --- a/modules/juce_graphics/contexts/juce_LowLevelGraphicsPostScriptRenderer.h +++ b/modules/juce_graphics/contexts/juce_LowLevelGraphicsPostScriptRenderer.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_LOWLEVELGRAPHICSPOSTSCRIPTRENDERER_H_INCLUDED -#define JUCE_LOWLEVELGRAPHICSPOSTSCRIPTRENDERER_H_INCLUDED +#pragma once //============================================================================== @@ -115,7 +114,3 @@ protected: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LowLevelGraphicsPostScriptRenderer) }; - - - -#endif // JUCE_LOWLEVELGRAPHICSPOSTSCRIPTRENDERER_H_INCLUDED diff --git a/modules/juce_graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.h b/modules/juce_graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.h index 14f14a6280..112dae3ea1 100644 --- a/modules/juce_graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.h +++ b/modules/juce_graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_LOWLEVELGRAPHICSSOFTWARERENDERER_H_INCLUDED -#define JUCE_LOWLEVELGRAPHICSSOFTWARERENDERER_H_INCLUDED +#pragma once //============================================================================== @@ -51,6 +50,3 @@ public: private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LowLevelGraphicsSoftwareRenderer) }; - - -#endif // JUCE_LOWLEVELGRAPHICSSOFTWARERENDERER_H_INCLUDED diff --git a/modules/juce_graphics/effects/juce_DropShadowEffect.h b/modules/juce_graphics/effects/juce_DropShadowEffect.h index f8b0d8c681..1f0d12d75e 100644 --- a/modules/juce_graphics/effects/juce_DropShadowEffect.h +++ b/modules/juce_graphics/effects/juce_DropShadowEffect.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_DROPSHADOWEFFECT_H_INCLUDED -#define JUCE_DROPSHADOWEFFECT_H_INCLUDED +#pragma once //============================================================================== @@ -105,6 +104,3 @@ private: JUCE_LEAK_DETECTOR (DropShadowEffect) }; - - -#endif // JUCE_DROPSHADOWEFFECT_H_INCLUDED diff --git a/modules/juce_graphics/effects/juce_GlowEffect.h b/modules/juce_graphics/effects/juce_GlowEffect.h index df2fa3edf4..9a2d8a7c8d 100644 --- a/modules/juce_graphics/effects/juce_GlowEffect.h +++ b/modules/juce_graphics/effects/juce_GlowEffect.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_GLOWEFFECT_H_INCLUDED -#define JUCE_GLOWEFFECT_H_INCLUDED +#pragma once //============================================================================== @@ -69,6 +68,3 @@ private: JUCE_LEAK_DETECTOR (GlowEffect) }; - - -#endif // JUCE_GLOWEFFECT_H_INCLUDED diff --git a/modules/juce_graphics/effects/juce_ImageEffectFilter.h b/modules/juce_graphics/effects/juce_ImageEffectFilter.h index 84a5aaa03c..919e46f984 100644 --- a/modules/juce_graphics/effects/juce_ImageEffectFilter.h +++ b/modules/juce_graphics/effects/juce_ImageEffectFilter.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_IMAGEEFFECTFILTER_H_INCLUDED -#define JUCE_IMAGEEFFECTFILTER_H_INCLUDED +#pragma once //============================================================================== @@ -65,5 +64,3 @@ public: virtual ~ImageEffectFilter() {} }; - -#endif // JUCE_IMAGEEFFECTFILTER_H_INCLUDED diff --git a/modules/juce_graphics/fonts/juce_AttributedString.h b/modules/juce_graphics/fonts/juce_AttributedString.h index 1ab8c97638..3551fe14b2 100644 --- a/modules/juce_graphics/fonts/juce_AttributedString.h +++ b/modules/juce_graphics/fonts/juce_AttributedString.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_ATTRIBUTEDSTRING_H_INCLUDED -#define JUCE_ATTRIBUTEDSTRING_H_INCLUDED +#pragma once //============================================================================== @@ -202,5 +201,3 @@ private: JUCE_LEAK_DETECTOR (AttributedString) }; - -#endif // JUCE_ATTRIBUTEDSTRING_H_INCLUDED diff --git a/modules/juce_graphics/fonts/juce_CustomTypeface.h b/modules/juce_graphics/fonts/juce_CustomTypeface.h index ff365fd66b..5017df710c 100644 --- a/modules/juce_graphics/fonts/juce_CustomTypeface.h +++ b/modules/juce_graphics/fonts/juce_CustomTypeface.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_CUSTOMTYPEFACE_H_INCLUDED -#define JUCE_CUSTOMTYPEFACE_H_INCLUDED +#pragma once //============================================================================== @@ -160,5 +159,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (CustomTypeface) }; - -#endif // JUCE_CUSTOMTYPEFACE_H_INCLUDED diff --git a/modules/juce_graphics/fonts/juce_Font.h b/modules/juce_graphics/fonts/juce_Font.h index dd309cc318..55c9ffab1e 100644 --- a/modules/juce_graphics/fonts/juce_Font.h +++ b/modules/juce_graphics/fonts/juce_Font.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_FONT_H_INCLUDED -#define JUCE_FONT_H_INCLUDED +#pragma once //============================================================================== @@ -473,5 +472,3 @@ private: JUCE_LEAK_DETECTOR (Font) }; - -#endif // JUCE_FONT_H_INCLUDED diff --git a/modules/juce_graphics/fonts/juce_GlyphArrangement.h b/modules/juce_graphics/fonts/juce_GlyphArrangement.h index 09a5dcac36..b2a9b9f368 100644 --- a/modules/juce_graphics/fonts/juce_GlyphArrangement.h +++ b/modules/juce_graphics/fonts/juce_GlyphArrangement.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_GLYPHARRANGEMENT_H_INCLUDED -#define JUCE_GLYPHARRANGEMENT_H_INCLUDED +#pragma once //============================================================================== @@ -322,6 +321,3 @@ private: JUCE_LEAK_DETECTOR (GlyphArrangement) }; - - -#endif // JUCE_GLYPHARRANGEMENT_H_INCLUDED diff --git a/modules/juce_graphics/fonts/juce_TextLayout.h b/modules/juce_graphics/fonts/juce_TextLayout.h index a29e66dd72..24d2949d6d 100644 --- a/modules/juce_graphics/fonts/juce_TextLayout.h +++ b/modules/juce_graphics/fonts/juce_TextLayout.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_TEXTLAYOUT_H_INCLUDED -#define JUCE_TEXTLAYOUT_H_INCLUDED +#pragma once //============================================================================== @@ -190,5 +189,3 @@ private: JUCE_LEAK_DETECTOR (TextLayout) }; - -#endif // JUCE_TEXTLAYOUT_H_INCLUDED diff --git a/modules/juce_graphics/fonts/juce_Typeface.h b/modules/juce_graphics/fonts/juce_Typeface.h index e39fa6761a..fc6a3e88e8 100644 --- a/modules/juce_graphics/fonts/juce_Typeface.h +++ b/modules/juce_graphics/fonts/juce_Typeface.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_TYPEFACE_H_INCLUDED -#define JUCE_TYPEFACE_H_INCLUDED +#pragma once //============================================================================== @@ -156,6 +155,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (Typeface) }; - - -#endif // JUCE_TYPEFACE_H_INCLUDED diff --git a/modules/juce_graphics/geometry/juce_AffineTransform.h b/modules/juce_graphics/geometry/juce_AffineTransform.h index 7562aedbe0..918784da79 100644 --- a/modules/juce_graphics/geometry/juce_AffineTransform.h +++ b/modules/juce_graphics/geometry/juce_AffineTransform.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_AFFINETRANSFORM_H_INCLUDED -#define JUCE_AFFINETRANSFORM_H_INCLUDED +#pragma once //============================================================================== @@ -274,5 +273,3 @@ public: float mat00, mat01, mat02; float mat10, mat11, mat12; }; - -#endif // JUCE_AFFINETRANSFORM_H_INCLUDED diff --git a/modules/juce_graphics/geometry/juce_BorderSize.h b/modules/juce_graphics/geometry/juce_BorderSize.h index 1d2436f4c2..9928a0b06a 100644 --- a/modules/juce_graphics/geometry/juce_BorderSize.h +++ b/modules/juce_graphics/geometry/juce_BorderSize.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_BORDERSIZE_H_INCLUDED -#define JUCE_BORDERSIZE_H_INCLUDED +#pragma once //============================================================================== @@ -148,6 +147,3 @@ private: //============================================================================== ValueType top, left, bottom, right; }; - - -#endif // JUCE_BORDERSIZE_H_INCLUDED diff --git a/modules/juce_graphics/geometry/juce_EdgeTable.h b/modules/juce_graphics/geometry/juce_EdgeTable.h index 9f3d5eb63b..46e845a036 100644 --- a/modules/juce_graphics/geometry/juce_EdgeTable.h +++ b/modules/juce_graphics/geometry/juce_EdgeTable.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_EDGETABLE_H_INCLUDED -#define JUCE_EDGETABLE_H_INCLUDED +#pragma once //============================================================================== @@ -215,6 +214,3 @@ private: JUCE_LEAK_DETECTOR (EdgeTable) }; - - -#endif // JUCE_EDGETABLE_H_INCLUDED diff --git a/modules/juce_graphics/geometry/juce_Line.h b/modules/juce_graphics/geometry/juce_Line.h index dfd95cadd9..4f19af59af 100644 --- a/modules/juce_graphics/geometry/juce_Line.h +++ b/modules/juce_graphics/geometry/juce_Line.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_LINE_H_INCLUDED -#define JUCE_LINE_H_INCLUDED +#pragma once //============================================================================== @@ -425,6 +424,3 @@ private: return along2 >= 0 && along2 <= static_cast (1); } }; - - -#endif // JUCE_LINE_H_INCLUDED diff --git a/modules/juce_graphics/geometry/juce_Path.h b/modules/juce_graphics/geometry/juce_Path.h index 046f7c314f..46f5876cd0 100644 --- a/modules/juce_graphics/geometry/juce_Path.h +++ b/modules/juce_graphics/geometry/juce_Path.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_PATH_H_INCLUDED -#define JUCE_PATH_H_INCLUDED +#pragma once //============================================================================== @@ -828,5 +827,3 @@ private: JUCE_LEAK_DETECTOR (Path) }; - -#endif // JUCE_PATH_H_INCLUDED diff --git a/modules/juce_graphics/geometry/juce_PathIterator.h b/modules/juce_graphics/geometry/juce_PathIterator.h index 0e0c5de795..e636bff14c 100644 --- a/modules/juce_graphics/geometry/juce_PathIterator.h +++ b/modules/juce_graphics/geometry/juce_PathIterator.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_PATHITERATOR_H_INCLUDED -#define JUCE_PATHITERATOR_H_INCLUDED +#pragma once //============================================================================== @@ -105,6 +104,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (PathFlatteningIterator) }; - - -#endif // JUCE_PATHITERATOR_H_INCLUDED diff --git a/modules/juce_graphics/geometry/juce_PathStrokeType.h b/modules/juce_graphics/geometry/juce_PathStrokeType.h index 2f17bc5bf3..556548f89e 100644 --- a/modules/juce_graphics/geometry/juce_PathStrokeType.h +++ b/modules/juce_graphics/geometry/juce_PathStrokeType.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_PATHSTROKETYPE_H_INCLUDED -#define JUCE_PATHSTROKETYPE_H_INCLUDED +#pragma once //============================================================================== @@ -200,5 +199,3 @@ private: JUCE_LEAK_DETECTOR (PathStrokeType) }; - -#endif // JUCE_PATHSTROKETYPE_H_INCLUDED diff --git a/modules/juce_graphics/geometry/juce_Point.h b/modules/juce_graphics/geometry/juce_Point.h index 6f8f86385d..8943c82566 100644 --- a/modules/juce_graphics/geometry/juce_Point.h +++ b/modules/juce_graphics/geometry/juce_Point.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_POINT_H_INCLUDED -#define JUCE_POINT_H_INCLUDED +#pragma once //============================================================================== @@ -238,6 +237,3 @@ public: /** Multiplies the point's coordinates by a scalar value. */ template Point operator* (ValueType value, Point p) noexcept { return p * value; } - - -#endif // JUCE_POINT_H_INCLUDED diff --git a/modules/juce_graphics/geometry/juce_Rectangle.h b/modules/juce_graphics/geometry/juce_Rectangle.h index bd13c30d29..bd3e90ca81 100644 --- a/modules/juce_graphics/geometry/juce_Rectangle.h +++ b/modules/juce_graphics/geometry/juce_Rectangle.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_RECTANGLE_H_INCLUDED -#define JUCE_RECTANGLE_H_INCLUDED +#pragma once //============================================================================== @@ -974,6 +973,3 @@ private: static int ceilAsInt (float n) noexcept { return (int) std::ceil (n); } static int ceilAsInt (double n) noexcept { return (int) std::ceil (n); } }; - - -#endif // JUCE_RECTANGLE_H_INCLUDED diff --git a/modules/juce_graphics/geometry/juce_RectangleList.h b/modules/juce_graphics/geometry/juce_RectangleList.h index b9328faaba..3d1273df62 100644 --- a/modules/juce_graphics/geometry/juce_RectangleList.h +++ b/modules/juce_graphics/geometry/juce_RectangleList.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_RECTANGLELIST_H_INCLUDED -#define JUCE_RECTANGLELIST_H_INCLUDED +#pragma once //============================================================================== @@ -657,6 +656,3 @@ private: //============================================================================== Array rects; }; - - -#endif // JUCE_RECTANGLELIST_H_INCLUDED diff --git a/modules/juce_graphics/images/juce_Image.h b/modules/juce_graphics/images/juce_Image.h index 13cbcfa136..cca76d1178 100644 --- a/modules/juce_graphics/images/juce_Image.h +++ b/modules/juce_graphics/images/juce_Image.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_IMAGE_H_INCLUDED -#define JUCE_IMAGE_H_INCLUDED +#pragma once class ImageType; class ImagePixelData; @@ -537,6 +536,3 @@ public: ImagePixelData::Ptr create (Image::PixelFormat, int width, int height, bool clearImage) const override; int getTypeID() const override; }; - - -#endif // JUCE_IMAGE_H_INCLUDED diff --git a/modules/juce_graphics/images/juce_ImageCache.h b/modules/juce_graphics/images/juce_ImageCache.h index 77bdc60815..a544c84603 100644 --- a/modules/juce_graphics/images/juce_ImageCache.h +++ b/modules/juce_graphics/images/juce_ImageCache.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_IMAGECACHE_H_INCLUDED -#define JUCE_IMAGECACHE_H_INCLUDED +#pragma once //============================================================================== @@ -121,5 +120,3 @@ private: JUCE_DECLARE_NON_COPYABLE (ImageCache) }; - -#endif // JUCE_IMAGECACHE_H_INCLUDED diff --git a/modules/juce_graphics/images/juce_ImageConvolutionKernel.h b/modules/juce_graphics/images/juce_ImageConvolutionKernel.h index 43afc9e00f..443b92eddb 100644 --- a/modules/juce_graphics/images/juce_ImageConvolutionKernel.h +++ b/modules/juce_graphics/images/juce_ImageConvolutionKernel.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_IMAGECONVOLUTIONKERNEL_H_INCLUDED -#define JUCE_IMAGECONVOLUTIONKERNEL_H_INCLUDED +#pragma once //============================================================================== @@ -106,6 +105,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ImageConvolutionKernel) }; - - -#endif // JUCE_IMAGECONVOLUTIONKERNEL_H_INCLUDED diff --git a/modules/juce_graphics/images/juce_ImageFileFormat.h b/modules/juce_graphics/images/juce_ImageFileFormat.h index e54ede699d..de1b0eadc5 100644 --- a/modules/juce_graphics/images/juce_ImageFileFormat.h +++ b/modules/juce_graphics/images/juce_ImageFileFormat.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_IMAGEFILEFORMAT_H_INCLUDED -#define JUCE_IMAGEFILEFORMAT_H_INCLUDED +#pragma once //============================================================================== @@ -211,6 +210,3 @@ public: Image decodeImage (InputStream&) override; bool writeImageToStream (const Image&, OutputStream&) override; }; - - -#endif // JUCE_IMAGEFILEFORMAT_H_INCLUDED diff --git a/modules/juce_graphics/juce_graphics.h b/modules/juce_graphics/juce_graphics.h index 69fd59e04b..c879d31ac8 100644 --- a/modules/juce_graphics/juce_graphics.h +++ b/modules/juce_graphics/juce_graphics.h @@ -49,8 +49,7 @@ *******************************************************************************/ -#ifndef JUCE_GRAPHICS_H_INCLUDED // %% -#define JUCE_GRAPHICS_H_INCLUDED +#pragma once // %% #include #include @@ -141,5 +140,3 @@ class LowLevelGraphicsContext; #endif } - -#endif // JUCE_GRAPHICS_H_INCLUDED diff --git a/modules/juce_graphics/native/juce_RenderingHelpers.h b/modules/juce_graphics/native/juce_RenderingHelpers.h index 60df647e7f..8bb520c365 100644 --- a/modules/juce_graphics/native/juce_RenderingHelpers.h +++ b/modules/juce_graphics/native/juce_RenderingHelpers.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_RENDERINGHELPERS_H_INCLUDED -#define JUCE_RENDERINGHELPERS_H_INCLUDED +#pragma once #if JUCE_MSVC #pragma warning (push) @@ -2685,5 +2684,3 @@ protected: #if JUCE_MSVC #pragma warning (pop) #endif - -#endif // JUCE_RENDERINGHELPERS_H_INCLUDED diff --git a/modules/juce_graphics/native/juce_mac_CoreGraphicsContext.h b/modules/juce_graphics/native/juce_mac_CoreGraphicsContext.h index 4210c2acbb..ade13b9043 100644 --- a/modules/juce_graphics/native/juce_mac_CoreGraphicsContext.h +++ b/modules/juce_graphics/native/juce_mac_CoreGraphicsContext.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_MAC_COREGRAPHICSCONTEXT_H_INCLUDED -#define JUCE_MAC_COREGRAPHICSCONTEXT_H_INCLUDED +#pragma once //============================================================================== class CoreGraphicsContext : public LowLevelGraphicsContext @@ -109,5 +108,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (CoreGraphicsContext) }; - -#endif // JUCE_MAC_COREGRAPHICSCONTEXT_H_INCLUDED diff --git a/modules/juce_graphics/native/juce_mac_CoreGraphicsHelpers.h b/modules/juce_graphics/native/juce_mac_CoreGraphicsHelpers.h index 1982ea3db5..e9fdeadad4 100644 --- a/modules/juce_graphics/native/juce_mac_CoreGraphicsHelpers.h +++ b/modules/juce_graphics/native/juce_mac_CoreGraphicsHelpers.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_MAC_COREGRAPHICSHELPERS_H_INCLUDED -#define JUCE_MAC_COREGRAPHICSHELPERS_H_INCLUDED +#pragma once //============================================================================== @@ -56,5 +55,3 @@ namespace extern CGImageRef juce_createCoreGraphicsImage (const Image&, CGColorSpaceRef, bool mustOutliveSource); extern CGContextRef juce_getImageContext (const Image&); - -#endif // JUCE_MAC_COREGRAPHICSHELPERS_H_INCLUDED diff --git a/modules/juce_graphics/placement/juce_Justification.h b/modules/juce_graphics/placement/juce_Justification.h index c48ab7172c..ab8909336f 100644 --- a/modules/juce_graphics/placement/juce_Justification.h +++ b/modules/juce_graphics/placement/juce_Justification.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_JUSTIFICATION_H_INCLUDED -#define JUCE_JUSTIFICATION_H_INCLUDED +#pragma once //============================================================================== @@ -185,5 +184,3 @@ private: //============================================================================== int flags; }; - -#endif // JUCE_JUSTIFICATION_H_INCLUDED diff --git a/modules/juce_graphics/placement/juce_RectanglePlacement.h b/modules/juce_graphics/placement/juce_RectanglePlacement.h index dcbf38014d..56a1860a8d 100644 --- a/modules/juce_graphics/placement/juce_RectanglePlacement.h +++ b/modules/juce_graphics/placement/juce_RectanglePlacement.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_RECTANGLEPLACEMENT_H_INCLUDED -#define JUCE_RECTANGLEPLACEMENT_H_INCLUDED +#pragma once //============================================================================== @@ -168,5 +167,3 @@ private: //============================================================================== int flags; }; - -#endif // JUCE_RECTANGLEPLACEMENT_H_INCLUDED diff --git a/modules/juce_gui_basics/application/juce_Application.h b/modules/juce_gui_basics/application/juce_Application.h index b5c3f28efc..3d44262dd6 100644 --- a/modules/juce_gui_basics/application/juce_Application.h +++ b/modules/juce_gui_basics/application/juce_Application.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_APPLICATION_H_INCLUDED -#define JUCE_APPLICATION_H_INCLUDED +#pragma once //============================================================================== @@ -187,6 +186,3 @@ private: JUCE_DECLARE_NON_COPYABLE (JUCEApplication) }; - - -#endif // JUCE_APPLICATION_H_INCLUDED diff --git a/modules/juce_gui_basics/buttons/juce_ArrowButton.h b/modules/juce_gui_basics/buttons/juce_ArrowButton.h index 17efd6fd5c..b1abf72278 100644 --- a/modules/juce_gui_basics/buttons/juce_ArrowButton.h +++ b/modules/juce_gui_basics/buttons/juce_ArrowButton.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_ARROWBUTTON_H_INCLUDED -#define JUCE_ARROWBUTTON_H_INCLUDED +#pragma once //============================================================================== @@ -59,6 +58,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ArrowButton) }; - - -#endif // JUCE_ARROWBUTTON_H_INCLUDED diff --git a/modules/juce_gui_basics/buttons/juce_Button.h b/modules/juce_gui_basics/buttons/juce_Button.h index 47c6fab549..57fd4755f5 100644 --- a/modules/juce_gui_basics/buttons/juce_Button.h +++ b/modules/juce_gui_basics/buttons/juce_Button.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_BUTTON_H_INCLUDED -#define JUCE_BUTTON_H_INCLUDED +#pragma once //============================================================================== @@ -512,5 +511,3 @@ private: /** This typedef is just for compatibility with old code and VC6 - newer code should use Button::Listener instead. */ typedef Button::Listener ButtonListener; #endif - -#endif // JUCE_BUTTON_H_INCLUDED diff --git a/modules/juce_gui_basics/buttons/juce_DrawableButton.h b/modules/juce_gui_basics/buttons/juce_DrawableButton.h index 7c142bcd7d..8cc959c4fa 100644 --- a/modules/juce_gui_basics/buttons/juce_DrawableButton.h +++ b/modules/juce_gui_basics/buttons/juce_DrawableButton.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_DRAWABLEBUTTON_H_INCLUDED -#define JUCE_DRAWABLEBUTTON_H_INCLUDED +#pragma once //============================================================================== @@ -183,6 +182,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (DrawableButton) }; - - -#endif // JUCE_DRAWABLEBUTTON_H_INCLUDED diff --git a/modules/juce_gui_basics/buttons/juce_HyperlinkButton.h b/modules/juce_gui_basics/buttons/juce_HyperlinkButton.h index e40dae532f..88187b16ff 100644 --- a/modules/juce_gui_basics/buttons/juce_HyperlinkButton.h +++ b/modules/juce_gui_basics/buttons/juce_HyperlinkButton.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_HYPERLINKBUTTON_H_INCLUDED -#define JUCE_HYPERLINKBUTTON_H_INCLUDED +#pragma once //============================================================================== @@ -110,5 +109,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (HyperlinkButton) }; - -#endif // JUCE_HYPERLINKBUTTON_H_INCLUDED diff --git a/modules/juce_gui_basics/buttons/juce_ImageButton.h b/modules/juce_gui_basics/buttons/juce_ImageButton.h index e2669800d9..e4307f369d 100644 --- a/modules/juce_gui_basics/buttons/juce_ImageButton.h +++ b/modules/juce_gui_basics/buttons/juce_ImageButton.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_IMAGEBUTTON_H_INCLUDED -#define JUCE_IMAGEBUTTON_H_INCLUDED +#pragma once //============================================================================== @@ -155,6 +154,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ImageButton) }; - - -#endif // JUCE_IMAGEBUTTON_H_INCLUDED diff --git a/modules/juce_gui_basics/buttons/juce_ShapeButton.h b/modules/juce_gui_basics/buttons/juce_ShapeButton.h index 40329f256e..e4fbdfa1c1 100644 --- a/modules/juce_gui_basics/buttons/juce_ShapeButton.h +++ b/modules/juce_gui_basics/buttons/juce_ShapeButton.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_SHAPEBUTTON_H_INCLUDED -#define JUCE_SHAPEBUTTON_H_INCLUDED +#pragma once //============================================================================== @@ -120,6 +119,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ShapeButton) }; - - -#endif // JUCE_SHAPEBUTTON_H_INCLUDED diff --git a/modules/juce_gui_basics/buttons/juce_TextButton.h b/modules/juce_gui_basics/buttons/juce_TextButton.h index 161b389795..1c35774b27 100644 --- a/modules/juce_gui_basics/buttons/juce_TextButton.h +++ b/modules/juce_gui_basics/buttons/juce_TextButton.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_TEXTBUTTON_H_INCLUDED -#define JUCE_TEXTBUTTON_H_INCLUDED +#pragma once //============================================================================== @@ -108,6 +107,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (TextButton) }; - - -#endif // JUCE_TEXTBUTTON_H_INCLUDED diff --git a/modules/juce_gui_basics/buttons/juce_ToggleButton.h b/modules/juce_gui_basics/buttons/juce_ToggleButton.h index 291a320278..49966c73a2 100644 --- a/modules/juce_gui_basics/buttons/juce_ToggleButton.h +++ b/modules/juce_gui_basics/buttons/juce_ToggleButton.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_TOGGLEBUTTON_H_INCLUDED -#define JUCE_TOGGLEBUTTON_H_INCLUDED +#pragma once //============================================================================== @@ -84,6 +83,3 @@ protected: private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ToggleButton) }; - - -#endif // JUCE_TOGGLEBUTTON_H_INCLUDED diff --git a/modules/juce_gui_basics/buttons/juce_ToolbarButton.h b/modules/juce_gui_basics/buttons/juce_ToolbarButton.h index 9721aa8101..f468a885c1 100644 --- a/modules/juce_gui_basics/buttons/juce_ToolbarButton.h +++ b/modules/juce_gui_basics/buttons/juce_ToolbarButton.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_TOOLBARBUTTON_H_INCLUDED -#define JUCE_TOOLBARBUTTON_H_INCLUDED +#pragma once //============================================================================== @@ -92,6 +91,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ToolbarButton) }; - - -#endif // JUCE_TOOLBARBUTTON_H_INCLUDED diff --git a/modules/juce_gui_basics/commands/juce_ApplicationCommandID.h b/modules/juce_gui_basics/commands/juce_ApplicationCommandID.h index d24d49ed5d..cd6fdcc85b 100644 --- a/modules/juce_gui_basics/commands/juce_ApplicationCommandID.h +++ b/modules/juce_gui_basics/commands/juce_ApplicationCommandID.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_APPLICATIONCOMMANDID_H_INCLUDED -#define JUCE_APPLICATIONCOMMANDID_H_INCLUDED +#pragma once //============================================================================== @@ -86,6 +85,3 @@ namespace StandardApplicationCommandIDs redo = 0x1009 }; } - - -#endif // JUCE_APPLICATIONCOMMANDID_H_INCLUDED diff --git a/modules/juce_gui_basics/commands/juce_ApplicationCommandInfo.h b/modules/juce_gui_basics/commands/juce_ApplicationCommandInfo.h index 23c571b17a..27fb22d43b 100644 --- a/modules/juce_gui_basics/commands/juce_ApplicationCommandInfo.h +++ b/modules/juce_gui_basics/commands/juce_ApplicationCommandInfo.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_APPLICATIONCOMMANDINFO_H_INCLUDED -#define JUCE_APPLICATIONCOMMANDINFO_H_INCLUDED +#pragma once //============================================================================== @@ -184,6 +183,3 @@ struct JUCE_API ApplicationCommandInfo */ int flags; }; - - -#endif // JUCE_APPLICATIONCOMMANDINFO_H_INCLUDED diff --git a/modules/juce_gui_basics/commands/juce_ApplicationCommandManager.h b/modules/juce_gui_basics/commands/juce_ApplicationCommandManager.h index 4ace284250..0c86bba890 100644 --- a/modules/juce_gui_basics/commands/juce_ApplicationCommandManager.h +++ b/modules/juce_gui_basics/commands/juce_ApplicationCommandManager.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_APPLICATIONCOMMANDMANAGER_H_INCLUDED -#define JUCE_APPLICATIONCOMMANDMANAGER_H_INCLUDED +#pragma once //============================================================================== @@ -347,7 +346,3 @@ public: */ virtual void applicationCommandListChanged() = 0; }; - - - -#endif // JUCE_APPLICATIONCOMMANDMANAGER_H_INCLUDED diff --git a/modules/juce_gui_basics/commands/juce_ApplicationCommandTarget.h b/modules/juce_gui_basics/commands/juce_ApplicationCommandTarget.h index 6870042fa0..2cca34c58d 100644 --- a/modules/juce_gui_basics/commands/juce_ApplicationCommandTarget.h +++ b/modules/juce_gui_basics/commands/juce_ApplicationCommandTarget.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_APPLICATIONCOMMANDTARGET_H_INCLUDED -#define JUCE_APPLICATIONCOMMANDTARGET_H_INCLUDED +#pragma once //============================================================================== @@ -240,6 +239,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ApplicationCommandTarget) }; - - -#endif // JUCE_APPLICATIONCOMMANDTARGET_H_INCLUDED diff --git a/modules/juce_gui_basics/commands/juce_KeyPressMappingSet.h b/modules/juce_gui_basics/commands/juce_KeyPressMappingSet.h index 315de8f64d..b49cc708d9 100644 --- a/modules/juce_gui_basics/commands/juce_KeyPressMappingSet.h +++ b/modules/juce_gui_basics/commands/juce_KeyPressMappingSet.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_KEYPRESSMAPPINGSET_H_INCLUDED -#define JUCE_KEYPRESSMAPPINGSET_H_INCLUDED +#pragma once //============================================================================== @@ -240,6 +239,3 @@ private: KeyPressMappingSet& operator= (const KeyPressMappingSet&); JUCE_LEAK_DETECTOR (KeyPressMappingSet) }; - - -#endif // JUCE_KEYPRESSMAPPINGSET_H_INCLUDED diff --git a/modules/juce_gui_basics/components/juce_CachedComponentImage.h b/modules/juce_gui_basics/components/juce_CachedComponentImage.h index e9be2c632a..0bce05335f 100644 --- a/modules/juce_gui_basics/components/juce_CachedComponentImage.h +++ b/modules/juce_gui_basics/components/juce_CachedComponentImage.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_CACHEDCOMPONENTIMAGE_H_INCLUDED -#define JUCE_CACHEDCOMPONENTIMAGE_H_INCLUDED +#pragma once //============================================================================== @@ -66,5 +65,3 @@ public: */ virtual void releaseResources() = 0; }; - -#endif // JUCE_CACHEDCOMPONENTIMAGE_H_INCLUDED diff --git a/modules/juce_gui_basics/components/juce_Component.h b/modules/juce_gui_basics/components/juce_Component.h index e60dff79d1..ccc366f388 100644 --- a/modules/juce_gui_basics/components/juce_Component.h +++ b/modules/juce_gui_basics/components/juce_Component.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_COMPONENT_H_INCLUDED -#define JUCE_COMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -2358,6 +2357,3 @@ protected: virtual ComponentPeer* createNewPeer (int styleFlags, void* nativeWindowToAttachTo); #endif }; - - -#endif // JUCE_COMPONENT_H_INCLUDED diff --git a/modules/juce_gui_basics/components/juce_ComponentListener.h b/modules/juce_gui_basics/components/juce_ComponentListener.h index 39e5b37ff1..d62da0488a 100644 --- a/modules/juce_gui_basics/components/juce_ComponentListener.h +++ b/modules/juce_gui_basics/components/juce_ComponentListener.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_COMPONENTLISTENER_H_INCLUDED -#define JUCE_COMPONENTLISTENER_H_INCLUDED +#pragma once //============================================================================== @@ -106,6 +105,3 @@ public: */ virtual void componentBeingDeleted (Component& component); }; - - -#endif // JUCE_COMPONENTLISTENER_H_INCLUDED diff --git a/modules/juce_gui_basics/components/juce_Desktop.h b/modules/juce_gui_basics/components/juce_Desktop.h index 427a247850..87938a19d4 100644 --- a/modules/juce_gui_basics/components/juce_Desktop.h +++ b/modules/juce_gui_basics/components/juce_Desktop.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_DESKTOP_H_INCLUDED -#define JUCE_DESKTOP_H_INCLUDED +#pragma once //============================================================================== @@ -462,6 +461,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (Desktop) }; - - -#endif // JUCE_DESKTOP_H_INCLUDED diff --git a/modules/juce_gui_basics/components/juce_ModalComponentManager.h b/modules/juce_gui_basics/components/juce_ModalComponentManager.h index 03b2990d93..b06018760b 100644 --- a/modules/juce_gui_basics/components/juce_ModalComponentManager.h +++ b/modules/juce_gui_basics/components/juce_ModalComponentManager.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_MODALCOMPONENTMANAGER_H_INCLUDED -#define JUCE_MODALCOMPONENTMANAGER_H_INCLUDED +#pragma once //============================================================================== @@ -371,6 +370,3 @@ private: ~ModalCallbackFunction(); JUCE_DECLARE_NON_COPYABLE (ModalCallbackFunction) }; - - -#endif // JUCE_MODALCOMPONENTMANAGER_H_INCLUDED diff --git a/modules/juce_gui_basics/drawables/juce_Drawable.h b/modules/juce_gui_basics/drawables/juce_Drawable.h index 88e6936fe4..7c4f4f02bb 100644 --- a/modules/juce_gui_basics/drawables/juce_Drawable.h +++ b/modules/juce_gui_basics/drawables/juce_Drawable.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_DRAWABLE_H_INCLUDED -#define JUCE_DRAWABLE_H_INCLUDED +#pragma once //============================================================================== @@ -255,6 +254,3 @@ private: Drawable& operator= (const Drawable&); JUCE_LEAK_DETECTOR (Drawable) }; - - -#endif // JUCE_DRAWABLE_H_INCLUDED diff --git a/modules/juce_gui_basics/drawables/juce_DrawableComposite.h b/modules/juce_gui_basics/drawables/juce_DrawableComposite.h index 8c484c9879..2097b35b87 100644 --- a/modules/juce_gui_basics/drawables/juce_DrawableComposite.h +++ b/modules/juce_gui_basics/drawables/juce_DrawableComposite.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_DRAWABLECOMPOSITE_H_INCLUDED -#define JUCE_DRAWABLECOMPOSITE_H_INCLUDED +#pragma once //============================================================================== @@ -156,6 +155,3 @@ private: DrawableComposite& operator= (const DrawableComposite&); JUCE_LEAK_DETECTOR (DrawableComposite) }; - - -#endif // JUCE_DRAWABLECOMPOSITE_H_INCLUDED diff --git a/modules/juce_gui_basics/drawables/juce_DrawableImage.h b/modules/juce_gui_basics/drawables/juce_DrawableImage.h index 56814a8f70..e90fc399df 100644 --- a/modules/juce_gui_basics/drawables/juce_DrawableImage.h +++ b/modules/juce_gui_basics/drawables/juce_DrawableImage.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_DRAWABLEIMAGE_H_INCLUDED -#define JUCE_DRAWABLEIMAGE_H_INCLUDED +#pragma once //============================================================================== @@ -133,6 +132,3 @@ private: DrawableImage& operator= (const DrawableImage&); JUCE_LEAK_DETECTOR (DrawableImage) }; - - -#endif // JUCE_DRAWABLEIMAGE_H_INCLUDED diff --git a/modules/juce_gui_basics/drawables/juce_DrawablePath.h b/modules/juce_gui_basics/drawables/juce_DrawablePath.h index a06ea43495..aec6645540 100644 --- a/modules/juce_gui_basics/drawables/juce_DrawablePath.h +++ b/modules/juce_gui_basics/drawables/juce_DrawablePath.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_DRAWABLEPATH_H_INCLUDED -#define JUCE_DRAWABLEPATH_H_INCLUDED +#pragma once //============================================================================== @@ -140,6 +139,3 @@ private: DrawablePath& operator= (const DrawablePath&); JUCE_LEAK_DETECTOR (DrawablePath) }; - - -#endif // JUCE_DRAWABLEPATH_H_INCLUDED diff --git a/modules/juce_gui_basics/drawables/juce_DrawableRectangle.h b/modules/juce_gui_basics/drawables/juce_DrawableRectangle.h index b136b8d8c1..3bc176f781 100644 --- a/modules/juce_gui_basics/drawables/juce_DrawableRectangle.h +++ b/modules/juce_gui_basics/drawables/juce_DrawableRectangle.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_DRAWABLERECTANGLE_H_INCLUDED -#define JUCE_DRAWABLERECTANGLE_H_INCLUDED +#pragma once //============================================================================== @@ -98,6 +97,3 @@ private: DrawableRectangle& operator= (const DrawableRectangle&); JUCE_LEAK_DETECTOR (DrawableRectangle) }; - - -#endif // JUCE_DRAWABLERECTANGLE_H_INCLUDED diff --git a/modules/juce_gui_basics/drawables/juce_DrawableShape.h b/modules/juce_gui_basics/drawables/juce_DrawableShape.h index 20cbc3cf7d..7e8d6eed55 100644 --- a/modules/juce_gui_basics/drawables/juce_DrawableShape.h +++ b/modules/juce_gui_basics/drawables/juce_DrawableShape.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_DRAWABLESHAPE_H_INCLUDED -#define JUCE_DRAWABLESHAPE_H_INCLUDED +#pragma once //============================================================================== @@ -184,6 +183,3 @@ private: DrawableShape& operator= (const DrawableShape&); }; - - -#endif // JUCE_DRAWABLESHAPE_H_INCLUDED diff --git a/modules/juce_gui_basics/drawables/juce_DrawableText.h b/modules/juce_gui_basics/drawables/juce_DrawableText.h index 16b801bb0f..e6ff3ecfe0 100644 --- a/modules/juce_gui_basics/drawables/juce_DrawableText.h +++ b/modules/juce_gui_basics/drawables/juce_DrawableText.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_DRAWABLETEXT_H_INCLUDED -#define JUCE_DRAWABLETEXT_H_INCLUDED +#pragma once //============================================================================== @@ -150,6 +149,3 @@ private: DrawableText& operator= (const DrawableText&); JUCE_LEAK_DETECTOR (DrawableText) }; - - -#endif // JUCE_DRAWABLETEXT_H_INCLUDED diff --git a/modules/juce_gui_basics/filebrowser/juce_DirectoryContentsDisplayComponent.h b/modules/juce_gui_basics/filebrowser/juce_DirectoryContentsDisplayComponent.h index 0aa8235dae..6758eee081 100644 --- a/modules/juce_gui_basics/filebrowser/juce_DirectoryContentsDisplayComponent.h +++ b/modules/juce_gui_basics/filebrowser/juce_DirectoryContentsDisplayComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_DIRECTORYCONTENTSDISPLAYCOMPONENT_H_INCLUDED -#define JUCE_DIRECTORYCONTENTSDISPLAYCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -106,6 +105,3 @@ protected: private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (DirectoryContentsDisplayComponent) }; - - -#endif // JUCE_DIRECTORYCONTENTSDISPLAYCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_basics/filebrowser/juce_DirectoryContentsList.h b/modules/juce_gui_basics/filebrowser/juce_DirectoryContentsList.h index 3e2258febb..c240c5a5a2 100644 --- a/modules/juce_gui_basics/filebrowser/juce_DirectoryContentsList.h +++ b/modules/juce_gui_basics/filebrowser/juce_DirectoryContentsList.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_DIRECTORYCONTENTSLIST_H_INCLUDED -#define JUCE_DIRECTORYCONTENTSLIST_H_INCLUDED +#pragma once //============================================================================== @@ -218,6 +217,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (DirectoryContentsList) }; - - -#endif // JUCE_DIRECTORYCONTENTSLIST_H_INCLUDED diff --git a/modules/juce_gui_basics/filebrowser/juce_FileBrowserComponent.h b/modules/juce_gui_basics/filebrowser/juce_FileBrowserComponent.h index 058a36de46..fe0205f1e9 100644 --- a/modules/juce_gui_basics/filebrowser/juce_FileBrowserComponent.h +++ b/modules/juce_gui_basics/filebrowser/juce_FileBrowserComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_FILEBROWSERCOMPONENT_H_INCLUDED -#define JUCE_FILEBROWSERCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -283,7 +282,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FileBrowserComponent) }; - - - -#endif // JUCE_FILEBROWSERCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_basics/filebrowser/juce_FileBrowserListener.h b/modules/juce_gui_basics/filebrowser/juce_FileBrowserListener.h index 8ff56ad8cf..97d39df42c 100644 --- a/modules/juce_gui_basics/filebrowser/juce_FileBrowserListener.h +++ b/modules/juce_gui_basics/filebrowser/juce_FileBrowserListener.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_FILEBROWSERLISTENER_H_INCLUDED -#define JUCE_FILEBROWSERLISTENER_H_INCLUDED +#pragma once //============================================================================== @@ -52,6 +51,3 @@ public: /** Callback when the browser's root folder changes. */ virtual void browserRootChanged (const File& newRoot) = 0; }; - - -#endif // JUCE_FILEBROWSERLISTENER_H_INCLUDED diff --git a/modules/juce_gui_basics/filebrowser/juce_FileChooser.h b/modules/juce_gui_basics/filebrowser/juce_FileChooser.h index e6a35d50aa..4dd2a22d03 100644 --- a/modules/juce_gui_basics/filebrowser/juce_FileChooser.h +++ b/modules/juce_gui_basics/filebrowser/juce_FileChooser.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_FILECHOOSER_H_INCLUDED -#define JUCE_FILECHOOSER_H_INCLUDED +#pragma once //============================================================================== @@ -200,6 +199,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FileChooser) }; - - -#endif // JUCE_FILECHOOSER_H_INCLUDED diff --git a/modules/juce_gui_basics/filebrowser/juce_FileChooserDialogBox.h b/modules/juce_gui_basics/filebrowser/juce_FileChooserDialogBox.h index f0e82bb448..be8986eeb4 100644 --- a/modules/juce_gui_basics/filebrowser/juce_FileChooserDialogBox.h +++ b/modules/juce_gui_basics/filebrowser/juce_FileChooserDialogBox.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_FILECHOOSERDIALOGBOX_H_INCLUDED -#define JUCE_FILECHOOSERDIALOGBOX_H_INCLUDED +#pragma once //============================================================================== @@ -152,6 +151,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FileChooserDialogBox) }; - - -#endif // JUCE_FILECHOOSERDIALOGBOX_H_INCLUDED diff --git a/modules/juce_gui_basics/filebrowser/juce_FileListComponent.h b/modules/juce_gui_basics/filebrowser/juce_FileListComponent.h index 30fb4fe331..404c1432f5 100644 --- a/modules/juce_gui_basics/filebrowser/juce_FileListComponent.h +++ b/modules/juce_gui_basics/filebrowser/juce_FileListComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_FILELISTCOMPONENT_H_INCLUDED -#define JUCE_FILELISTCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -91,6 +90,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FileListComponent) }; - - -#endif // JUCE_FILELISTCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_basics/filebrowser/juce_FilePreviewComponent.h b/modules/juce_gui_basics/filebrowser/juce_FilePreviewComponent.h index a1c342b9a6..4c790e0dc3 100644 --- a/modules/juce_gui_basics/filebrowser/juce_FilePreviewComponent.h +++ b/modules/juce_gui_basics/filebrowser/juce_FilePreviewComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_FILEPREVIEWCOMPONENT_H_INCLUDED -#define JUCE_FILEPREVIEWCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -60,6 +59,3 @@ private: //============================================================================== JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FilePreviewComponent) }; - - -#endif // JUCE_FILEPREVIEWCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_basics/filebrowser/juce_FileSearchPathListComponent.h b/modules/juce_gui_basics/filebrowser/juce_FileSearchPathListComponent.h index 17d4b9cca0..60066b9e83 100644 --- a/modules/juce_gui_basics/filebrowser/juce_FileSearchPathListComponent.h +++ b/modules/juce_gui_basics/filebrowser/juce_FileSearchPathListComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_FILESEARCHPATHLISTCOMPONENT_H_INCLUDED -#define JUCE_FILESEARCHPATHLISTCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -111,6 +110,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FileSearchPathListComponent) }; - - -#endif // JUCE_FILESEARCHPATHLISTCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_basics/filebrowser/juce_FileTreeComponent.h b/modules/juce_gui_basics/filebrowser/juce_FileTreeComponent.h index 7f45f67d79..4f6ee18ecc 100644 --- a/modules/juce_gui_basics/filebrowser/juce_FileTreeComponent.h +++ b/modules/juce_gui_basics/filebrowser/juce_FileTreeComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_FILETREECOMPONENT_H_INCLUDED -#define JUCE_FILETREECOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -99,6 +98,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FileTreeComponent) }; - - -#endif // JUCE_FILETREECOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_basics/filebrowser/juce_FilenameComponent.h b/modules/juce_gui_basics/filebrowser/juce_FilenameComponent.h index 0385e9e1e5..381d14264b 100644 --- a/modules/juce_gui_basics/filebrowser/juce_FilenameComponent.h +++ b/modules/juce_gui_basics/filebrowser/juce_FilenameComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_FILENAMECOMPONENT_H_INCLUDED -#define JUCE_FILENAMECOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -228,7 +227,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FilenameComponent) }; - - - -#endif // JUCE_FILENAMECOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_basics/filebrowser/juce_ImagePreviewComponent.h b/modules/juce_gui_basics/filebrowser/juce_ImagePreviewComponent.h index 50347d0484..c94109c0a5 100644 --- a/modules/juce_gui_basics/filebrowser/juce_ImagePreviewComponent.h +++ b/modules/juce_gui_basics/filebrowser/juce_ImagePreviewComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_IMAGEPREVIEWCOMPONENT_H_INCLUDED -#define JUCE_IMAGEPREVIEWCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -61,6 +60,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ImagePreviewComponent) }; - - -#endif // JUCE_IMAGEPREVIEWCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_basics/juce_gui_basics.h b/modules/juce_gui_basics/juce_gui_basics.h index 5913eef300..1130a26ddb 100644 --- a/modules/juce_gui_basics/juce_gui_basics.h +++ b/modules/juce_gui_basics/juce_gui_basics.h @@ -49,8 +49,7 @@ *******************************************************************************/ -#ifndef JUCE_GUI_BASICS_H_INCLUDED -#define JUCE_GUI_BASICS_H_INCLUDED +#pragma once #include #include @@ -289,5 +288,3 @@ class FlexBox; #endif } - -#endif // JUCE_GUI_BASICS_H_INCLUDED diff --git a/modules/juce_gui_basics/keyboard/juce_CaretComponent.h b/modules/juce_gui_basics/keyboard/juce_CaretComponent.h index 4c4077f487..ec5d9a957b 100644 --- a/modules/juce_gui_basics/keyboard/juce_CaretComponent.h +++ b/modules/juce_gui_basics/keyboard/juce_CaretComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_CARETCOMPONENT_H_INCLUDED -#define JUCE_CARETCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -75,6 +74,3 @@ private: JUCE_DECLARE_NON_COPYABLE (CaretComponent) }; - - -#endif // JUCE_CARETCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_basics/keyboard/juce_KeyListener.h b/modules/juce_gui_basics/keyboard/juce_KeyListener.h index 15a966d052..736a96c35c 100644 --- a/modules/juce_gui_basics/keyboard/juce_KeyListener.h +++ b/modules/juce_gui_basics/keyboard/juce_KeyListener.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_KEYLISTENER_H_INCLUDED -#define JUCE_KEYLISTENER_H_INCLUDED +#pragma once //============================================================================== @@ -71,6 +70,3 @@ public: */ virtual bool keyStateChanged (bool isKeyDown, Component* originatingComponent); }; - - -#endif // JUCE_KEYLISTENER_H_INCLUDED diff --git a/modules/juce_gui_basics/keyboard/juce_KeyPress.h b/modules/juce_gui_basics/keyboard/juce_KeyPress.h index 938230e478..270087caa2 100644 --- a/modules/juce_gui_basics/keyboard/juce_KeyPress.h +++ b/modules/juce_gui_basics/keyboard/juce_KeyPress.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_KEYPRESS_H_INCLUDED -#define JUCE_KEYPRESS_H_INCLUDED +#pragma once //============================================================================== @@ -249,6 +248,3 @@ private: JUCE_LEAK_DETECTOR (KeyPress) }; - - -#endif // JUCE_KEYPRESS_H_INCLUDED diff --git a/modules/juce_gui_basics/keyboard/juce_KeyboardFocusTraverser.h b/modules/juce_gui_basics/keyboard/juce_KeyboardFocusTraverser.h index c1ece1e60f..c6a6299cf1 100644 --- a/modules/juce_gui_basics/keyboard/juce_KeyboardFocusTraverser.h +++ b/modules/juce_gui_basics/keyboard/juce_KeyboardFocusTraverser.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_KEYBOARDFOCUSTRAVERSER_H_INCLUDED -#define JUCE_KEYBOARDFOCUSTRAVERSER_H_INCLUDED +#pragma once //============================================================================== @@ -84,6 +83,3 @@ public: */ virtual Component* getDefaultComponent (Component* parentComponent); }; - - -#endif // JUCE_KEYBOARDFOCUSTRAVERSER_H_INCLUDED diff --git a/modules/juce_gui_basics/keyboard/juce_ModifierKeys.h b/modules/juce_gui_basics/keyboard/juce_ModifierKeys.h index c44d77b3c3..b7b9fb6961 100644 --- a/modules/juce_gui_basics/keyboard/juce_ModifierKeys.h +++ b/modules/juce_gui_basics/keyboard/juce_ModifierKeys.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_MODIFIERKEYS_H_INCLUDED -#define JUCE_MODIFIERKEYS_H_INCLUDED +#pragma once //============================================================================== @@ -218,6 +217,3 @@ private: static ModifierKeys currentModifiers; static void updateCurrentModifiers() noexcept; }; - - -#endif // JUCE_MODIFIERKEYS_H_INCLUDED diff --git a/modules/juce_gui_basics/keyboard/juce_SystemClipboard.h b/modules/juce_gui_basics/keyboard/juce_SystemClipboard.h index d21b78ef5b..50bc36216a 100644 --- a/modules/juce_gui_basics/keyboard/juce_SystemClipboard.h +++ b/modules/juce_gui_basics/keyboard/juce_SystemClipboard.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_SYSTEMCLIPBOARD_H_INCLUDED -#define JUCE_SYSTEMCLIPBOARD_H_INCLUDED +#pragma once //============================================================================== @@ -43,5 +42,3 @@ public: */ static String getTextFromClipboard(); }; - -#endif // JUCE_SYSTEMCLIPBOARD_H_INCLUDED diff --git a/modules/juce_gui_basics/keyboard/juce_TextEditorKeyMapper.h b/modules/juce_gui_basics/keyboard/juce_TextEditorKeyMapper.h index 5f1da8261b..8074190bb6 100644 --- a/modules/juce_gui_basics/keyboard/juce_TextEditorKeyMapper.h +++ b/modules/juce_gui_basics/keyboard/juce_TextEditorKeyMapper.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_TEXTEDITORKEYMAPPER_H_INCLUDED -#define JUCE_TEXTEDITORKEYMAPPER_H_INCLUDED +#pragma once //============================================================================== @@ -117,6 +116,3 @@ struct TextEditorKeyMapper return false; } }; - - -#endif // JUCE_TEXTEDITORKEYMAPPER_H_INCLUDED diff --git a/modules/juce_gui_basics/keyboard/juce_TextInputTarget.h b/modules/juce_gui_basics/keyboard/juce_TextInputTarget.h index 9021fb6257..304d617375 100644 --- a/modules/juce_gui_basics/keyboard/juce_TextInputTarget.h +++ b/modules/juce_gui_basics/keyboard/juce_TextInputTarget.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_TEXTINPUTTARGET_H_INCLUDED -#define JUCE_TEXTINPUTTARGET_H_INCLUDED +#pragma once //============================================================================== @@ -90,6 +89,3 @@ public: */ virtual VirtualKeyboardType getKeyboardType() { return textKeyboard; } }; - - -#endif // JUCE_TEXTINPUTTARGET_H_INCLUDED diff --git a/modules/juce_gui_basics/layout/juce_AnimatedPosition.h b/modules/juce_gui_basics/layout/juce_AnimatedPosition.h index 45890f3a25..16a5610a58 100644 --- a/modules/juce_gui_basics/layout/juce_AnimatedPosition.h +++ b/modules/juce_gui_basics/layout/juce_AnimatedPosition.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_ANIMATEDPOSITION_H_INCLUDED -#define JUCE_ANIMATEDPOSITION_H_INCLUDED +#pragma once //============================================================================== @@ -204,6 +203,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AnimatedPosition) }; - - -#endif // JUCE_ANIMATEDPOSITION_H_INCLUDED diff --git a/modules/juce_gui_basics/layout/juce_AnimatedPositionBehaviours.h b/modules/juce_gui_basics/layout/juce_AnimatedPositionBehaviours.h index fafdeaa94f..eb4efc44da 100644 --- a/modules/juce_gui_basics/layout/juce_AnimatedPositionBehaviours.h +++ b/modules/juce_gui_basics/layout/juce_AnimatedPositionBehaviours.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_ANIMATEDPOSITIONBEHAVIOURS_H_INCLUDED -#define JUCE_ANIMATEDPOSITIONBEHAVIOURS_H_INCLUDED +#pragma once //============================================================================== @@ -146,6 +145,3 @@ namespace AnimatedPositionBehaviours double targetSnapPosition; }; } - - -#endif // JUCE_ANIMATEDPOSITIONBEHAVIOURS_H_INCLUDED diff --git a/modules/juce_gui_basics/layout/juce_ComponentAnimator.h b/modules/juce_gui_basics/layout/juce_ComponentAnimator.h index 0b573e1e54..9ab2f59617 100644 --- a/modules/juce_gui_basics/layout/juce_ComponentAnimator.h +++ b/modules/juce_gui_basics/layout/juce_ComponentAnimator.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_COMPONENTANIMATOR_H_INCLUDED -#define JUCE_COMPONENTANIMATOR_H_INCLUDED +#pragma once //============================================================================== @@ -156,6 +155,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ComponentAnimator) }; - - -#endif // JUCE_COMPONENTANIMATOR_H_INCLUDED diff --git a/modules/juce_gui_basics/layout/juce_ComponentBoundsConstrainer.h b/modules/juce_gui_basics/layout/juce_ComponentBoundsConstrainer.h index 0031e41eda..e94f797661 100644 --- a/modules/juce_gui_basics/layout/juce_ComponentBoundsConstrainer.h +++ b/modules/juce_gui_basics/layout/juce_ComponentBoundsConstrainer.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_COMPONENTBOUNDSCONSTRAINER_H_INCLUDED -#define JUCE_COMPONENTBOUNDSCONSTRAINER_H_INCLUDED +#pragma once //============================================================================== @@ -192,6 +191,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ComponentBoundsConstrainer) }; - - -#endif // JUCE_COMPONENTBOUNDSCONSTRAINER_H_INCLUDED diff --git a/modules/juce_gui_basics/layout/juce_ComponentBuilder.h b/modules/juce_gui_basics/layout/juce_ComponentBuilder.h index 0b58684093..d2aa5e26d2 100644 --- a/modules/juce_gui_basics/layout/juce_ComponentBuilder.h +++ b/modules/juce_gui_basics/layout/juce_ComponentBuilder.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_COMPONENTBUILDER_H_INCLUDED -#define JUCE_COMPONENTBUILDER_H_INCLUDED +#pragma once //============================================================================== @@ -241,5 +240,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ComponentBuilder) }; - -#endif // JUCE_COMPONENTBUILDER_H_INCLUDED diff --git a/modules/juce_gui_basics/layout/juce_ComponentMovementWatcher.h b/modules/juce_gui_basics/layout/juce_ComponentMovementWatcher.h index 8c91598c21..15457287c9 100644 --- a/modules/juce_gui_basics/layout/juce_ComponentMovementWatcher.h +++ b/modules/juce_gui_basics/layout/juce_ComponentMovementWatcher.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_COMPONENTMOVEMENTWATCHER_H_INCLUDED -#define JUCE_COMPONENTMOVEMENTWATCHER_H_INCLUDED +#pragma once //============================================================================== @@ -90,6 +89,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ComponentMovementWatcher) }; - - -#endif // JUCE_COMPONENTMOVEMENTWATCHER_H_INCLUDED diff --git a/modules/juce_gui_basics/layout/juce_ConcertinaPanel.h b/modules/juce_gui_basics/layout/juce_ConcertinaPanel.h index 33f60d455f..851b5cf029 100644 --- a/modules/juce_gui_basics/layout/juce_ConcertinaPanel.h +++ b/modules/juce_gui_basics/layout/juce_ConcertinaPanel.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_CONCERTINAPANEL_H_INCLUDED -#define JUCE_CONCERTINAPANEL_H_INCLUDED +#pragma once //============================================================================== @@ -127,6 +126,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ConcertinaPanel) }; - - -#endif // JUCE_CONCERTINAPANEL_H_INCLUDED diff --git a/modules/juce_gui_basics/layout/juce_GroupComponent.h b/modules/juce_gui_basics/layout/juce_GroupComponent.h index 8ad22e939a..72d738956c 100644 --- a/modules/juce_gui_basics/layout/juce_GroupComponent.h +++ b/modules/juce_gui_basics/layout/juce_GroupComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_GROUPCOMPONENT_H_INCLUDED -#define JUCE_GROUPCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -106,6 +105,3 @@ private: JUCE_DECLARE_NON_COPYABLE (GroupComponent) }; - - -#endif // JUCE_GROUPCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_basics/layout/juce_MultiDocumentPanel.h b/modules/juce_gui_basics/layout/juce_MultiDocumentPanel.h index e6e6311a4a..5dcea8ade1 100644 --- a/modules/juce_gui_basics/layout/juce_MultiDocumentPanel.h +++ b/modules/juce_gui_basics/layout/juce_MultiDocumentPanel.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_MULTIDOCUMENTPANEL_H_INCLUDED -#define JUCE_MULTIDOCUMENTPANEL_H_INCLUDED +#pragma once class MultiDocumentPanel; @@ -299,6 +298,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MultiDocumentPanel) }; - - -#endif // JUCE_MULTIDOCUMENTPANEL_H_INCLUDED diff --git a/modules/juce_gui_basics/layout/juce_ResizableBorderComponent.h b/modules/juce_gui_basics/layout/juce_ResizableBorderComponent.h index ffafc987a2..55dbfd9b29 100644 --- a/modules/juce_gui_basics/layout/juce_ResizableBorderComponent.h +++ b/modules/juce_gui_basics/layout/juce_ResizableBorderComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_RESIZABLEBORDERCOMPONENT_H_INCLUDED -#define JUCE_RESIZABLEBORDERCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -190,6 +189,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ResizableBorderComponent) }; - - -#endif // JUCE_RESIZABLEBORDERCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_basics/layout/juce_ResizableCornerComponent.h b/modules/juce_gui_basics/layout/juce_ResizableCornerComponent.h index 8ca9adc91d..340b7aeac2 100644 --- a/modules/juce_gui_basics/layout/juce_ResizableCornerComponent.h +++ b/modules/juce_gui_basics/layout/juce_ResizableCornerComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_RESIZABLECORNERCOMPONENT_H_INCLUDED -#define JUCE_RESIZABLECORNERCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -86,6 +85,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ResizableCornerComponent) }; - - -#endif // JUCE_RESIZABLECORNERCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_basics/layout/juce_ResizableEdgeComponent.h b/modules/juce_gui_basics/layout/juce_ResizableEdgeComponent.h index 9ebab6688b..f96e93e678 100644 --- a/modules/juce_gui_basics/layout/juce_ResizableEdgeComponent.h +++ b/modules/juce_gui_basics/layout/juce_ResizableEdgeComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_RESIZABLEEDGECOMPONENT_H_INCLUDED -#define JUCE_RESIZABLEEDGECOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -94,6 +93,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ResizableEdgeComponent) }; - - -#endif // JUCE_RESIZABLEEDGECOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_basics/layout/juce_ScrollBar.h b/modules/juce_gui_basics/layout/juce_ScrollBar.h index c663bfdba0..ea3a7a50cf 100644 --- a/modules/juce_gui_basics/layout/juce_ScrollBar.h +++ b/modules/juce_gui_basics/layout/juce_ScrollBar.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_SCROLLBAR_H_INCLUDED -#define JUCE_SCROLLBAR_H_INCLUDED +#pragma once //============================================================================== @@ -401,6 +400,3 @@ private: /** This typedef is just for compatibility with old code - newer code should use the ScrollBar::Listener class directly. */ typedef ScrollBar::Listener ScrollBarListener; - - -#endif // JUCE_SCROLLBAR_H_INCLUDED diff --git a/modules/juce_gui_basics/layout/juce_StretchableLayoutManager.h b/modules/juce_gui_basics/layout/juce_StretchableLayoutManager.h index 1de508e6f4..423c3cff43 100644 --- a/modules/juce_gui_basics/layout/juce_StretchableLayoutManager.h +++ b/modules/juce_gui_basics/layout/juce_StretchableLayoutManager.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_STRETCHABLELAYOUTMANAGER_H_INCLUDED -#define JUCE_STRETCHABLELAYOUTMANAGER_H_INCLUDED +#pragma once //============================================================================== @@ -255,6 +254,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (StretchableLayoutManager) }; - - -#endif // JUCE_STRETCHABLELAYOUTMANAGER_H_INCLUDED diff --git a/modules/juce_gui_basics/layout/juce_StretchableLayoutResizerBar.h b/modules/juce_gui_basics/layout/juce_StretchableLayoutResizerBar.h index 28de39f120..047f31c533 100644 --- a/modules/juce_gui_basics/layout/juce_StretchableLayoutResizerBar.h +++ b/modules/juce_gui_basics/layout/juce_StretchableLayoutResizerBar.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_STRETCHABLELAYOUTRESIZERBAR_H_INCLUDED -#define JUCE_STRETCHABLELAYOUTRESIZERBAR_H_INCLUDED +#pragma once //============================================================================== @@ -99,6 +98,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (StretchableLayoutResizerBar) }; - - -#endif // JUCE_STRETCHABLELAYOUTRESIZERBAR_H_INCLUDED diff --git a/modules/juce_gui_basics/layout/juce_StretchableObjectResizer.h b/modules/juce_gui_basics/layout/juce_StretchableObjectResizer.h index 9bf11f0076..c63e702973 100644 --- a/modules/juce_gui_basics/layout/juce_StretchableObjectResizer.h +++ b/modules/juce_gui_basics/layout/juce_StretchableObjectResizer.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_STRETCHABLEOBJECTRESIZER_H_INCLUDED -#define JUCE_STRETCHABLEOBJECTRESIZER_H_INCLUDED +#pragma once //============================================================================== @@ -96,6 +95,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (StretchableObjectResizer) }; - - -#endif // JUCE_STRETCHABLEOBJECTRESIZER_H_INCLUDED diff --git a/modules/juce_gui_basics/layout/juce_TabbedButtonBar.h b/modules/juce_gui_basics/layout/juce_TabbedButtonBar.h index 9622a23ad6..d0777e9253 100644 --- a/modules/juce_gui_basics/layout/juce_TabbedButtonBar.h +++ b/modules/juce_gui_basics/layout/juce_TabbedButtonBar.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_TABBEDBUTTONBAR_H_INCLUDED -#define JUCE_TABBEDBUTTONBAR_H_INCLUDED +#pragma once class TabbedButtonBar; @@ -364,6 +363,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (TabbedButtonBar) }; - - -#endif // JUCE_TABBEDBUTTONBAR_H_INCLUDED diff --git a/modules/juce_gui_basics/layout/juce_TabbedComponent.h b/modules/juce_gui_basics/layout/juce_TabbedComponent.h index 98f627a366..59746035e4 100644 --- a/modules/juce_gui_basics/layout/juce_TabbedComponent.h +++ b/modules/juce_gui_basics/layout/juce_TabbedComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_TABBEDCOMPONENT_H_INCLUDED -#define JUCE_TABBEDCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -220,6 +219,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (TabbedComponent) }; - - -#endif // JUCE_TABBEDCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_basics/layout/juce_Viewport.h b/modules/juce_gui_basics/layout/juce_Viewport.h index ee73e27709..b31f74d0ca 100644 --- a/modules/juce_gui_basics/layout/juce_Viewport.h +++ b/modules/juce_gui_basics/layout/juce_Viewport.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_VIEWPORT_H_INCLUDED -#define JUCE_VIEWPORT_H_INCLUDED +#pragma once //============================================================================== @@ -299,6 +298,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (Viewport) }; - - -#endif // JUCE_VIEWPORT_H_INCLUDED diff --git a/modules/juce_gui_basics/lookandfeel/juce_LookAndFeel.h b/modules/juce_gui_basics/lookandfeel/juce_LookAndFeel.h index 8332a9aba3..038a6f0255 100644 --- a/modules/juce_gui_basics/lookandfeel/juce_LookAndFeel.h +++ b/modules/juce_gui_basics/lookandfeel/juce_LookAndFeel.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_LOOKANDFEEL_H_INCLUDED -#define JUCE_LOOKANDFEEL_H_INCLUDED +#pragma once //============================================================================== /** This class is used to hold a few look and feel base classes which are associated @@ -228,6 +227,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LookAndFeel) }; - - -#endif // JUCE_LOOKANDFEEL_H_INCLUDED diff --git a/modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V1.h b/modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V1.h index c8753267df..10c23ab5c3 100644 --- a/modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V1.h +++ b/modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V1.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_LOOKANDFEEL_V1_H_INCLUDED -#define JUCE_LOOKANDFEEL_V1_H_INCLUDED +#pragma once //============================================================================== /** @@ -96,6 +95,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LookAndFeel_V1) }; - - -#endif // JUCE_LOOKANDFEEL_V1_H_INCLUDED diff --git a/modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V2.h b/modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V2.h index f1f7e26936..8abb2a77d0 100644 --- a/modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V2.h +++ b/modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V2.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_LOOKANDFEEL_V2_H_INCLUDED -#define JUCE_LOOKANDFEEL_V2_H_INCLUDED +#pragma once //============================================================================== @@ -366,6 +365,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LookAndFeel_V2) }; - - -#endif // JUCE_LOOKANDFEEL_V2_H_INCLUDED diff --git a/modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V3.h b/modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V3.h index 2a474259bd..3c0aa8d367 100644 --- a/modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V3.h +++ b/modules/juce_gui_basics/lookandfeel/juce_LookAndFeel_V3.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_LOOKANDFEEL_V3_H_INCLUDED -#define JUCE_LOOKANDFEEL_V3_H_INCLUDED +#pragma once //============================================================================== /** @@ -91,6 +90,3 @@ private: Image backgroundTexture; Colour backgroundTextureBaseColour; }; - - -#endif // JUCE_LOOKANDFEEL_V3_H_INCLUDED diff --git a/modules/juce_gui_basics/menus/juce_MenuBarComponent.h b/modules/juce_gui_basics/menus/juce_MenuBarComponent.h index 22be75ba5f..b27f689b9d 100644 --- a/modules/juce_gui_basics/menus/juce_MenuBarComponent.h +++ b/modules/juce_gui_basics/menus/juce_MenuBarComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_MENUBARCOMPONENT_H_INCLUDED -#define JUCE_MENUBARCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -114,5 +113,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MenuBarComponent) }; - -#endif // JUCE_MENUBARCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_basics/menus/juce_MenuBarModel.h b/modules/juce_gui_basics/menus/juce_MenuBarModel.h index 4267661f6e..27ea4daf4a 100644 --- a/modules/juce_gui_basics/menus/juce_MenuBarModel.h +++ b/modules/juce_gui_basics/menus/juce_MenuBarModel.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_MENUBARMODEL_H_INCLUDED -#define JUCE_MENUBARMODEL_H_INCLUDED +#pragma once //============================================================================== @@ -188,6 +187,3 @@ private: /** This typedef is just for compatibility with old code - newer code should use the MenuBarModel::Listener class directly. */ typedef MenuBarModel::Listener MenuBarModelListener; - - -#endif // JUCE_MENUBARMODEL_H_INCLUDED diff --git a/modules/juce_gui_basics/menus/juce_PopupMenu.h b/modules/juce_gui_basics/menus/juce_PopupMenu.h index 4823695dd9..5590df6fcf 100644 --- a/modules/juce_gui_basics/menus/juce_PopupMenu.h +++ b/modules/juce_gui_basics/menus/juce_PopupMenu.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_POPUPMENU_H_INCLUDED -#define JUCE_POPUPMENU_H_INCLUDED +#pragma once //============================================================================== @@ -739,5 +738,3 @@ private: JUCE_LEAK_DETECTOR (PopupMenu) }; - -#endif // JUCE_POPUPMENU_H_INCLUDED diff --git a/modules/juce_gui_basics/misc/juce_BubbleComponent.h b/modules/juce_gui_basics/misc/juce_BubbleComponent.h index 8536f9bd77..e29668bb5d 100644 --- a/modules/juce_gui_basics/misc/juce_BubbleComponent.h +++ b/modules/juce_gui_basics/misc/juce_BubbleComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_BUBBLECOMPONENT_H_INCLUDED -#define JUCE_BUBBLECOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -180,6 +179,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (BubbleComponent) }; - - -#endif // JUCE_BUBBLECOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_basics/misc/juce_DropShadower.h b/modules/juce_gui_basics/misc/juce_DropShadower.h index 584f548a02..5125d060f9 100644 --- a/modules/juce_gui_basics/misc/juce_DropShadower.h +++ b/modules/juce_gui_basics/misc/juce_DropShadower.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_DROPSHADOWER_H_INCLUDED -#define JUCE_DROPSHADOWER_H_INCLUDED +#pragma once //============================================================================== @@ -75,6 +74,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (DropShadower) }; - - -#endif // JUCE_DROPSHADOWER_H_INCLUDED diff --git a/modules/juce_gui_basics/mouse/juce_ComponentDragger.h b/modules/juce_gui_basics/mouse/juce_ComponentDragger.h index 7475710f89..a9e191a075 100644 --- a/modules/juce_gui_basics/mouse/juce_ComponentDragger.h +++ b/modules/juce_gui_basics/mouse/juce_ComponentDragger.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_COMPONENTDRAGGER_H_INCLUDED -#define JUCE_COMPONENTDRAGGER_H_INCLUDED +#pragma once //============================================================================== @@ -95,5 +94,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ComponentDragger) }; - -#endif // JUCE_COMPONENTDRAGGER_H_INCLUDED diff --git a/modules/juce_gui_basics/mouse/juce_DragAndDropContainer.h b/modules/juce_gui_basics/mouse/juce_DragAndDropContainer.h index a807057816..69bc5ca22f 100644 --- a/modules/juce_gui_basics/mouse/juce_DragAndDropContainer.h +++ b/modules/juce_gui_basics/mouse/juce_DragAndDropContainer.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_DRAGANDDROPCONTAINER_H_INCLUDED -#define JUCE_DRAGANDDROPCONTAINER_H_INCLUDED +#pragma once //============================================================================== @@ -206,6 +205,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (DragAndDropContainer) }; - - -#endif // JUCE_DRAGANDDROPCONTAINER_H_INCLUDED diff --git a/modules/juce_gui_basics/mouse/juce_DragAndDropTarget.h b/modules/juce_gui_basics/mouse/juce_DragAndDropTarget.h index 7d81841291..a020ca6ee2 100644 --- a/modules/juce_gui_basics/mouse/juce_DragAndDropTarget.h +++ b/modules/juce_gui_basics/mouse/juce_DragAndDropTarget.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_DRAGANDDROPTARGET_H_INCLUDED -#define JUCE_DRAGANDDROPTARGET_H_INCLUDED +#pragma once //============================================================================== @@ -148,5 +147,3 @@ private: virtual int itemDropped (const String&, Component*, int, int) { return 0; } #endif }; - -#endif // JUCE_DRAGANDDROPTARGET_H_INCLUDED diff --git a/modules/juce_gui_basics/mouse/juce_FileDragAndDropTarget.h b/modules/juce_gui_basics/mouse/juce_FileDragAndDropTarget.h index e949ea3f4d..72482d9727 100644 --- a/modules/juce_gui_basics/mouse/juce_FileDragAndDropTarget.h +++ b/modules/juce_gui_basics/mouse/juce_FileDragAndDropTarget.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_FILEDRAGANDDROPTARGET_H_INCLUDED -#define JUCE_FILEDRAGANDDROPTARGET_H_INCLUDED +#pragma once /** Components derived from this class can have files dropped onto them by an external application. @@ -99,6 +98,3 @@ public: */ virtual void filesDropped (const StringArray& files, int x, int y) = 0; }; - - -#endif // JUCE_FILEDRAGANDDROPTARGET_H_INCLUDED diff --git a/modules/juce_gui_basics/mouse/juce_LassoComponent.h b/modules/juce_gui_basics/mouse/juce_LassoComponent.h index 65e2f16e6c..45a6031901 100644 --- a/modules/juce_gui_basics/mouse/juce_LassoComponent.h +++ b/modules/juce_gui_basics/mouse/juce_LassoComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_LASSOCOMPONENT_H_INCLUDED -#define JUCE_LASSOCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -218,6 +217,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LassoComponent) }; - - -#endif // JUCE_LASSOCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_basics/mouse/juce_MouseCursor.h b/modules/juce_gui_basics/mouse/juce_MouseCursor.h index 831d899133..b7a3cc173b 100644 --- a/modules/juce_gui_basics/mouse/juce_MouseCursor.h +++ b/modules/juce_gui_basics/mouse/juce_MouseCursor.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_MOUSECURSOR_H_INCLUDED -#define JUCE_MOUSECURSOR_H_INCLUDED +#pragma once //============================================================================== @@ -177,5 +176,3 @@ private: JUCE_LEAK_DETECTOR (MouseCursor) }; - -#endif // JUCE_MOUSECURSOR_H_INCLUDED diff --git a/modules/juce_gui_basics/mouse/juce_MouseEvent.h b/modules/juce_gui_basics/mouse/juce_MouseEvent.h index a0a6f64145..34517e46a0 100644 --- a/modules/juce_gui_basics/mouse/juce_MouseEvent.h +++ b/modules/juce_gui_basics/mouse/juce_MouseEvent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_MOUSEEVENT_H_INCLUDED -#define JUCE_MOUSEEVENT_H_INCLUDED +#pragma once //============================================================================== @@ -375,6 +374,3 @@ struct MouseWheelDetails the wheel being released. */ bool isInertial; }; - - -#endif // JUCE_MOUSEEVENT_H_INCLUDED diff --git a/modules/juce_gui_basics/mouse/juce_MouseInactivityDetector.h b/modules/juce_gui_basics/mouse/juce_MouseInactivityDetector.h index 949f05908c..89e25b5131 100644 --- a/modules/juce_gui_basics/mouse/juce_MouseInactivityDetector.h +++ b/modules/juce_gui_basics/mouse/juce_MouseInactivityDetector.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_MOUSEINACTIVITYDETECTOR_H_INCLUDED -#define JUCE_MOUSEINACTIVITYDETECTOR_H_INCLUDED +#pragma once //============================================================================== @@ -106,6 +105,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MouseInactivityDetector) }; - - -#endif // JUCE_MOUSEINACTIVITYDETECTOR_H_INCLUDED diff --git a/modules/juce_gui_basics/mouse/juce_MouseInputSource.h b/modules/juce_gui_basics/mouse/juce_MouseInputSource.h index bbceb508d6..fe74f96c46 100644 --- a/modules/juce_gui_basics/mouse/juce_MouseInputSource.h +++ b/modules/juce_gui_basics/mouse/juce_MouseInputSource.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_MOUSEINPUTSOURCE_H_INCLUDED -#define JUCE_MOUSEINPUTSOURCE_H_INCLUDED +#pragma once //============================================================================== @@ -198,6 +197,3 @@ private: JUCE_LEAK_DETECTOR (MouseInputSource) }; - - -#endif // JUCE_MOUSEINPUTSOURCE_H_INCLUDED diff --git a/modules/juce_gui_basics/mouse/juce_MouseListener.h b/modules/juce_gui_basics/mouse/juce_MouseListener.h index 5aab50b2e7..9e0d48e58c 100644 --- a/modules/juce_gui_basics/mouse/juce_MouseListener.h +++ b/modules/juce_gui_basics/mouse/juce_MouseListener.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_MOUSELISTENER_H_INCLUDED -#define JUCE_MOUSELISTENER_H_INCLUDED +#pragma once //============================================================================== @@ -160,6 +159,3 @@ private: virtual int mouseWheelMove (const MouseEvent&, float, float) { return 0; } #endif }; - - -#endif // JUCE_MOUSELISTENER_H_INCLUDED diff --git a/modules/juce_gui_basics/mouse/juce_SelectedItemSet.h b/modules/juce_gui_basics/mouse/juce_SelectedItemSet.h index 6535e82956..2028fa4bd9 100644 --- a/modules/juce_gui_basics/mouse/juce_SelectedItemSet.h +++ b/modules/juce_gui_basics/mouse/juce_SelectedItemSet.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_SELECTEDITEMSET_H_INCLUDED -#define JUCE_SELECTEDITEMSET_H_INCLUDED +#pragma once //============================================================================== @@ -318,6 +317,3 @@ private: JUCE_LEAK_DETECTOR (SelectedItemSet) }; - - -#endif // JUCE_SELECTEDITEMSET_H_INCLUDED diff --git a/modules/juce_gui_basics/mouse/juce_TextDragAndDropTarget.h b/modules/juce_gui_basics/mouse/juce_TextDragAndDropTarget.h index 90e1713277..861a9a5e94 100644 --- a/modules/juce_gui_basics/mouse/juce_TextDragAndDropTarget.h +++ b/modules/juce_gui_basics/mouse/juce_TextDragAndDropTarget.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_TEXTDRAGANDDROPTARGET_H_INCLUDED -#define JUCE_TEXTDRAGANDDROPTARGET_H_INCLUDED +#pragma once //============================================================================== @@ -100,6 +99,3 @@ public: */ virtual void textDropped (const String& text, int x, int y) = 0; }; - - -#endif // JUCE_TEXTDRAGANDDROPTARGET_H_INCLUDED diff --git a/modules/juce_gui_basics/mouse/juce_TooltipClient.h b/modules/juce_gui_basics/mouse/juce_TooltipClient.h index c449f9a151..a7653046a9 100644 --- a/modules/juce_gui_basics/mouse/juce_TooltipClient.h +++ b/modules/juce_gui_basics/mouse/juce_TooltipClient.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_TOOLTIPCLIENT_H_INCLUDED -#define JUCE_TOOLTIPCLIENT_H_INCLUDED +#pragma once //============================================================================== @@ -80,6 +79,3 @@ protected: private: String tooltipString; }; - - -#endif // JUCE_TOOLTIPCLIENT_H_INCLUDED diff --git a/modules/juce_gui_basics/native/juce_MultiTouchMapper.h b/modules/juce_gui_basics/native/juce_MultiTouchMapper.h index dd866b5e22..1d44a20eb3 100644 --- a/modules/juce_gui_basics/native/juce_MultiTouchMapper.h +++ b/modules/juce_gui_basics/native/juce_MultiTouchMapper.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_MULTITOUCHMAPPER_H_INCLUDED -#define JUCE_MULTITOUCHMAPPER_H_INCLUDED +#pragma once template class MultiTouchMapper @@ -73,5 +72,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MultiTouchMapper) }; - -#endif // JUCE_MULTITOUCHMAPPER_H_INCLUDED diff --git a/modules/juce_gui_basics/positioning/juce_MarkerList.h b/modules/juce_gui_basics/positioning/juce_MarkerList.h index a19a348dba..bbbb83a76e 100644 --- a/modules/juce_gui_basics/positioning/juce_MarkerList.h +++ b/modules/juce_gui_basics/positioning/juce_MarkerList.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_MARKERLIST_H_INCLUDED -#define JUCE_MARKERLIST_H_INCLUDED +#pragma once //============================================================================== @@ -179,6 +178,3 @@ private: JUCE_LEAK_DETECTOR (MarkerList) }; - - -#endif // JUCE_MARKERLIST_H_INCLUDED diff --git a/modules/juce_gui_basics/positioning/juce_RelativeCoordinate.h b/modules/juce_gui_basics/positioning/juce_RelativeCoordinate.h index 1524ec8ffe..2a360192ec 100644 --- a/modules/juce_gui_basics/positioning/juce_RelativeCoordinate.h +++ b/modules/juce_gui_basics/positioning/juce_RelativeCoordinate.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_RELATIVECOORDINATE_H_INCLUDED -#define JUCE_RELATIVECOORDINATE_H_INCLUDED +#pragma once //============================================================================== @@ -174,6 +173,3 @@ private: //============================================================================== Expression term; }; - - -#endif // JUCE_RELATIVECOORDINATE_H_INCLUDED diff --git a/modules/juce_gui_basics/positioning/juce_RelativeCoordinatePositioner.h b/modules/juce_gui_basics/positioning/juce_RelativeCoordinatePositioner.h index bf9047c52a..c40dae59ce 100644 --- a/modules/juce_gui_basics/positioning/juce_RelativeCoordinatePositioner.h +++ b/modules/juce_gui_basics/positioning/juce_RelativeCoordinatePositioner.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_RELATIVECOORDINATEPOSITIONER_H_INCLUDED -#define JUCE_RELATIVECOORDINATEPOSITIONER_H_INCLUDED +#pragma once //============================================================================== @@ -87,6 +86,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (RelativeCoordinatePositionerBase) }; - - -#endif // JUCE_RELATIVECOORDINATEPOSITIONER_H_INCLUDED diff --git a/modules/juce_gui_basics/positioning/juce_RelativeParallelogram.h b/modules/juce_gui_basics/positioning/juce_RelativeParallelogram.h index cef4d471df..83b16b6dc0 100644 --- a/modules/juce_gui_basics/positioning/juce_RelativeParallelogram.h +++ b/modules/juce_gui_basics/positioning/juce_RelativeParallelogram.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_RELATIVEPARALLELOGRAM_H_INCLUDED -#define JUCE_RELATIVEPARALLELOGRAM_H_INCLUDED +#pragma once //============================================================================== @@ -60,6 +59,3 @@ public: //============================================================================== RelativePoint topLeft, topRight, bottomLeft; }; - - -#endif // JUCE_RELATIVEPARALLELOGRAM_H_INCLUDED diff --git a/modules/juce_gui_basics/positioning/juce_RelativePoint.h b/modules/juce_gui_basics/positioning/juce_RelativePoint.h index c50ce2f439..0ea77b62fe 100644 --- a/modules/juce_gui_basics/positioning/juce_RelativePoint.h +++ b/modules/juce_gui_basics/positioning/juce_RelativePoint.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_RELATIVEPOINT_H_INCLUDED -#define JUCE_RELATIVEPOINT_H_INCLUDED +#pragma once //============================================================================== @@ -85,6 +84,3 @@ public: // The actual X and Y coords... RelativeCoordinate x, y; }; - - -#endif // JUCE_RELATIVEPOINT_H_INCLUDED diff --git a/modules/juce_gui_basics/positioning/juce_RelativePointPath.h b/modules/juce_gui_basics/positioning/juce_RelativePointPath.h index 6de294df5f..ddc2c22678 100644 --- a/modules/juce_gui_basics/positioning/juce_RelativePointPath.h +++ b/modules/juce_gui_basics/positioning/juce_RelativePointPath.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_RELATIVEPOINTPATH_H_INCLUDED -#define JUCE_RELATIVEPOINTPATH_H_INCLUDED +#pragma once //============================================================================== @@ -186,6 +185,3 @@ private: RelativePointPath& operator= (const RelativePointPath&); JUCE_LEAK_DETECTOR (RelativePointPath) }; - - -#endif // JUCE_RELATIVEPOINTPATH_H_INCLUDED diff --git a/modules/juce_gui_basics/positioning/juce_RelativeRectangle.h b/modules/juce_gui_basics/positioning/juce_RelativeRectangle.h index 0e04e2c5dd..f57b1b5a55 100644 --- a/modules/juce_gui_basics/positioning/juce_RelativeRectangle.h +++ b/modules/juce_gui_basics/positioning/juce_RelativeRectangle.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_RELATIVERECTANGLE_H_INCLUDED -#define JUCE_RELATIVERECTANGLE_H_INCLUDED +#pragma once //============================================================================== @@ -102,6 +101,3 @@ public: // The actual rectangle coords... RelativeCoordinate left, right, top, bottom; }; - - -#endif // JUCE_RELATIVERECTANGLE_H_INCLUDED diff --git a/modules/juce_gui_basics/properties/juce_BooleanPropertyComponent.h b/modules/juce_gui_basics/properties/juce_BooleanPropertyComponent.h index 08ad78c2ea..9725b78466 100644 --- a/modules/juce_gui_basics/properties/juce_BooleanPropertyComponent.h +++ b/modules/juce_gui_basics/properties/juce_BooleanPropertyComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_BOOLEANPROPERTYCOMPONENT_H_INCLUDED -#define JUCE_BOOLEANPROPERTYCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -106,6 +105,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (BooleanPropertyComponent) }; - - -#endif // JUCE_BOOLEANPROPERTYCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_basics/properties/juce_ButtonPropertyComponent.h b/modules/juce_gui_basics/properties/juce_ButtonPropertyComponent.h index e6b82f5253..a751fa1aed 100644 --- a/modules/juce_gui_basics/properties/juce_ButtonPropertyComponent.h +++ b/modules/juce_gui_basics/properties/juce_ButtonPropertyComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_BUTTONPROPERTYCOMPONENT_H_INCLUDED -#define JUCE_BUTTONPROPERTYCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -73,6 +72,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ButtonPropertyComponent) }; - - -#endif // JUCE_BUTTONPROPERTYCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_basics/properties/juce_ChoicePropertyComponent.h b/modules/juce_gui_basics/properties/juce_ChoicePropertyComponent.h index 6f97d5be1a..40d2a54a9c 100644 --- a/modules/juce_gui_basics/properties/juce_ChoicePropertyComponent.h +++ b/modules/juce_gui_basics/properties/juce_ChoicePropertyComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_CHOICEPROPERTYCOMPONENT_H_INCLUDED -#define JUCE_CHOICEPROPERTYCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -118,8 +117,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ChoicePropertyComponent) }; - - - - -#endif // JUCE_CHOICEPROPERTYCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_basics/properties/juce_PropertyComponent.h b/modules/juce_gui_basics/properties/juce_PropertyComponent.h index 8b1856bec9..56e59b1469 100644 --- a/modules/juce_gui_basics/properties/juce_PropertyComponent.h +++ b/modules/juce_gui_basics/properties/juce_PropertyComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_PROPERTYCOMPONENT_H_INCLUDED -#define JUCE_PROPERTYCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -138,6 +137,3 @@ protected: private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (PropertyComponent) }; - - -#endif // JUCE_PROPERTYCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_basics/properties/juce_PropertyPanel.h b/modules/juce_gui_basics/properties/juce_PropertyPanel.h index aca85988e9..c34b422bca 100644 --- a/modules/juce_gui_basics/properties/juce_PropertyPanel.h +++ b/modules/juce_gui_basics/properties/juce_PropertyPanel.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_PROPERTYPANEL_H_INCLUDED -#define JUCE_PROPERTYPANEL_H_INCLUDED +#pragma once //============================================================================== @@ -172,6 +171,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (PropertyPanel) }; - - -#endif // JUCE_PROPERTYPANEL_H_INCLUDED diff --git a/modules/juce_gui_basics/properties/juce_SliderPropertyComponent.h b/modules/juce_gui_basics/properties/juce_SliderPropertyComponent.h index d45e448b87..5674b7d4de 100644 --- a/modules/juce_gui_basics/properties/juce_SliderPropertyComponent.h +++ b/modules/juce_gui_basics/properties/juce_SliderPropertyComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_SLIDERPROPERTYCOMPONENT_H_INCLUDED -#define JUCE_SLIDERPROPERTYCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -104,6 +103,3 @@ private: //============================================================================== JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (SliderPropertyComponent) }; - - -#endif // JUCE_SLIDERPROPERTYCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_basics/properties/juce_TextPropertyComponent.h b/modules/juce_gui_basics/properties/juce_TextPropertyComponent.h index de9d467dd4..e012df3219 100644 --- a/modules/juce_gui_basics/properties/juce_TextPropertyComponent.h +++ b/modules/juce_gui_basics/properties/juce_TextPropertyComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_TEXTPROPERTYCOMPONENT_H_INCLUDED -#define JUCE_TEXTPROPERTYCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -144,5 +143,3 @@ private: /** This typedef is just for compatibility with old code and VC6 - newer code should use TextPropertyComponent::Listener instead. */ typedef TextPropertyComponent::Listener TextPropertyComponentListener; #endif - -#endif // JUCE_TEXTPROPERTYCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_basics/widgets/juce_ComboBox.h b/modules/juce_gui_basics/widgets/juce_ComboBox.h index 4d03666355..bdad9b1634 100644 --- a/modules/juce_gui_basics/widgets/juce_ComboBox.h +++ b/modules/juce_gui_basics/widgets/juce_ComboBox.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_COMBOBOX_H_INCLUDED -#define JUCE_COMBOBOX_H_INCLUDED +#pragma once //============================================================================== @@ -447,5 +446,3 @@ private: /** This typedef is just for compatibility with old code - newer code should use the ComboBox::Listener class directly. */ typedef ComboBox::Listener ComboBoxListener; - -#endif // JUCE_COMBOBOX_H_INCLUDED diff --git a/modules/juce_gui_basics/widgets/juce_ImageComponent.h b/modules/juce_gui_basics/widgets/juce_ImageComponent.h index 0c7bad43d6..1264a3610b 100644 --- a/modules/juce_gui_basics/widgets/juce_ImageComponent.h +++ b/modules/juce_gui_basics/widgets/juce_ImageComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_IMAGECOMPONENT_H_INCLUDED -#define JUCE_IMAGECOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -73,6 +72,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ImageComponent) }; - - -#endif // JUCE_IMAGECOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_basics/widgets/juce_Label.h b/modules/juce_gui_basics/widgets/juce_Label.h index dfb74ef00e..3e79caa2c0 100644 --- a/modules/juce_gui_basics/widgets/juce_Label.h +++ b/modules/juce_gui_basics/widgets/juce_Label.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_LABEL_H_INCLUDED -#define JUCE_LABEL_H_INCLUDED +#pragma once //============================================================================== @@ -350,5 +349,3 @@ private: /** This typedef is just for compatibility with old code - newer code should use the Label::Listener class directly. */ typedef Label::Listener LabelListener; - -#endif // JUCE_LABEL_H_INCLUDED diff --git a/modules/juce_gui_basics/widgets/juce_ListBox.h b/modules/juce_gui_basics/widgets/juce_ListBox.h index 436be0f299..af0f901d07 100644 --- a/modules/juce_gui_basics/widgets/juce_ListBox.h +++ b/modules/juce_gui_basics/widgets/juce_ListBox.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_LISTBOX_H_INCLUDED -#define JUCE_LISTBOX_H_INCLUDED +#pragma once //============================================================================== @@ -597,6 +596,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ListBox) }; - - -#endif // JUCE_LISTBOX_H_INCLUDED diff --git a/modules/juce_gui_basics/widgets/juce_ProgressBar.h b/modules/juce_gui_basics/widgets/juce_ProgressBar.h index 23cffa0bf1..afd9e67e2c 100644 --- a/modules/juce_gui_basics/widgets/juce_ProgressBar.h +++ b/modules/juce_gui_basics/widgets/juce_ProgressBar.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_PROGRESSBAR_H_INCLUDED -#define JUCE_PROGRESSBAR_H_INCLUDED +#pragma once //============================================================================== @@ -130,6 +129,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ProgressBar) }; - - -#endif // JUCE_PROGRESSBAR_H_INCLUDED diff --git a/modules/juce_gui_basics/widgets/juce_Slider.h b/modules/juce_gui_basics/widgets/juce_Slider.h index e7cd686d4c..391da96672 100644 --- a/modules/juce_gui_basics/widgets/juce_Slider.h +++ b/modules/juce_gui_basics/widgets/juce_Slider.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_SLIDER_H_INCLUDED -#define JUCE_SLIDER_H_INCLUDED +#pragma once //============================================================================== @@ -930,5 +929,3 @@ private: /** This typedef is just for compatibility with old code - newer code should use the Slider::Listener class directly. */ typedef Slider::Listener SliderListener; - -#endif // JUCE_SLIDER_H_INCLUDED diff --git a/modules/juce_gui_basics/widgets/juce_TableHeaderComponent.h b/modules/juce_gui_basics/widgets/juce_TableHeaderComponent.h index bcdca74d12..dfec8335aa 100644 --- a/modules/juce_gui_basics/widgets/juce_TableHeaderComponent.h +++ b/modules/juce_gui_basics/widgets/juce_TableHeaderComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_TABLEHEADERCOMPONENT_H_INCLUDED -#define JUCE_TABLEHEADERCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -436,6 +435,3 @@ private: /** This typedef is just for compatibility with old code - newer code should use the TableHeaderComponent::Listener class directly. */ typedef TableHeaderComponent::Listener TableHeaderListener; - - -#endif // JUCE_TABLEHEADERCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_basics/widgets/juce_TableListBox.h b/modules/juce_gui_basics/widgets/juce_TableListBox.h index ddfb6b7c1f..88f5d87735 100644 --- a/modules/juce_gui_basics/widgets/juce_TableListBox.h +++ b/modules/juce_gui_basics/widgets/juce_TableListBox.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_TABLELISTBOX_H_INCLUDED -#define JUCE_TABLELISTBOX_H_INCLUDED +#pragma once //============================================================================== @@ -344,6 +343,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (TableListBox) }; - - -#endif // JUCE_TABLELISTBOX_H_INCLUDED diff --git a/modules/juce_gui_basics/widgets/juce_TextEditor.h b/modules/juce_gui_basics/widgets/juce_TextEditor.h index fedb00bbd0..ef0fa060cb 100644 --- a/modules/juce_gui_basics/widgets/juce_TextEditor.h +++ b/modules/juce_gui_basics/widgets/juce_TextEditor.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_TEXTEDITOR_H_INCLUDED -#define JUCE_TEXTEDITOR_H_INCLUDED +#pragma once //============================================================================== @@ -748,6 +747,3 @@ private: /** This typedef is just for compatibility with old code - newer code should use the TextEditor::Listener class directly. */ typedef TextEditor::Listener TextEditorListener; - - -#endif // JUCE_TEXTEDITOR_H_INCLUDED diff --git a/modules/juce_gui_basics/widgets/juce_Toolbar.h b/modules/juce_gui_basics/widgets/juce_Toolbar.h index 7c0f3dbcb9..ab48ade3cc 100644 --- a/modules/juce_gui_basics/widgets/juce_Toolbar.h +++ b/modules/juce_gui_basics/widgets/juce_Toolbar.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_TOOLBAR_H_INCLUDED -#define JUCE_TOOLBAR_H_INCLUDED +#pragma once class ToolbarItemComponent; class ToolbarItemFactory; @@ -325,6 +324,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (Toolbar) }; - - -#endif // JUCE_TOOLBAR_H_INCLUDED diff --git a/modules/juce_gui_basics/widgets/juce_ToolbarItemComponent.h b/modules/juce_gui_basics/widgets/juce_ToolbarItemComponent.h index 20271150fb..aaa15385a2 100644 --- a/modules/juce_gui_basics/widgets/juce_ToolbarItemComponent.h +++ b/modules/juce_gui_basics/widgets/juce_ToolbarItemComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_TOOLBARITEMCOMPONENT_H_INCLUDED -#define JUCE_TOOLBARITEMCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -200,6 +199,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ToolbarItemComponent) }; - - -#endif // JUCE_TOOLBARITEMCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_basics/widgets/juce_ToolbarItemFactory.h b/modules/juce_gui_basics/widgets/juce_ToolbarItemFactory.h index 95ff06ee13..eeea02f875 100644 --- a/modules/juce_gui_basics/widgets/juce_ToolbarItemFactory.h +++ b/modules/juce_gui_basics/widgets/juce_ToolbarItemFactory.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_TOOLBARITEMFACTORY_H_INCLUDED -#define JUCE_TOOLBARITEMFACTORY_H_INCLUDED +#pragma once //============================================================================== @@ -103,6 +102,3 @@ public: */ virtual ToolbarItemComponent* createItem (int itemId) = 0; }; - - -#endif // JUCE_TOOLBARITEMFACTORY_H_INCLUDED diff --git a/modules/juce_gui_basics/widgets/juce_ToolbarItemPalette.h b/modules/juce_gui_basics/widgets/juce_ToolbarItemPalette.h index 514f096146..508f65c619 100644 --- a/modules/juce_gui_basics/widgets/juce_ToolbarItemPalette.h +++ b/modules/juce_gui_basics/widgets/juce_ToolbarItemPalette.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_TOOLBARITEMPALETTE_H_INCLUDED -#define JUCE_TOOLBARITEMPALETTE_H_INCLUDED +#pragma once //============================================================================== @@ -71,6 +70,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ToolbarItemPalette) }; - - -#endif // JUCE_TOOLBARITEMPALETTE_H_INCLUDED diff --git a/modules/juce_gui_basics/widgets/juce_TreeView.h b/modules/juce_gui_basics/widgets/juce_TreeView.h index 75a9a9aaed..29b43285fb 100644 --- a/modules/juce_gui_basics/widgets/juce_TreeView.h +++ b/modules/juce_gui_basics/widgets/juce_TreeView.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_TREEVIEW_H_INCLUDED -#define JUCE_TREEVIEW_H_INCLUDED +#pragma once class TreeView; @@ -936,5 +935,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (TreeView) }; - -#endif // JUCE_TREEVIEW_H_INCLUDED diff --git a/modules/juce_gui_basics/windows/juce_AlertWindow.h b/modules/juce_gui_basics/windows/juce_AlertWindow.h index cf1a06f166..3a7bd61585 100644 --- a/modules/juce_gui_basics/windows/juce_AlertWindow.h +++ b/modules/juce_gui_basics/windows/juce_AlertWindow.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_ALERTWINDOW_H_INCLUDED -#define JUCE_ALERTWINDOW_H_INCLUDED +#pragma once //============================================================================== @@ -485,5 +484,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AlertWindow) }; - -#endif // JUCE_ALERTWINDOW_H_INCLUDED diff --git a/modules/juce_gui_basics/windows/juce_CallOutBox.h b/modules/juce_gui_basics/windows/juce_CallOutBox.h index 1e598eb219..426ca0b949 100644 --- a/modules/juce_gui_basics/windows/juce_CallOutBox.h +++ b/modules/juce_gui_basics/windows/juce_CallOutBox.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_CALLOUTBOX_H_INCLUDED -#define JUCE_CALLOUTBOX_H_INCLUDED +#pragma once //============================================================================== @@ -181,6 +180,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (CallOutBox) }; - - -#endif // JUCE_CALLOUTBOX_H_INCLUDED diff --git a/modules/juce_gui_basics/windows/juce_ComponentPeer.h b/modules/juce_gui_basics/windows/juce_ComponentPeer.h index 4277618991..bc25160d56 100644 --- a/modules/juce_gui_basics/windows/juce_ComponentPeer.h +++ b/modules/juce_gui_basics/windows/juce_ComponentPeer.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_COMPONENTPEER_H_INCLUDED -#define JUCE_COMPONENTPEER_H_INCLUDED +#pragma once //============================================================================== @@ -372,6 +371,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ComponentPeer) }; - - -#endif // JUCE_COMPONENTPEER_H_INCLUDED diff --git a/modules/juce_gui_basics/windows/juce_DialogWindow.h b/modules/juce_gui_basics/windows/juce_DialogWindow.h index ab927e2bc0..4ca6ecf236 100644 --- a/modules/juce_gui_basics/windows/juce_DialogWindow.h +++ b/modules/juce_gui_basics/windows/juce_DialogWindow.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_DIALOGWINDOW_H_INCLUDED -#define JUCE_DIALOGWINDOW_H_INCLUDED +#pragma once //============================================================================== @@ -257,5 +256,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (DialogWindow) }; - -#endif // JUCE_DIALOGWINDOW_H_INCLUDED diff --git a/modules/juce_gui_basics/windows/juce_DocumentWindow.h b/modules/juce_gui_basics/windows/juce_DocumentWindow.h index ea31eb46b6..b6a37252dd 100644 --- a/modules/juce_gui_basics/windows/juce_DocumentWindow.h +++ b/modules/juce_gui_basics/windows/juce_DocumentWindow.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_DOCUMENTWINDOW_H_INCLUDED -#define JUCE_DOCUMENTWINDOW_H_INCLUDED +#pragma once //============================================================================== @@ -290,6 +289,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (DocumentWindow) }; - - -#endif // JUCE_DOCUMENTWINDOW_H_INCLUDED diff --git a/modules/juce_gui_basics/windows/juce_NativeMessageBox.h b/modules/juce_gui_basics/windows/juce_NativeMessageBox.h index f036898825..4d535ff7cc 100644 --- a/modules/juce_gui_basics/windows/juce_NativeMessageBox.h +++ b/modules/juce_gui_basics/windows/juce_NativeMessageBox.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_NATIVEMESSAGEBOX_H_INCLUDED -#define JUCE_NATIVEMESSAGEBOX_H_INCLUDED +#pragma once //============================================================================== /** @@ -160,5 +159,3 @@ private: NativeMessageBox() JUCE_DELETED_FUNCTION; JUCE_DECLARE_NON_COPYABLE (NativeMessageBox) }; - -#endif // JUCE_NATIVEMESSAGEBOX_H_INCLUDED diff --git a/modules/juce_gui_basics/windows/juce_ResizableWindow.h b/modules/juce_gui_basics/windows/juce_ResizableWindow.h index c30deb0c56..b0b683a780 100644 --- a/modules/juce_gui_basics/windows/juce_ResizableWindow.h +++ b/modules/juce_gui_basics/windows/juce_ResizableWindow.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_RESIZABLEWINDOW_H_INCLUDED -#define JUCE_RESIZABLEWINDOW_H_INCLUDED +#pragma once //============================================================================== @@ -405,6 +404,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ResizableWindow) }; - - -#endif // JUCE_RESIZABLEWINDOW_H_INCLUDED diff --git a/modules/juce_gui_basics/windows/juce_ThreadWithProgressWindow.h b/modules/juce_gui_basics/windows/juce_ThreadWithProgressWindow.h index 9ced44771a..7904c2c5bb 100644 --- a/modules/juce_gui_basics/windows/juce_ThreadWithProgressWindow.h +++ b/modules/juce_gui_basics/windows/juce_ThreadWithProgressWindow.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_THREADWITHPROGRESSWINDOW_H_INCLUDED -#define JUCE_THREADWITHPROGRESSWINDOW_H_INCLUDED +#pragma once //============================================================================== @@ -169,5 +168,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ThreadWithProgressWindow) }; - -#endif // JUCE_THREADWITHPROGRESSWINDOW_H_INCLUDED diff --git a/modules/juce_gui_basics/windows/juce_TooltipWindow.h b/modules/juce_gui_basics/windows/juce_TooltipWindow.h index 40f7d5a203..c99ea6dbf9 100644 --- a/modules/juce_gui_basics/windows/juce_TooltipWindow.h +++ b/modules/juce_gui_basics/windows/juce_TooltipWindow.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_TOOLTIPWINDOW_H_INCLUDED -#define JUCE_TOOLTIPWINDOW_H_INCLUDED +#pragma once //============================================================================== @@ -136,6 +135,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (TooltipWindow) }; - - -#endif // JUCE_TOOLTIPWINDOW_H_INCLUDED diff --git a/modules/juce_gui_basics/windows/juce_TopLevelWindow.h b/modules/juce_gui_basics/windows/juce_TopLevelWindow.h index 2f3a60a39d..0347bf6f33 100644 --- a/modules/juce_gui_basics/windows/juce_TopLevelWindow.h +++ b/modules/juce_gui_basics/windows/juce_TopLevelWindow.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_TOPLEVELWINDOW_H_INCLUDED -#define JUCE_TOPLEVELWINDOW_H_INCLUDED +#pragma once //============================================================================== @@ -159,6 +158,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (TopLevelWindow) }; - - -#endif // JUCE_TOPLEVELWINDOW_H_INCLUDED diff --git a/modules/juce_gui_extra/code_editor/juce_CPlusPlusCodeTokeniser.h b/modules/juce_gui_extra/code_editor/juce_CPlusPlusCodeTokeniser.h index 53ab7ef5e0..30748d71c9 100644 --- a/modules/juce_gui_extra/code_editor/juce_CPlusPlusCodeTokeniser.h +++ b/modules/juce_gui_extra/code_editor/juce_CPlusPlusCodeTokeniser.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_CPLUSPLUSCODETOKENISER_H_INCLUDED -#define JUCE_CPLUSPLUSCODETOKENISER_H_INCLUDED +#pragma once //============================================================================== @@ -66,6 +65,3 @@ private: //============================================================================== JUCE_LEAK_DETECTOR (CPlusPlusCodeTokeniser) }; - - -#endif // JUCE_CPLUSPLUSCODETOKENISER_H_INCLUDED diff --git a/modules/juce_gui_extra/code_editor/juce_CPlusPlusCodeTokeniserFunctions.h b/modules/juce_gui_extra/code_editor/juce_CPlusPlusCodeTokeniserFunctions.h index 176e76362f..253b32b820 100644 --- a/modules/juce_gui_extra/code_editor/juce_CPlusPlusCodeTokeniserFunctions.h +++ b/modules/juce_gui_extra/code_editor/juce_CPlusPlusCodeTokeniserFunctions.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_CPLUSPLUSCODETOKENISERFUNCTIONS_H_INCLUDED -#define JUCE_CPLUSPLUSCODETOKENISERFUNCTIONS_H_INCLUDED +#pragma once //============================================================================== @@ -660,6 +659,3 @@ struct CppTokeniserFunctions return mo.toString(); } }; - - -#endif // JUCE_CPLUSPLUSCODETOKENISERFUNCTIONS_H_INCLUDED diff --git a/modules/juce_gui_extra/code_editor/juce_CodeDocument.h b/modules/juce_gui_extra/code_editor/juce_CodeDocument.h index a5396b7837..3675253557 100644 --- a/modules/juce_gui_extra/code_editor/juce_CodeDocument.h +++ b/modules/juce_gui_extra/code_editor/juce_CodeDocument.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_CODEDOCUMENT_H_INCLUDED -#define JUCE_CODEDOCUMENT_H_INCLUDED +#pragma once class CodeDocumentLine; @@ -412,6 +411,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (CodeDocument) }; - - -#endif // JUCE_CODEDOCUMENT_H_INCLUDED diff --git a/modules/juce_gui_extra/code_editor/juce_CodeEditorComponent.h b/modules/juce_gui_extra/code_editor/juce_CodeEditorComponent.h index 485c13c54c..4ef972f357 100644 --- a/modules/juce_gui_extra/code_editor/juce_CodeEditorComponent.h +++ b/modules/juce_gui_extra/code_editor/juce_CodeEditorComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_CODEEDITORCOMPONENT_H_INCLUDED -#define JUCE_CODEEDITORCOMPONENT_H_INCLUDED +#pragma once class CodeTokeniser; @@ -430,6 +429,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (CodeEditorComponent) }; - - -#endif // JUCE_CODEEDITORCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_extra/code_editor/juce_CodeTokeniser.h b/modules/juce_gui_extra/code_editor/juce_CodeTokeniser.h index b47576e18b..4b012631d7 100644 --- a/modules/juce_gui_extra/code_editor/juce_CodeTokeniser.h +++ b/modules/juce_gui_extra/code_editor/juce_CodeTokeniser.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_CODETOKENISER_H_INCLUDED -#define JUCE_CODETOKENISER_H_INCLUDED +#pragma once //============================================================================== @@ -53,6 +52,3 @@ public: private: JUCE_LEAK_DETECTOR (CodeTokeniser) }; - - -#endif // JUCE_CODETOKENISER_H_INCLUDED diff --git a/modules/juce_gui_extra/code_editor/juce_LuaCodeTokeniser.h b/modules/juce_gui_extra/code_editor/juce_LuaCodeTokeniser.h index 8b4b8bab30..8443919e33 100644 --- a/modules/juce_gui_extra/code_editor/juce_LuaCodeTokeniser.h +++ b/modules/juce_gui_extra/code_editor/juce_LuaCodeTokeniser.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_LUACODETOKENISER_H_INCLUDED -#define JUCE_LUACODETOKENISER_H_INCLUDED +#pragma once //============================================================================== @@ -59,5 +58,3 @@ private: //============================================================================== JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LuaTokeniser) }; - -#endif // JUCE_LUACODETOKENISER_H_INCLUDED diff --git a/modules/juce_gui_extra/code_editor/juce_XMLCodeTokeniser.h b/modules/juce_gui_extra/code_editor/juce_XMLCodeTokeniser.h index e2e0014ff9..1b26290c97 100644 --- a/modules/juce_gui_extra/code_editor/juce_XMLCodeTokeniser.h +++ b/modules/juce_gui_extra/code_editor/juce_XMLCodeTokeniser.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_XMLCODETOKENISER_H_INCLUDED -#define JUCE_XMLCODETOKENISER_H_INCLUDED +#pragma once //============================================================================== @@ -57,6 +56,3 @@ public: private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (XmlTokeniser) }; - - -#endif // JUCE_XMLCODETOKENISER_H_INCLUDED diff --git a/modules/juce_gui_extra/documents/juce_FileBasedDocument.h b/modules/juce_gui_extra/documents/juce_FileBasedDocument.h index eab3d1e318..71ff0bf5c2 100644 --- a/modules/juce_gui_extra/documents/juce_FileBasedDocument.h +++ b/modules/juce_gui_extra/documents/juce_FileBasedDocument.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_FILEBASEDDOCUMENT_H_INCLUDED -#define JUCE_FILEBASEDDOCUMENT_H_INCLUDED +#pragma once //============================================================================== @@ -289,6 +288,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (FileBasedDocument) }; - - -#endif // JUCE_FILEBASEDDOCUMENT_H_INCLUDED diff --git a/modules/juce_gui_extra/embedding/juce_ActiveXControlComponent.h b/modules/juce_gui_extra/embedding/juce_ActiveXControlComponent.h index a599340983..4a225fe2f8 100644 --- a/modules/juce_gui_extra/embedding/juce_ActiveXControlComponent.h +++ b/modules/juce_gui_extra/embedding/juce_ActiveXControlComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_ACTIVEXCONTROLCOMPONENT_H_INCLUDED -#define JUCE_ACTIVEXCONTROLCOMPONENT_H_INCLUDED +#pragma once #if JUCE_WINDOWS || DOXYGEN @@ -118,5 +117,3 @@ private: }; #endif - -#endif // JUCE_ACTIVEXCONTROLCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_extra/embedding/juce_NSViewComponent.h b/modules/juce_gui_extra/embedding/juce_NSViewComponent.h index 6903f2cbd8..2870a0e528 100644 --- a/modules/juce_gui_extra/embedding/juce_NSViewComponent.h +++ b/modules/juce_gui_extra/embedding/juce_NSViewComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_NSVIEWCOMPONENT_H_INCLUDED -#define JUCE_NSVIEWCOMPONENT_H_INCLUDED +#pragma once #if JUCE_MAC || DOXYGEN @@ -84,4 +83,3 @@ private: }; #endif -#endif // JUCE_NSVIEWCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_extra/embedding/juce_UIViewComponent.h b/modules/juce_gui_extra/embedding/juce_UIViewComponent.h index ad2d63b27a..300987c5ab 100644 --- a/modules/juce_gui_extra/embedding/juce_UIViewComponent.h +++ b/modules/juce_gui_extra/embedding/juce_UIViewComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_UIVIEWCOMPONENT_H_INCLUDED -#define JUCE_UIVIEWCOMPONENT_H_INCLUDED +#pragma once #if JUCE_IOS || DOXYGEN @@ -83,4 +82,3 @@ private: }; #endif -#endif // JUCE_UIVIEWCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_extra/juce_gui_extra.h b/modules/juce_gui_extra/juce_gui_extra.h index bdd5aeba3d..59f42f793a 100644 --- a/modules/juce_gui_extra/juce_gui_extra.h +++ b/modules/juce_gui_extra/juce_gui_extra.h @@ -47,8 +47,7 @@ *******************************************************************************/ -#ifndef JUCE_GUI_EXTRA_H_INCLUDED -#define JUCE_GUI_EXTRA_H_INCLUDED +#pragma once #include @@ -99,5 +98,3 @@ namespace juce #include "misc/juce_AnimatedAppComponent.h" } - -#endif // JUCE_GUI_EXTRA_H_INCLUDED diff --git a/modules/juce_gui_extra/misc/juce_AnimatedAppComponent.h b/modules/juce_gui_extra/misc/juce_AnimatedAppComponent.h index 9ad10038fb..67d411bcbf 100644 --- a/modules/juce_gui_extra/misc/juce_AnimatedAppComponent.h +++ b/modules/juce_gui_extra/misc/juce_AnimatedAppComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_ANIMATEDAPPCOMPONENT_H_INCLUDED -#define JUCE_ANIMATEDAPPCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -71,7 +70,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AnimatedAppComponent) }; - - - -#endif // JUCE_ANIMATEDAPPCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_extra/misc/juce_AppleRemote.h b/modules/juce_gui_extra/misc/juce_AppleRemote.h index 6a6506cedf..3fb78bfabd 100644 --- a/modules/juce_gui_extra/misc/juce_AppleRemote.h +++ b/modules/juce_gui_extra/misc/juce_AppleRemote.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_APPLEREMOTE_H_INCLUDED -#define JUCE_APPLEREMOTE_H_INCLUDED +#pragma once //============================================================================== @@ -111,4 +110,3 @@ private: }; #endif -#endif // JUCE_APPLEREMOTE_H_INCLUDED diff --git a/modules/juce_gui_extra/misc/juce_BubbleMessageComponent.h b/modules/juce_gui_extra/misc/juce_BubbleMessageComponent.h index 18e3beb3cc..94c98ee937 100644 --- a/modules/juce_gui_extra/misc/juce_BubbleMessageComponent.h +++ b/modules/juce_gui_extra/misc/juce_BubbleMessageComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_BUBBLEMESSAGECOMPONENT_H_INCLUDED -#define JUCE_BUBBLEMESSAGECOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -125,6 +124,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (BubbleMessageComponent) }; - - -#endif // JUCE_BUBBLEMESSAGECOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_extra/misc/juce_ColourSelector.h b/modules/juce_gui_extra/misc/juce_ColourSelector.h index 6f2006a69e..ffb93ceef0 100644 --- a/modules/juce_gui_extra/misc/juce_ColourSelector.h +++ b/modules/juce_gui_extra/misc/juce_ColourSelector.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_COLOURSELECTOR_H_INCLUDED -#define JUCE_COLOURSELECTOR_H_INCLUDED +#pragma once //============================================================================== @@ -166,6 +165,3 @@ private: ColourSelector (bool); #endif }; - - -#endif // JUCE_COLOURSELECTOR_H_INCLUDED diff --git a/modules/juce_gui_extra/misc/juce_KeyMappingEditorComponent.h b/modules/juce_gui_extra/misc/juce_KeyMappingEditorComponent.h index 831a4e5ab4..3b1b6bb175 100644 --- a/modules/juce_gui_extra/misc/juce_KeyMappingEditorComponent.h +++ b/modules/juce_gui_extra/misc/juce_KeyMappingEditorComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_KEYMAPPINGEDITORCOMPONENT_H_INCLUDED -#define JUCE_KEYMAPPINGEDITORCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -129,6 +128,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (KeyMappingEditorComponent) }; - - -#endif // JUCE_KEYMAPPINGEDITORCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_extra/misc/juce_LiveConstantEditor.h b/modules/juce_gui_extra/misc/juce_LiveConstantEditor.h index 4978d3e451..ff4f3e5c83 100644 --- a/modules/juce_gui_extra/misc/juce_LiveConstantEditor.h +++ b/modules/juce_gui_extra/misc/juce_LiveConstantEditor.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_LIVECONSTANTEDITOR_H_INCLUDED -#define JUCE_LIVECONSTANTEDITOR_H_INCLUDED +#pragma once #if JUCE_ENABLE_LIVE_CONSTANT_EDITOR && ! DOXYGEN @@ -302,6 +301,3 @@ namespace LiveConstantEditor #define JUCE_LIVE_CONSTANT(initialValue) \ (initialValue) #endif - - -#endif // JUCE_LIVECONSTANTEDITOR_H_INCLUDED diff --git a/modules/juce_gui_extra/misc/juce_PreferencesPanel.h b/modules/juce_gui_extra/misc/juce_PreferencesPanel.h index 4c059c7103..fe99e62fee 100644 --- a/modules/juce_gui_extra/misc/juce_PreferencesPanel.h +++ b/modules/juce_gui_extra/misc/juce_PreferencesPanel.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_PREFERENCESPANEL_H_INCLUDED -#define JUCE_PREFERENCESPANEL_H_INCLUDED +#pragma once //============================================================================== @@ -142,7 +141,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (PreferencesPanel) }; - - - -#endif // JUCE_PREFERENCESPANEL_H_INCLUDED diff --git a/modules/juce_gui_extra/misc/juce_RecentlyOpenedFilesList.h b/modules/juce_gui_extra/misc/juce_RecentlyOpenedFilesList.h index 14d4f51416..1d64a482b3 100644 --- a/modules/juce_gui_extra/misc/juce_RecentlyOpenedFilesList.h +++ b/modules/juce_gui_extra/misc/juce_RecentlyOpenedFilesList.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_RECENTLYOPENEDFILESLIST_H_INCLUDED -#define JUCE_RECENTLYOPENEDFILESLIST_H_INCLUDED +#pragma once //============================================================================== @@ -159,6 +158,3 @@ private: JUCE_LEAK_DETECTOR (RecentlyOpenedFilesList) }; - - -#endif // JUCE_RECENTLYOPENEDFILESLIST_H_INCLUDED diff --git a/modules/juce_gui_extra/misc/juce_SplashScreen.h b/modules/juce_gui_extra/misc/juce_SplashScreen.h index d65d136ab0..9898b85243 100644 --- a/modules/juce_gui_extra/misc/juce_SplashScreen.h +++ b/modules/juce_gui_extra/misc/juce_SplashScreen.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_SPLASHSCREEN_H_INCLUDED -#define JUCE_SPLASHSCREEN_H_INCLUDED +#pragma once //============================================================================== @@ -150,6 +149,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (SplashScreen) }; - - -#endif // JUCE_SPLASHSCREEN_H_INCLUDED diff --git a/modules/juce_gui_extra/misc/juce_SystemTrayIconComponent.h b/modules/juce_gui_extra/misc/juce_SystemTrayIconComponent.h index 573ea3c8b8..382336b56c 100644 --- a/modules/juce_gui_extra/misc/juce_SystemTrayIconComponent.h +++ b/modules/juce_gui_extra/misc/juce_SystemTrayIconComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_SYSTEMTRAYICONCOMPONENT_H_INCLUDED -#define JUCE_SYSTEMTRAYICONCOMPONENT_H_INCLUDED +#pragma once #if JUCE_WINDOWS || JUCE_LINUX || JUCE_MAC || DOXYGEN @@ -99,4 +98,3 @@ private: #endif -#endif // JUCE_SYSTEMTRAYICONCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_extra/misc/juce_WebBrowserComponent.h b/modules/juce_gui_extra/misc/juce_WebBrowserComponent.h index 7cbb818440..40cf25217e 100644 --- a/modules/juce_gui_extra/misc/juce_WebBrowserComponent.h +++ b/modules/juce_gui_extra/misc/juce_WebBrowserComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_WEBBROWSERCOMPONENT_H_INCLUDED -#define JUCE_WEBBROWSERCOMPONENT_H_INCLUDED +#pragma once #if JUCE_WEB_BROWSER || DOXYGEN @@ -133,4 +132,3 @@ private: #endif -#endif // JUCE_WEBBROWSERCOMPONENT_H_INCLUDED diff --git a/modules/juce_gui_extra/native/juce_mac_CarbonViewWrapperComponent.h b/modules/juce_gui_extra/native/juce_mac_CarbonViewWrapperComponent.h index bd1d56456b..282579684a 100644 --- a/modules/juce_gui_extra/native/juce_mac_CarbonViewWrapperComponent.h +++ b/modules/juce_gui_extra/native/juce_mac_CarbonViewWrapperComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_MAC_CARBONVIEWWRAPPERCOMPONENT_H_INCLUDED -#define JUCE_MAC_CARBONVIEWWRAPPERCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -340,5 +339,3 @@ void* getCarbonWindow (Component* possibleCarbonComponent) return nullptr; } - -#endif // JUCE_MAC_CARBONVIEWWRAPPERCOMPONENT_H_INCLUDED diff --git a/modules/juce_opengl/geometry/juce_Draggable3DOrientation.h b/modules/juce_opengl/geometry/juce_Draggable3DOrientation.h index 9893bf102b..948eba05ff 100644 --- a/modules/juce_opengl/geometry/juce_Draggable3DOrientation.h +++ b/modules/juce_opengl/geometry/juce_Draggable3DOrientation.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_DRAGGABLE3DORIENTATION_H_INCLUDED -#define JUCE_DRAGGABLE3DORIENTATION_H_INCLUDED +#pragma once //============================================================================== @@ -153,5 +152,3 @@ private: return QuaternionType::fromAngle (2.0f * std::asin (d), rotationAxis); } }; - -#endif // JUCE_DRAGGABLE3DORIENTATION_H_INCLUDED diff --git a/modules/juce_opengl/geometry/juce_Matrix3D.h b/modules/juce_opengl/geometry/juce_Matrix3D.h index 445f259c31..fdcb89a007 100644 --- a/modules/juce_opengl/geometry/juce_Matrix3D.h +++ b/modules/juce_opengl/geometry/juce_Matrix3D.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_MATRIX3D_H_INCLUDED -#define JUCE_MATRIX3D_H_INCLUDED +#pragma once //============================================================================== /** @@ -149,6 +148,3 @@ public: /** The 4x4 matrix values. These are stored in the standard OpenGL order. */ Type mat[16]; }; - - -#endif // JUCE_MATRIX3D_H_INCLUDED diff --git a/modules/juce_opengl/geometry/juce_Quaternion.h b/modules/juce_opengl/geometry/juce_Quaternion.h index 637a56bcd3..da8a484568 100644 --- a/modules/juce_opengl/geometry/juce_Quaternion.h +++ b/modules/juce_opengl/geometry/juce_Quaternion.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_QUATERNION_H_INCLUDED -#define JUCE_QUATERNION_H_INCLUDED +#pragma once #include "juce_Vector3D.h" #include "juce_Matrix3D.h" @@ -94,6 +93,3 @@ public: /** The scalar part of the quaternion. */ Type scalar; }; - - -#endif // JUCE_QUATERNION_H_INCLUDED diff --git a/modules/juce_opengl/geometry/juce_Vector3D.h b/modules/juce_opengl/geometry/juce_Vector3D.h index 0cb94aeccb..5260bbfcba 100644 --- a/modules/juce_opengl/geometry/juce_Vector3D.h +++ b/modules/juce_opengl/geometry/juce_Vector3D.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_VECTOR3D_H_INCLUDED -#define JUCE_VECTOR3D_H_INCLUDED +#pragma once //============================================================================== /** @@ -76,6 +75,3 @@ public: Type x, y, z; }; - - -#endif // JUCE_VECTOR3D_H_INCLUDED diff --git a/modules/juce_opengl/juce_opengl.h b/modules/juce_opengl/juce_opengl.h index 6c1ac986dd..0396a40dc5 100644 --- a/modules/juce_opengl/juce_opengl.h +++ b/modules/juce_opengl/juce_opengl.h @@ -50,8 +50,7 @@ *******************************************************************************/ -#ifndef JUCE_OPENGL_H_INCLUDED -#define JUCE_OPENGL_H_INCLUDED +#pragma once #include @@ -182,5 +181,3 @@ class OpenGLShaderProgram; #include "utils/juce_OpenGLAppComponent.h" } - -#endif // JUCE_OPENGL_H_INCLUDED diff --git a/modules/juce_opengl/native/juce_OpenGLExtensions.h b/modules/juce_opengl/native/juce_OpenGLExtensions.h index abfdda53d6..9c8ce28a57 100644 --- a/modules/juce_opengl/native/juce_OpenGLExtensions.h +++ b/modules/juce_opengl/native/juce_OpenGLExtensions.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_OPENGLEXTENSIONS_H_INCLUDED -#define JUCE_OPENGLEXTENSIONS_H_INCLUDED +#pragma once /** @internal This macro contains a list of GL extension functions that need to be dynamically loaded on Windows/Linux. @@ -153,5 +152,3 @@ struct OpenGLExtensionFunctions #undef JUCE_DECLARE_GL_FUNCTION }; - -#endif // JUCE_OPENGLEXTENSIONS_H_INCLUDED diff --git a/modules/juce_opengl/opengl/juce_OpenGLContext.h b/modules/juce_opengl/opengl/juce_OpenGLContext.h index 4291acccd8..c1c8fb8f76 100644 --- a/modules/juce_opengl/opengl/juce_OpenGLContext.h +++ b/modules/juce_opengl/opengl/juce_OpenGLContext.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_OPENGLCONTEXT_H_INCLUDED -#define JUCE_OPENGLCONTEXT_H_INCLUDED +#pragma once //============================================================================== @@ -293,6 +292,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (OpenGLContext) }; - - -#endif // JUCE_OPENGLCONTEXT_H_INCLUDED diff --git a/modules/juce_opengl/opengl/juce_OpenGLFrameBuffer.h b/modules/juce_opengl/opengl/juce_OpenGLFrameBuffer.h index 4ffefcf6cf..bd8a95d2c6 100644 --- a/modules/juce_opengl/opengl/juce_OpenGLFrameBuffer.h +++ b/modules/juce_opengl/opengl/juce_OpenGLFrameBuffer.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_OPENGLFRAMEBUFFER_H_INCLUDED -#define JUCE_OPENGLFRAMEBUFFER_H_INCLUDED +#pragma once //============================================================================== @@ -129,6 +128,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (OpenGLFrameBuffer) }; - - -#endif // JUCE_OPENGLFRAMEBUFFER_H_INCLUDED diff --git a/modules/juce_opengl/opengl/juce_OpenGLGraphicsContext.h b/modules/juce_opengl/opengl/juce_OpenGLGraphicsContext.h index 3a85d21207..c9604a8fc1 100644 --- a/modules/juce_opengl/opengl/juce_OpenGLGraphicsContext.h +++ b/modules/juce_opengl/opengl/juce_OpenGLGraphicsContext.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_OPENGLGRAPHICSCONTEXT_H_INCLUDED -#define JUCE_OPENGLGRAPHICSCONTEXT_H_INCLUDED +#pragma once /** Creates a graphics context object that will render into the given OpenGL target. @@ -91,6 +90,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (OpenGLGraphicsContextCustomShader) }; - - -#endif // JUCE_OPENGLGRAPHICSCONTEXT_H_INCLUDED diff --git a/modules/juce_opengl/opengl/juce_OpenGLHelpers.h b/modules/juce_opengl/opengl/juce_OpenGLHelpers.h index 6313655023..3954c2f207 100644 --- a/modules/juce_opengl/opengl/juce_OpenGLHelpers.h +++ b/modules/juce_opengl/opengl/juce_OpenGLHelpers.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_OPENGLHELPERS_H_INCLUDED -#define JUCE_OPENGLHELPERS_H_INCLUDED +#pragma once //============================================================================== @@ -68,6 +67,3 @@ public: */ static String translateFragmentShaderToV3 (const String&); }; - - -#endif // JUCE_OPENGLHELPERS_H_INCLUDED diff --git a/modules/juce_opengl/opengl/juce_OpenGLImage.h b/modules/juce_opengl/opengl/juce_OpenGLImage.h index ece0e719ed..fd6c9949e6 100644 --- a/modules/juce_opengl/opengl/juce_OpenGLImage.h +++ b/modules/juce_opengl/opengl/juce_OpenGLImage.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_OPENGLIMAGE_H_INCLUDED -#define JUCE_OPENGLIMAGE_H_INCLUDED +#pragma once //============================================================================== @@ -48,5 +47,3 @@ public: static OpenGLFrameBuffer* getFrameBufferFrom (const Image&); }; - -#endif // JUCE_OPENGLIMAGE_H_INCLUDED diff --git a/modules/juce_opengl/opengl/juce_OpenGLPixelFormat.h b/modules/juce_opengl/opengl/juce_OpenGLPixelFormat.h index f12d5ecd4e..7985d45558 100644 --- a/modules/juce_opengl/opengl/juce_OpenGLPixelFormat.h +++ b/modules/juce_opengl/opengl/juce_OpenGLPixelFormat.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_OPENGLPIXELFORMAT_H_INCLUDED -#define JUCE_OPENGLPIXELFORMAT_H_INCLUDED +#pragma once //============================================================================== @@ -65,6 +64,3 @@ public: uint8 multisamplingLevel; /**< The number of samples to use for full-scene multisampled anti-aliasing (if available). */ }; - - -#endif // JUCE_OPENGLPIXELFORMAT_H_INCLUDED diff --git a/modules/juce_opengl/opengl/juce_OpenGLRenderer.h b/modules/juce_opengl/opengl/juce_OpenGLRenderer.h index 4c1cb98623..70a2e74ce1 100644 --- a/modules/juce_opengl/opengl/juce_OpenGLRenderer.h +++ b/modules/juce_opengl/opengl/juce_OpenGLRenderer.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_OPENGLRENDERER_H_INCLUDED -#define JUCE_OPENGLRENDERER_H_INCLUDED +#pragma once //============================================================================== @@ -69,6 +68,3 @@ public: */ virtual void openGLContextClosing() = 0; }; - - -#endif // JUCE_OPENGLRENDERER_H_INCLUDED diff --git a/modules/juce_opengl/opengl/juce_OpenGLShaderProgram.h b/modules/juce_opengl/opengl/juce_OpenGLShaderProgram.h index 2cb841247e..7f6bb71a5a 100644 --- a/modules/juce_opengl/opengl/juce_OpenGLShaderProgram.h +++ b/modules/juce_opengl/opengl/juce_OpenGLShaderProgram.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_OPENGLSHADERPROGRAM_H_INCLUDED -#define JUCE_OPENGLSHADERPROGRAM_H_INCLUDED +#pragma once //============================================================================== /** @@ -194,5 +193,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (OpenGLShaderProgram) }; - -#endif // JUCE_OPENGLSHADERPROGRAM_H_INCLUDED diff --git a/modules/juce_opengl/opengl/juce_OpenGLTexture.h b/modules/juce_opengl/opengl/juce_OpenGLTexture.h index 35303877b9..0a8bbb89fe 100644 --- a/modules/juce_opengl/opengl/juce_OpenGLTexture.h +++ b/modules/juce_opengl/opengl/juce_OpenGLTexture.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_OPENGLTEXTURE_H_INCLUDED -#define JUCE_OPENGLTEXTURE_H_INCLUDED +#pragma once //============================================================================== /** @@ -97,6 +96,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (OpenGLTexture) }; - - -#endif // JUCE_OPENGLTEXTURE_H_INCLUDED diff --git a/modules/juce_opengl/utils/juce_OpenGLAppComponent.h b/modules/juce_opengl/utils/juce_OpenGLAppComponent.h index 21baf9c511..df6e47e8db 100644 --- a/modules/juce_opengl/utils/juce_OpenGLAppComponent.h +++ b/modules/juce_opengl/utils/juce_OpenGLAppComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_OPENGLAPPCOMPONENT_H_INCLUDED -#define JUCE_OPENGLAPPCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -75,6 +74,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (OpenGLAppComponent) }; - - -#endif // JUCE_OPENGLAPPCOMPONENT_H_INCLUDED diff --git a/modules/juce_osc/juce_osc.h b/modules/juce_osc/juce_osc.h index 1f78972906..791f3aad85 100644 --- a/modules/juce_osc/juce_osc.h +++ b/modules/juce_osc/juce_osc.h @@ -46,8 +46,7 @@ *******************************************************************************/ -#ifndef JUCE_OSC_H_INCLUDED -#define JUCE_OSC_H_INCLUDED +#pragma once #include #include @@ -67,5 +66,3 @@ namespace juce #include "osc/juce_OSCSender.h" } - -#endif // JUCE_OSC_H_INCLUDED diff --git a/modules/juce_osc/osc/juce_OSCAddress.h b/modules/juce_osc/osc/juce_OSCAddress.h index 443b83953b..9c534c2266 100644 --- a/modules/juce_osc/osc/juce_OSCAddress.h +++ b/modules/juce_osc/osc/juce_OSCAddress.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_OSCADDRESS_H_INCLUDED -#define JUCE_OSCADDRESS_H_INCLUDED +#pragma once //============================================================================== @@ -145,6 +144,3 @@ private: String asString; bool wasInitialisedWithWildcards; }; - - -#endif // JUCE_OSCADDRESS_H_INCLUDED diff --git a/modules/juce_osc/osc/juce_OSCArgument.h b/modules/juce_osc/osc/juce_OSCArgument.h index 62b1bb4ea4..41de20d21c 100644 --- a/modules/juce_osc/osc/juce_OSCArgument.h +++ b/modules/juce_osc/osc/juce_OSCArgument.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_OSCARGUMENT_H_INCLUDED -#define JUCE_OSCARGUMENT_H_INCLUDED +#pragma once //============================================================================== @@ -108,6 +107,3 @@ private: String stringValue; MemoryBlock blob; }; - - -#endif // JUCE_OSCARGUMENT_H_INCLUDED diff --git a/modules/juce_osc/osc/juce_OSCBundle.h b/modules/juce_osc/osc/juce_OSCBundle.h index 3e29a25055..edb993faff 100644 --- a/modules/juce_osc/osc/juce_OSCBundle.h +++ b/modules/juce_osc/osc/juce_OSCBundle.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_OSCBUNDLE_H_INCLUDED -#define JUCE_OSCBUNDLE_H_INCLUDED +#pragma once //============================================================================== /** @@ -128,6 +127,3 @@ private: Array elements; OSCTimeTag timeTag; }; - - -#endif // JUCE_OSCBUNDLE_H_INCLUDED diff --git a/modules/juce_osc/osc/juce_OSCMessage.h b/modules/juce_osc/osc/juce_OSCMessage.h index 0860a3b675..76668e95c3 100644 --- a/modules/juce_osc/osc/juce_OSCMessage.h +++ b/modules/juce_osc/osc/juce_OSCMessage.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_OSCMESSAGE_H_INCLUDED -#define JUCE_OSCMESSAGE_H_INCLUDED +#pragma once //============================================================================== @@ -168,5 +167,3 @@ private: addArguments (std::forward (arg1), std::forward (args)...); } #endif - -#endif // JUCE_OSCMESSAGE_H_INCLUDED diff --git a/modules/juce_osc/osc/juce_OSCReceiver.h b/modules/juce_osc/osc/juce_OSCReceiver.h index 94aa1ac047..f9e1d5f9e9 100644 --- a/modules/juce_osc/osc/juce_OSCReceiver.h +++ b/modules/juce_osc/osc/juce_OSCReceiver.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_OSCRECEIVER_H_INCLUDED -#define JUCE_OSCRECEIVER_H_INCLUDED +#pragma once //============================================================================== /** @@ -212,6 +211,3 @@ private: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (OSCReceiver) }; - - -#endif // JUCE_OSCRECEIVER_H_INCLUDED diff --git a/modules/juce_osc/osc/juce_OSCSender.h b/modules/juce_osc/osc/juce_OSCSender.h index 046f97d026..277c842570 100644 --- a/modules/juce_osc/osc/juce_OSCSender.h +++ b/modules/juce_osc/osc/juce_OSCSender.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_OSCSENDER_H_INCLUDED -#define JUCE_OSCSENDER_H_INCLUDED +#pragma once //============================================================================== @@ -152,5 +151,3 @@ private: return sendToIPAddress (targetIPAddress, targetPortNumber, OSCMessage (address, std::forward (args)...)); } #endif // JUCE_COMPILER_SUPPORTS_VARIADIC_TEMPLATES - -#endif // JUCE_OSCSENDER_H_INCLUDED diff --git a/modules/juce_osc/osc/juce_OSCTimeTag.h b/modules/juce_osc/osc/juce_OSCTimeTag.h index 9750781db9..2b96989656 100644 --- a/modules/juce_osc/osc/juce_OSCTimeTag.h +++ b/modules/juce_osc/osc/juce_OSCTimeTag.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_OSCTIMETAG_H_INCLUDED -#define JUCE_OSCTIMETAG_H_INCLUDED +#pragma once //============================================================================== @@ -80,6 +79,3 @@ private: //============================================================================== uint64 rawTimeTag; }; - - -#endif // JUCE_OSCTIMETAG_H_INCLUDED diff --git a/modules/juce_osc/osc/juce_OSCTypes.h b/modules/juce_osc/osc/juce_OSCTypes.h index fc8f64ff77..2e46384641 100644 --- a/modules/juce_osc/osc/juce_OSCTypes.h +++ b/modules/juce_osc/osc/juce_OSCTypes.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_OSCTYPE_H_INCLUDED -#define JUCE_OSCTYPE_H_INCLUDED +#pragma once //============================================================================== @@ -94,6 +93,3 @@ struct OSCInternalError : public OSCException { OSCInternalError (const String& desc) : OSCException (desc) {} }; - - -#endif // JUCE_OSCTYPE_H_INCLUDED diff --git a/modules/juce_tracktion_marketplace/juce_tracktion_marketplace.h b/modules/juce_tracktion_marketplace/juce_tracktion_marketplace.h index 09080e723e..3ce01f7bd7 100644 --- a/modules/juce_tracktion_marketplace/juce_tracktion_marketplace.h +++ b/modules/juce_tracktion_marketplace/juce_tracktion_marketplace.h @@ -46,8 +46,7 @@ *******************************************************************************/ -#ifndef JUCE_TRACKTION_MARKETPLACE_H_INCLUDED -#define JUCE_TRACKTION_MARKETPLACE_H_INCLUDED +#pragma once /** The Tracktion Marketplace module is a simple user-registration system for @@ -83,6 +82,3 @@ namespace juce #include "marketplace/juce_OnlineUnlockForm.h" #endif } - - -#endif // JUCE_TRACKTION_MARKETPLACE_H_INCLUDED diff --git a/modules/juce_video/capture/juce_CameraDevice.h b/modules/juce_video/capture/juce_CameraDevice.h index 5f560e1d52..3e2b1f20eb 100644 --- a/modules/juce_video/capture/juce_CameraDevice.h +++ b/modules/juce_video/capture/juce_CameraDevice.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_CAMERADEVICE_H_INCLUDED -#define JUCE_CAMERADEVICE_H_INCLUDED +#pragma once #if JUCE_USE_CAMERA || DOXYGEN @@ -163,4 +162,3 @@ private: #endif #endif -#endif // JUCE_CAMERADEVICE_H_INCLUDED diff --git a/modules/juce_video/juce_video.h b/modules/juce_video/juce_video.h index 758114a623..f314928d4e 100644 --- a/modules/juce_video/juce_video.h +++ b/modules/juce_video/juce_video.h @@ -48,8 +48,7 @@ *******************************************************************************/ -#ifndef JUCE_VIDEO_H_INCLUDED -#define JUCE_VIDEO_H_INCLUDED +#pragma once //============================================================================== #include @@ -110,5 +109,3 @@ namespace juce #include "capture/juce_CameraDevice.h" } - -#endif // JUCE_VIDEO_H_INCLUDED diff --git a/modules/juce_video/playback/juce_DirectShowComponent.h b/modules/juce_video/playback/juce_DirectShowComponent.h index a8e8e5b875..a3667e53d9 100644 --- a/modules/juce_video/playback/juce_DirectShowComponent.h +++ b/modules/juce_video/playback/juce_DirectShowComponent.h @@ -22,8 +22,7 @@ ============================================================================== */ -#ifndef JUCE_DIRECTSHOWCOMPONENT_H_INCLUDED -#define JUCE_DIRECTSHOWCOMPONENT_H_INCLUDED +#pragma once //============================================================================== @@ -210,5 +209,3 @@ private: //============================================================================== JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (DirectShowComponent) }; - -#endif // JUCE_DIRECTSHOWCOMPONENT_H_INCLUDED