OMNI_APP_GLOBALS

Defined in omni/core/Omni.h

OMNI_APP_GLOBALS(clientName, clientDescription)

Helper macro to declare globals needed my the omni library when using the omni library in an application.

See OMNI_CORE_INIT().

Note

Either this macro, or CARB_GLOBALS, or CARB_GLOBALS_EX must be specified in the global namespace in exactly one compilation unit for a Carbonite Application.

Parameters
  • clientName – The name of the client application. Must be unique with respect to any plugins loaded. Also is the name of the default log channel.

  • clientDescription – A description to use for the default log channel.