mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
View
- Implemented uuid.default and uuid.short.
This commit is contained in:
parent
9849b4082d
commit
ed7fc44685
5 changed files with 133 additions and 6 deletions
|
@ -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 + "'";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue