Commands - timesheet

- Migrated handleReportTimesheet to CmdTimesheet.
This commit is contained in:
Paul Beckingham 2011-05-30 13:46:08 -04:00
parent 2fb743992f
commit 75a24f5113
9 changed files with 230 additions and 146 deletions

View file

@ -249,8 +249,7 @@ int Context::dispatch (std::string &out)
Timer t ("Context::dispatch");
// TODO Chain-of-command pattern dispatch.
if (cmd.command == "timesheet") { rc = handleReportTimesheet (out); }
else if (cmd.command == "done") { rc = handleDone (out); }
if (cmd.command == "done") { rc = handleDone (out); }
else if (cmd.command == "delete") { rc = handleDelete (out); }
else if (cmd.command == "merge") { tdb.gc ();
handleMerge (out); }