some ezc functions from templates/item.cpp moved to Item and ItemContent

methods HasAccess() HasReadAccess() and similar moved from System to Item and ItemContent
This commit is contained in:
2021-06-18 19:18:13 +02:00
parent ebd791a256
commit ec94dff7d7
32 changed files with 1255 additions and 544 deletions

View File

@@ -64,8 +64,11 @@ class FunctionBase;
struct Request : public WinixModel
class Request : public WinixModel
{
public:
// how many input headers can be put to in_headers struct
static const size_t MAX_INPUT_HEADERS = 32;
@@ -413,6 +416,12 @@ private:
void ClearOutputStreams();
void current_dir(morm::ModelWrapper ** model_wrapper);
MORM_MEMBER_FIELD(Request)
};
@@ -456,6 +465,8 @@ void Request::AddCookie(const NameType & name, const ValueType & value, pt::Date
} // namespace Winix
#endif