Go to the source code of this file.
#define JUCE_INITIALISATION_H_INCLUDED |
#define JUCE_MAIN_FUNCTION int main (int argc, char* argv[]) |
#define JUCE_MAIN_FUNCTION int main (int argc, char* argv[]) |
#define JUCE_MAIN_FUNCTION_ARGS argc, (const char**) argv |
#define JUCE_MAIN_FUNCTION_ARGS argc, (const char**) argv |
#define START_JUCE_APPLICATION |
( |
|
AppClass | ) |
|
Value:
}
#define JUCE_MAIN_FUNCTION_ARGS
Definition: juce_events.h:86
juce::JUCEApplicationBase * juce_CreateApplication()
#define JUCE_MAIN_FUNCTION
static CreateInstanceFunction createInstance
Definition: juce_events.h:260
static int main()
Definition: juce_events.cpp:227
#define START_JUCE_APPLICATION |
( |
|
AppClass | ) |
|
Value:
}
#define JUCE_MAIN_FUNCTION_ARGS
Definition: juce_Initialisation.h:100
Definition: juce_events.h:86
juce::JUCEApplicationBase * juce_CreateApplication()
static CreateInstanceFunction createInstance
Definition: juce_events.h:260
#define JUCE_MAIN_FUNCTION
Definition: juce_Initialisation.h:99
static int main()
Definition: juce_events.cpp:227
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()
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()