18 #ifndef INCLUDED_JSI_CONFIGDB
19 #define INCLUDED_JSI_CONFIGDB
25 namespace JSI_ConfigDB
28 std::string
GetValue(
void* cbdata, std::wstring cfgNsString, std::string name);
29 bool CreateValue(
void* cbdata, std::wstring cfgNsString, std::string name, std::string value);
30 bool WriteFile(
void* cbdata, std::wstring cfgNsString,
Path path);
31 bool Reload(
void* cbdata, std::wstring cfgNsString);
32 bool SetFile(
void* cbdata, std::wstring cfgNsString,
Path path);
bool Reload(void *cbdata, std::wstring cfgNsString)
std::string GetValue(void *cbdata, std::wstring cfgNsString, std::string name)
void RegisterScriptFunctions(ScriptInterface &scriptInterface)
bool SetFile(void *cbdata, std::wstring cfgNsString, Path path)
bool GetConfigNamespace(std::wstring cfgNsString, EConfigNamespace &cfgNs)
bool WriteFile(void *cbdata, std::wstring cfgNsString, Path path)
bool CreateValue(void *cbdata, std::wstring cfgNsString, std::string name, std::string value)
Abstraction around a SpiderMonkey JSContext.