fixed in Item: void Item::link(Ezc::FunInfo<HtmlTextStream> & env) now returns a correct directory for the item (before the current directory was returned)
added to Item: void Item::dir_link(Ezc::FunInfo<HtmlTextStream> & env) added to WinixModel: Dirs * get_dirs(); Mounts * get_mounts(); Users * get_users(); Groups * get_groups(); SLog * get_session_logger(); // not finished yet
This commit is contained in:
@@ -43,6 +43,12 @@ namespace Winix
|
||||
class Config;
|
||||
class Request;
|
||||
class Log;
|
||||
class Dirs;
|
||||
class Mounts;
|
||||
class Users;
|
||||
class Groups;
|
||||
class SLog;
|
||||
|
||||
|
||||
class WinixModelConnector : public morm::ModelConnector
|
||||
{
|
||||
@@ -50,13 +56,23 @@ public:
|
||||
|
||||
WinixModelConnector();
|
||||
|
||||
Config * get_winix_config();
|
||||
Config * get_winix_config();
|
||||
Request * get_winix_request();
|
||||
Log * get_winix_logger();
|
||||
Log * get_winix_logger();
|
||||
Dirs * get_winix_dirs();
|
||||
Mounts * get_winix_mounts();
|
||||
Users * get_winix_users();
|
||||
Groups * get_winix_groups();
|
||||
SLog * get_winix_session_logger();
|
||||
|
||||
void set_winix_config(Config * config);
|
||||
void set_winix_request(Request * request);
|
||||
void set_winix_logger(Log * log);
|
||||
void set_winix_dirs(Dirs * dirs);
|
||||
void set_winix_mounts(Mounts * mounts);
|
||||
void set_winix_users(Users * users);
|
||||
void set_winix_groups(Groups * groups);
|
||||
void set_winix_session_logger(SLog * slog);
|
||||
|
||||
|
||||
protected:
|
||||
@@ -64,6 +80,11 @@ protected:
|
||||
Config * config; // one global config
|
||||
Request * request; // each thread worker has its own request (not implemented yet)
|
||||
Log * log; // each thread has its own logger
|
||||
Dirs * dirs;
|
||||
Mounts * mounts;
|
||||
Users * users;
|
||||
Groups * groups;
|
||||
SLog * slog;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user