- Implemented tags.default, tags.indicator, tags.count.
This commit is contained in:
Paul Beckingham 2011-04-30 00:06:07 -04:00
parent ed7fc44685
commit 8a87db6163
5 changed files with 183 additions and 1 deletions

View file

@ -30,6 +30,7 @@
#include <ColID.h>
#include <ColPriority.h>
#include <ColProject.h>
#include <ColTags.h>
#include <ColUUID.h>
#include <text.h>
@ -61,6 +62,7 @@ Column* Column::factory (const std::string& name)
if (column_name == "id") column = new ColumnID ();
else if (column_name == "priority") column = new ColumnPriority ();
else if (column_name == "project") column = new ColumnProject ();
else if (column_name == "tags") column = new ColumnTags ();
else if (column_name == "uuid") column = new ColumnUUID ();
else
throw std::string ("Unrecognized column type '") + column_name + "'";