changed: now Request class is a model class - we have fields() method there to map fields for ezc templates (currently only dir_tab)
removed: [dir_tab] ezc statement
changed: Ls winix function loads its own dir_tab container (beforehand it was loaded by [dir_tab] ezc statement)
it's available by [child_dirs] name
This commit is contained in:
@@ -50,6 +50,8 @@
|
||||
#include "outstreams.h"
|
||||
#include "models.h"
|
||||
|
||||
#include "models/winixmodel.h"
|
||||
|
||||
|
||||
namespace Winix
|
||||
{
|
||||
@@ -62,7 +64,7 @@ class FunctionBase;
|
||||
|
||||
|
||||
|
||||
struct Request
|
||||
struct Request : public WinixModel
|
||||
{
|
||||
// how many input headers can be put to in_headers struct
|
||||
static const size_t MAX_INPUT_HEADERS = 32;
|
||||
@@ -360,6 +362,10 @@ struct Request
|
||||
Request();
|
||||
void SetConfig(Config * pconfig);
|
||||
|
||||
|
||||
void fields();
|
||||
|
||||
|
||||
void RequestStarts();
|
||||
void Clear();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user