Pyrogenesis  trunk
Namespaces | Functions | Variables
JSInterface_ConfigDB.cpp File Reference
#include "precompiled.h"
#include "JSInterface_ConfigDB.h"
#include "ps/ConfigDB.h"
#include "ps/CLogger.h"
#include "ps/VideoMode.h"
#include "scriptinterface/FunctionWrapper.h"
#include "scriptinterface/ScriptRequest.h"
#include <string>
#include <unordered_set>
Include dependency graph for JSInterface_ConfigDB.cpp:

Namespaces

 JSI_ConfigDB
 

Functions

bool JSI_ConfigDB::IsProtectedConfigName (const std::string &name)
 
bool JSI_ConfigDB::GetConfigNamespace (const std::wstring &cfgNsString, EConfigNamespace &cfgNs)
 
bool JSI_ConfigDB::HasChanges (const std::wstring &cfgNsString)
 
bool JSI_ConfigDB::SetChanges (const std::wstring &cfgNsString, bool value)
 
std::string JSI_ConfigDB::GetValue (const std::wstring &cfgNsString, const std::string &name)
 
bool JSI_ConfigDB::CreateValue (const std::wstring &cfgNsString, const std::string &name, const std::string &value)
 
bool JSI_ConfigDB::CreateValues (const std::wstring &cfgNsString, const std::string &name, const std::vector< CStr > &values)
 
bool JSI_ConfigDB::RemoveValue (const std::wstring &cfgNsString, const std::string &name)
 
bool JSI_ConfigDB::SaveChanges (const std::wstring &cfgNsString)
 
bool JSI_ConfigDB::RemoveValueAndSave (const std::wstring &cfgNsString, const std::string &name)
 
bool JSI_ConfigDB::SaveValue (const std::wstring &cfgNsString, const std::string &name, const std::string &value)
 
void JSI_ConfigDB::CreateAndSaveValue (const std::wstring &cfgNsString, const std::string &name, const std::string &value)
 
bool JSI_ConfigDB::Reload (const std::wstring &cfgNsString)
 
void JSI_ConfigDB::PauseOnFocusLoss (bool pause)
 
void JSI_ConfigDB::SetGUIScale (float scale)
 
void JSI_ConfigDB::RegisterScriptFunctions (const ScriptRequest &rq)
 Registers the functions of the JavaScript interface for internationalization and localization into the specified JavaScript context. More...
 

Variables

static const std::unordered_set< std::string > JSI_ConfigDB::g_ProtectedConfigNames