1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-25 02:04:23 +00:00

Added some missing export markers. More internal re-organisation.

This commit is contained in:
Julian Storer 2011-06-30 17:53:15 +01:00
parent c908bc5b84
commit 9c94a7450d
29 changed files with 410 additions and 404 deletions

View file

@ -27,42 +27,6 @@
BEGIN_JUCE_NAMESPACE
#include "../utilities/juce_DeletedAtShutdown.h"
#if ! JUCE_ONLY_BUILD_CORE_LIBRARY
#include "../events/juce_MessageManager.h"
#endif
//==============================================================================
#if ! JUCE_ONLY_BUILD_CORE_LIBRARY
static bool juceInitialisedGUI = false;
JUCE_API void JUCE_CALLTYPE initialiseJuce_GUI()
{
if (! juceInitialisedGUI)
{
juceInitialisedGUI = true;
JUCE_AUTORELEASEPOOL
MessageManager::getInstance();
}
}
JUCE_API void JUCE_CALLTYPE shutdownJuce_GUI()
{
if (juceInitialisedGUI)
{
juceInitialisedGUI = false;
JUCE_AUTORELEASEPOOL
DeletedAtShutdown::deleteAll();
delete MessageManager::getInstance();
}
}
#endif
//==============================================================================
#if JUCE_UNIT_TESTS