1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools

This commit is contained in:
jules 2017-09-08 08:59:55 +01:00
parent b58a0f4be7
commit eda613c6db
1069 changed files with 5367 additions and 1845 deletions

View file

@ -24,6 +24,9 @@
==============================================================================
*/
namespace juce
{
AudioProcessorPlayer::AudioProcessorPlayer (bool doDoublePrecisionProcessing)
: isDoublePrecision (doDoublePrecisionProcessing)
{
@ -214,3 +217,5 @@ void AudioProcessorPlayer::handleIncomingMidiMessage (MidiInput*, const MidiMess
{
messageCollector.addMessageToQueue (message);
}
} // namespace juce

View file

@ -24,7 +24,8 @@
==============================================================================
*/
#pragma once
namespace juce
{
//==============================================================================
/**
@ -107,3 +108,5 @@ private:
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (AudioProcessorPlayer)
};
} // namespace juce

View file

@ -24,7 +24,9 @@
==============================================================================
*/
//==============================================================================
namespace juce
{
// This is an AudioTransportSource which will own it's assigned source
struct AudioSourceOwningTransportSource : public AudioTransportSource
{
@ -273,3 +275,5 @@ void SoundPlayer::audioDeviceError (const String& errorMessage)
{
player.audioDeviceError (errorMessage);
}
} // namespace juce

View file

@ -24,7 +24,8 @@
==============================================================================
*/
#pragma once
namespace juce
{
//==============================================================================
/**
@ -130,3 +131,5 @@ private:
//==============================================================================
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (SoundPlayer)
};
} // namespace juce