Filter
- The domSource function is no longer static, and is prototyped in Filter.h for general use.
This commit is contained in:
@@ -40,10 +40,10 @@ extern Context context;
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Const iterator that can be derefenced into a Task by domSource.
|
||||
static Task dummy;
|
||||
static Task& contextTask = dummy;
|
||||
Task& contextTask = dummy;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
static bool domSource (const std::string& identifier, Variant& value)
|
||||
bool domSource (const std::string& identifier, Variant& value)
|
||||
{
|
||||
std::string stringValue = context.dom.get (identifier, contextTask);
|
||||
if (stringValue != identifier)
|
||||
|
||||
Reference in New Issue
Block a user