mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Commands - add
- Migrated handleAdd to CmdAdd.
This commit is contained in:
parent
b0cbc7f757
commit
cb613c0691
12 changed files with 200 additions and 105 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue