- Renamed bool ReadFormula() to ParseFormula.

- Changed ReadConfig() in Measure/Meter to protected.
- Other code tweaks and cleanups.
This commit is contained in:
spx
2011-11-26 02:49:52 +00:00
parent b26dafc46f
commit 3c1338b4c5
31 changed files with 198 additions and 118 deletions

View File

@ -28,11 +28,13 @@ public:
CMeasureCalc(CMeterWindow* meterWindow, const WCHAR* name);
virtual ~CMeasureCalc();
virtual void ReadConfig(CConfigParser& parser, const WCHAR* section);
virtual bool Update();
static void UpdateVariableMap(CMeterWindow& meterWindow);
protected:
virtual void ReadConfig(CConfigParser& parser, const WCHAR* section);
private:
void FormulaReplace();
bool IsDelimiter(WCHAR ch);