Commands - history.monthly, history.annual, ghistory.monthly, ghistory.annual

- Migrated all history reports into CmdHistory objects.
This commit is contained in:
Paul Beckingham 2011-05-28 17:34:30 -04:00
parent b9246e04b2
commit 82eebc93bf
9 changed files with 140 additions and 55 deletions

View file

@ -249,10 +249,6 @@ int Context::dispatch (std::string &out)
// TODO Chain-of-command pattern dispatch.
if (cmd.command == "colors") { rc = handleColor (out); }
else if (cmd.command == "config") { rc = handleConfig (out); }
else if (cmd.command == "history.monthly") { rc = handleReportHistoryMonthly (out); }
else if (cmd.command == "history.annual") { rc = handleReportHistoryAnnual (out); }
else if (cmd.command == "ghistory.monthly") { rc = handleReportGHistoryMonthly (out); }
else if (cmd.command == "ghistory.annual") { rc = handleReportGHistoryAnnual (out); }
else if (cmd.command == "burndown.daily") { rc = handleReportBurndownDaily (out); }
else if (cmd.command == "burndown.weekly") { rc = handleReportBurndownWeekly (out); }
else if (cmd.command == "burndown.monthly") { rc = handleReportBurndownMonthly (out); }