Refactoring

- Obsoleted Cmd object.
- Removed Context::dispatch, renamed dispatch2 --> dispatch.
- Commented out import and custom report functionality that depends
  on Cmd.  This should be about as broken as taskwarrior gets.  It's
  all uphill from here.
This commit is contained in:
Paul Beckingham 2011-06-02 00:17:16 -04:00
parent bcbff8d99b
commit a3912d9123
10 changed files with 62 additions and 323 deletions

View file

@ -87,6 +87,7 @@ int CmdCustom::execute (const std::string&, std::string& output)
split (filterArgs, reportFilter, ' ');
// context.applyOverrides (filterArgs, filteredArgs);
/*
{
Cmd cmd (_keyword);
Task task;
@ -105,6 +106,7 @@ int CmdCustom::execute (const std::string&, std::string& output)
for (att = filter.begin (); att != filter.end (); ++att)
context.filter.push_back (*att);
}
*/
// Get all the tasks.
std::vector <Task> tasks;