

Public Member Functions | |
| CmdGeneric * | parseAction (const string &rAction, Theme *pTheme) |
| Parse an action tag and returns a pointer on a command (the intepreter takes care of deleting it, don't do it yourself !). | |
| VarBool * | getVarBool (const string &rName, Theme *pTheme) |
| Returns the boolean variable corresponding to the given name. | |
| VarPercent * | getVarPercent (const string &rName, Theme *pTheme) |
| Returns the percent variable corresponding to the given name. | |
| VarList * | getVarList (const string &rName, Theme *pTheme) |
| Returns the list variable corresponding to the given name. | |
| VarTree * | getVarTree (const string &rName, Theme *pTheme) |
| Returns the tree variable corresponding to the given name. | |
| string | getConstant (const string &rValue) |
| Get a constant value. | |
Static Public Member Functions | |
| static Interpreter * | instance (intf_thread_t *pIntf) |
| Get the instance of Interpreter. | |
| static void | destroy (intf_thread_t *pIntf) |
| Delete the instance of Interpreter. | |
| Interpreter * Interpreter::instance | ( | intf_thread_t * | pIntf | ) | [static] |
| void Interpreter::destroy | ( | intf_thread_t * | pIntf | ) | [static] |
Delete the instance of Interpreter.
References intf_sys_t::p_interpreter, and intf_thread_t::p_sys.
Referenced by Run().
| CmdGeneric * Interpreter::parseAction | ( | const string & | rAction, | |
| Theme * | pTheme | |||
| ) |
Parse an action tag and returns a pointer on a command (the intepreter takes care of deleting it, don't do it yourself !).
References config_GetInt, SkinObject::getIntf(), Theme::getLayoutById(), Theme::getPopupById(), GenericLayout::getWindow(), Theme::getWindowById(), Theme::getWindowManager(), Theme::m_commands, msg_Err, and msg_Warn.
Referenced by Builder::parseAction().
Returns the boolean variable corresponding to the given name.
References GenericLayout::getActiveVar(), SkinObject::getIntf(), Theme::getLayoutById(), TopWindow::getMaximizedVar(), ExprEvaluator::getToken(), VarManager::getVar(), GenericWindow::getVisibleVar(), Theme::getWindowById(), VarManager::instance(), msg_Err, ExprEvaluator::parse(), and VarManager::registerVar().
| VarPercent * Interpreter::getVarPercent | ( | const string & | rName, | |
| Theme * | pTheme | |||
| ) |
Returns the percent variable corresponding to the given name.
References SkinObject::getIntf(), VarManager::getVar(), and VarManager::instance().
Returns the list variable corresponding to the given name.
References SkinObject::getIntf(), VarManager::getVar(), and VarManager::instance().
Returns the tree variable corresponding to the given name.
References SkinObject::getIntf(), VarManager::getVar(), and VarManager::instance().
| string Interpreter::getConstant | ( | const string & | rValue | ) |
Get a constant value.
References VarManager::getConst(), SkinObject::getIntf(), and VarManager::instance().
1.5.6