renamed: WinixModel -> WinixModelDeprecated (this class will be removed)
added: WinixModel (models/winixmodel.h|cpp) - a class inheriting from morm::WinixModel, we have methods such as: get_config(), get_logger(), get_request() and this class will be a base class for our models added: WinixModelConnector (models/winixmodelconnector.h|cpp) - a class inheriting from morm::WinixModelConnector this connector we are using instead of morm::ModelConnector - there are pointers to winix objects there (config, request, log) added to Request: Ezc::Models models removed from TemplatesFunctions: Ezc::Models ezc_models; changed: ImgCrop winix functions is using its own item_tab vector now (not finished yet) added: Item::is(), Item::link(), ItemContent::print_content()
This commit is contained in:
@@ -40,15 +40,14 @@
|
||||
#include "basethread.h"
|
||||
#include "synchro.h"
|
||||
#include "textstream/textstream.h"
|
||||
#include "models/winixmodelconnector.h"
|
||||
|
||||
|
||||
namespace Winix
|
||||
{
|
||||
|
||||
|
||||
|
||||
|
||||
class ThreadManager : public WinixModel
|
||||
class ThreadManager : public WinixModelDeprecated
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -76,7 +75,7 @@ private:
|
||||
|
||||
struct ThreadItemData
|
||||
{
|
||||
morm::ModelConnector model_connector;
|
||||
WinixModelConnector model_connector;
|
||||
morm::JSONConnector json_connector;
|
||||
morm::PostgreSQLConnector postgresql_connector;
|
||||
|
||||
|
Reference in New Issue
Block a user