19 #ifndef INCLUDED_JSINTERFACE_RENDERER 20 #define INCLUDED_JSINTERFACE_RENDERER 24 #define DECLARE_BOOLEAN_SCRIPT_SETTING(NAME) \ 25 bool Get##NAME##Enabled(ScriptInterface::CxPrivate* pCxPrivate); \ 26 void Set##NAME##Enabled(ScriptInterface::CxPrivate* pCxPrivate, bool Enabled); 52 #undef DECLARE_BOOLEAN_SCRIPT_SETTING void RegisterScriptFunctions(ScriptInterface &scriptInterface)
Registers the functions of the JavaScript interface for internationalization and localization into th...
Definition: JSInterface_Renderer.cpp:68
Definition: JSInterface_Renderer.h:28
std::string GetRenderPath(ScriptInterface::CxPrivate *pCxPrivate)
Definition: JSInterface_Renderer.cpp:53
void SetRenderPath(ScriptInterface::CxPrivate *pCxPrivate, const std::string &name)
Definition: JSInterface_Renderer.cpp:58
DECLARE_BOOLEAN_SCRIPT_SETTING(Shadows)
Definition: ScriptInterface.h:99
Abstraction around a SpiderMonkey JSContext.
Definition: ScriptInterface.h:71