JUCE
Namespaces | Macros | Functions
juce_core.h File Reference

Namespaces

 juce
 Classes for IIR filter processing.
 

Macros

#define JUCE_CORE_H_INCLUDED
 
#define JUCE_INCLUDE_ZLIB_CODE   0
 Debian specific constants. More...
 
#define JUCE_INCLUDE_FLAC_CODE   0
 
#define JUCE_INCLUDE_OGGVORBIS_CODE   0
 
#define JUCE_INCLUDE_JPEGLIB_CODE   0
 
#define JUCE_INCLUDE_PNGLIB_CODE   0
 
#define JUCE_LOG_ASSERTIONS   1
 Debian specifics END. More...
 
#define JUCE_CHECK_MEMORY_LEAKS   1
 Config: JUCE_CHECK_MEMORY_LEAKS. More...
 
#define JUCE_DONT_AUTOLINK_TO_WIN32_LIBRARIES   0
 Config: JUCE_DONT_AUTOLINK_TO_WIN32_LIBRARIES. More...
 
#define JUCE_ZLIB_INCLUDE_PATH   <zlib.h>
 Config: JUCE_INCLUDE_ZLIB_CODE This can be used to disable Juce's embedded 3rd-party zlib code. More...
 
#define JUCE_USE_CURL   0
 Config: JUCE_USE_CURL Enables http/https support via libcurl (Linux only). More...
 
#define JUCE_ALLOW_STATIC_NULL_VARIABLES   1
 Config: JUCE_CATCH_UNHANDLED_EXCEPTIONS If enabled, this will add some exception-catching code to forward unhandled exceptions to your JUCEApplicationBase::unhandledException() callback. More...
 
#define JUCE_STRING_UTF_TYPE   8
 

Functions

JUCE_API bool JUCE_CALLTYPE juce::juce_isRunningUnderDebugger () noexcept
 
JUCE_API void JUCE_CALLTYPE juce::logAssertion (const char *file, int line) noexcept
 

Macro Definition Documentation

◆ JUCE_CORE_H_INCLUDED

#define JUCE_CORE_H_INCLUDED

◆ JUCE_INCLUDE_ZLIB_CODE

#define JUCE_INCLUDE_ZLIB_CODE   0

Debian specific constants.

  • Debian, we don't use embedded libraries

◆ JUCE_INCLUDE_FLAC_CODE

#define JUCE_INCLUDE_FLAC_CODE   0

◆ JUCE_INCLUDE_OGGVORBIS_CODE

#define JUCE_INCLUDE_OGGVORBIS_CODE   0

◆ JUCE_INCLUDE_JPEGLIB_CODE

#define JUCE_INCLUDE_JPEGLIB_CODE   0

◆ JUCE_INCLUDE_PNGLIB_CODE

#define JUCE_INCLUDE_PNGLIB_CODE   0

◆ JUCE_LOG_ASSERTIONS

#define JUCE_LOG_ASSERTIONS   1

Debian specifics END.

Config: JUCE_FORCE_DEBUG

Normally, JUCE_DEBUG is set to 1 or 0 based on compiler and project settings, but if you define this value, you can override this to force it to be true or false.Config: JUCE_LOG_ASSERTIONS

If this flag is enabled, the jassert and jassertfalse macros will always use Logger::writeToLog() to write a message when an assertion happens.

Enabling it will also leave this turned on in release builds. When it's disabled, however, the jassert and jassertfalse macros will not be compiled in a release build.

See also
jassert, jassertfalse, Logger

◆ JUCE_CHECK_MEMORY_LEAKS

#define JUCE_CHECK_MEMORY_LEAKS   1

Config: JUCE_CHECK_MEMORY_LEAKS.

Enables a memory-leak check for certain objects when the app terminates. See the LeakedObjectDetector class and the JUCE_LEAK_DETECTOR macro for more details about enabling leak checking for specific classes.

◆ JUCE_DONT_AUTOLINK_TO_WIN32_LIBRARIES

#define JUCE_DONT_AUTOLINK_TO_WIN32_LIBRARIES   0

Config: JUCE_DONT_AUTOLINK_TO_WIN32_LIBRARIES.

In a Visual C++ build, this can be used to stop the required system libs being automatically added to the link stage.

◆ JUCE_ZLIB_INCLUDE_PATH

#define JUCE_ZLIB_INCLUDE_PATH   <zlib.h>

Config: JUCE_INCLUDE_ZLIB_CODE This can be used to disable Juce's embedded 3rd-party zlib code.

You might need to tweak this if you're linking to an external zlib library in your app, but for normal apps, this option should be left alone.

If you disable this, you might also want to set a value for JUCE_ZLIB_INCLUDE_PATH, to specify the path where your zlib headers live.

◆ JUCE_USE_CURL

#define JUCE_USE_CURL   0

Config: JUCE_USE_CURL Enables http/https support via libcurl (Linux only).

Enabling this will add an additional run-time dynamic dependency to libcurl.

If you disable this then https/ssl support will not be available on linux.

◆ JUCE_ALLOW_STATIC_NULL_VARIABLES

#define JUCE_ALLOW_STATIC_NULL_VARIABLES   1

Config: JUCE_CATCH_UNHANDLED_EXCEPTIONS If enabled, this will add some exception-catching code to forward unhandled exceptions to your JUCEApplicationBase::unhandledException() callback.

Config: JUCE_ALLOW_STATIC_NULL_VARIABLES If disabled, this will turn off dangerous static globals like String::empty, var::null, etc which can cause nasty order-of-initialisation problems if they are referenced during static constructor code.

◆ JUCE_STRING_UTF_TYPE

#define JUCE_STRING_UTF_TYPE   8