DOM
- Implemented DOM::get_references to return a list of all the fixed-string DOM references supported.
This commit is contained in:
16
src/DOM.cpp
16
src/DOM.cpp
@@ -56,6 +56,22 @@ DOM::~DOM ()
|
||||
{
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
const std::vector <std::string> DOM::get_references () const
|
||||
{
|
||||
std::vector <std::string> refs;
|
||||
|
||||
refs.push_back ("context.program");
|
||||
refs.push_back ("context.args");
|
||||
refs.push_back ("context.width");
|
||||
refs.push_back ("context.height");
|
||||
refs.push_back ("system.version");
|
||||
refs.push_back ("system.lua.version");
|
||||
refs.push_back ("system.os");
|
||||
|
||||
return refs;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// DOM Supported References:
|
||||
// rc.<name>
|
||||
|
||||
Reference in New Issue
Block a user