Commands - add

- Migrated handleAdd to CmdAdd.
This commit is contained in:
Paul Beckingham 2011-05-29 19:17:16 -04:00
parent b0cbc7f757
commit cb613c0691
12 changed files with 200 additions and 105 deletions

View file

@ -28,6 +28,7 @@
#include <iostream>
#include <vector>
#include <Command.h>
#include <CmdAdd.h>
#include <CmdAppend.h>
#include <CmdBurndown.h>
#include <CmdCommands.h>
@ -60,6 +61,7 @@ void Command::factory (std::map <std::string, Command*>& all)
{
Command* c;
c = new CmdAdd (); all[c->keyword ()] = c;
c = new CmdAppend (); all[c->keyword ()] = c;
c = new CmdBurndownDaily (); all[c->keyword ()] = c;
c = new CmdBurndownMonthly (); all[c->keyword ()] = c;