DOM: Demoted from class to functions

- The DOM object contains no members, and only two (effectively) const methods.
  Demoting DOM to function calls reduces coupling with Context.
This commit is contained in:
Paul Beckingham
2016-02-03 21:54:37 -05:00
parent ec4e6af00d
commit 820cc4b2e5
7 changed files with 14 additions and 21 deletions

View File

@@ -30,16 +30,8 @@
#include <string>
#include <Variant.h>
#include <Task.h>
#include <time.h>
class DOM
{
public:
bool get (const std::string&, Variant&);
bool get (const std::string&, const Task&, Variant&);
private:
};
bool getDOM (const std::string&, Variant&);
bool getDOM (const std::string&, const Task&, Variant&);
#endif
////////////////////////////////////////////////////////////////////////////////