ItemContent::user_name(EzcEnv & env) changed to ItemContent::user(morm::ModelWrapper ** model_wrapper) and we return a User class

ItemContent::group_name(EzcEnv & env) changed to ItemContent::group(morm::ModelWrapper ** model_wrapper) and we return a Group class
added ItemContent::display_user_name(EzcEnv & env)
some functions in templates/item.cpp moved to Item
This commit is contained in:
2021-06-19 23:48:12 +02:00
parent d8c1a81bcb
commit e7c7324058
20 changed files with 318 additions and 88 deletions

View File

@@ -40,6 +40,7 @@
#include "model.h"
#include "space/space.h"
#include "date/date.h"
#include "templates/misc.h"
namespace Winix
@@ -145,6 +146,8 @@ public:
bool do_migration(int & current_table_version);
void display_name(EzcEnv & env);
private: