View
- Implemented uuid.default and uuid.short.
This commit is contained in:
@@ -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 + "'";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user