- Added GetVariable function [usage: GetVariable("VariableName")]
- Removed several unneeded exposed functions
- r853 broke Substitute on the Script measure, fixed
This commit is contained in:
Birunthan Mohanathas
2011-07-06 20:12:05 +00:00
parent fa67b07a62
commit 95fe545cc5
5 changed files with 31 additions and 274 deletions

View File

@ -5100,16 +5100,3 @@ CMeasure* CMeterWindow::GetMeasure(const std::wstring& measureName)
}
return NULL;
}
const char* CMeterWindow::ReplaceVariables(const char* p_str)
{
static std::string aStr = "";
std::wstring value = ConvertToWide(p_str);
m_Parser.ReplaceVariables(value);
m_Parser.ReplaceMeasures(value);
aStr = ConvertToAscii(value.c_str());
const char* str = aStr.c_str();
return str;
}