Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

Interpreter Class Reference

Command interpreter for scripts in the XML. More...

#include <interpreter.hpp>

Inheritance diagram for Interpreter:

SkinObject List of all members.

Public Member Functions

CmdGenericparseAction (const string &rAction, Theme *pTheme)
VarBoolgetVarBool (const string &rName, Theme *pTheme)
 Returns the boolean variable corresponding to the given name.
VarPercentgetVarPercent (const string &rName, Theme *pTheme)
 Returns the percent variable corresponding to the given name.
VarListgetVarList (const string &rName, Theme *pTheme)
 Returns the list variable corresponding to the given name.
VarTreegetVarTree (const string &rName, Theme *pTheme)
 Returns the tree variable corresponding to the given name.

Static Public Member Functions

static Interpreterinstance (intf_thread_t *pIntf)
 Get the instance of Interpreter.
static void destroy (intf_thread_t *pIntf)
 Delete the instance of Interpreter.

Detailed Description

Command interpreter for scripts in the XML.

Definition at line 39 of file interpreter.hpp.


Member Function Documentation

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 !)

Definition at line 151 of file interpreter.cpp.

References SkinObject::getIntf(), Theme::getWindowById(), Theme::getWindowManager(), and Theme::m_commands.


The documentation for this class was generated from the following files:
Generated on Tue Dec 20 10:15:03 2005 for vlc-0.8.4a by  doxygen 1.4.2