- Implemented uuid.default and uuid.short.
This commit is contained in:
Paul Beckingham 2011-04-29 23:23:13 -04:00
parent 9849b4082d
commit ed7fc44685
5 changed files with 133 additions and 6 deletions

View file

@ -30,6 +30,7 @@
#include <ColID.h>
#include <ColPriority.h>
#include <ColProject.h>
#include <ColUUID.h>
#include <text.h>
extern Context context;
@ -60,6 +61,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 == "uuid") column = new ColumnUUID ();
else
throw std::string ("Unrecognized column type '") + column_name + "'";