Commands - calendar

- Migrated handleReportCalendar to CmdCalendar.
This commit is contained in:
Paul Beckingham
2011-05-30 13:30:18 -04:00
parent a7d5641d00
commit 4c47748dd7
9 changed files with 656 additions and 561 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 == "calendar") { rc = handleReportCalendar (out); }
else if (cmd.command == "timesheet") { rc = handleReportTimesheet (out); }
if (cmd.command == "timesheet") { rc = handleReportTimesheet (out); }
else if (cmd.command == "done") { rc = handleDone (out); }
else if (cmd.command == "delete") { rc = handleDelete (out); }
else if (cmd.command == "undo") { handleUndo ( ); }