mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-30 02:17:21 +02:00
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:
parent
a3f158d399
commit
c16a735040
4 changed files with 127 additions and 117 deletions
|
@ -74,6 +74,7 @@ public:
|
|||
void decomposeSortField (const std::string&, std::string&, bool&);
|
||||
|
||||
private:
|
||||
void staticInitialization ();
|
||||
void assumeLocations ();
|
||||
void createDefaultConfig ();
|
||||
void loadAliases ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue