openshot-audio  0.1.6
Classes | Functions
juce_MessageManager.cpp File Reference

Classes

class  MessageManager::QuitMessage
 
class  AsyncFunctionCallback
 
class  MessageManagerLock::BlockingMessage
 

Functions

JUCE_API void JUCE_CALLTYPE initialiseJuce_GUI ()
 
JUCE_API void JUCE_CALLTYPE shutdownJuce_GUI ()
 

Function Documentation

◆ initialiseJuce_GUI()

JUCE_API void JUCE_CALLTYPE initialiseJuce_GUI ( )

Initialises Juce's GUI classes.

If you're embedding Juce into an application that uses its own event-loop rather than using the START_JUCE_APPLICATION macro, call this function before making any Juce calls, to make sure things are initialised correctly.

Note that if you're creating a Juce DLL for Windows, you may also need to call the Process::setCurrentModuleInstanceHandle() method.

See also
shutdownJuce_GUI()

◆ shutdownJuce_GUI()

JUCE_API void JUCE_CALLTYPE shutdownJuce_GUI ( )

Clears up any static data being used by Juce's GUI classes.

If you're embedding Juce into an application that uses its own event-loop rather than using the START_JUCE_APPLICATION macro, call this function in your shutdown code to clean up any juce objects that might be lying around.

See also
initialiseJuce_GUI()