Decoupling

- Eliminated some calls to context.config from Task‥cpp, reducing the coupling.
  If context can be eliminated from Task.cpp, via statically initialized
  variables, then Taskwarrior and the task server can share Task.{ḩ,cpp} which
  would be an enormous saving in effort.

(cherry picked from commit 215b03b1a7f47299a0d3e64331c7e3c962b4caf0)
This commit is contained in:
Paul Beckingham 2013-05-26 10:50:32 -04:00
parent a3f158d399
commit c16a735040
4 changed files with 127 additions and 117 deletions

View file

@ -74,6 +74,7 @@ public:
void decomposeSortField (const std::string&, std::string&, bool&);
private:
void staticInitialization ();
void assumeLocations ();
void createDefaultConfig ();
void loadAliases ();