added: new winix function: mount

displaying all mount points
changed: struct Cur has now 'mount' pointer
         we should not use system->mounts.pmount now
         (it will be removed in the future)
changed: all mount point parameters are now propagated to childs mount points
         (if not defined there)



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@745 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2011-06-21 21:24:49 +00:00
parent 700a6fe643
commit 1d6ff73aad
22 changed files with 721 additions and 263 deletions

View File

@@ -64,7 +64,11 @@ private:
bool ReadFs();
void LogMountParams();
void ReadMountParams();
void ReadRow(std::map<long, Mount> & output);
void ReadRow();
void AddParams(Mount::Param & src, Mount::Param & dst);
bool AddParamsBefore(long dir_id);
void AddParamsBefore();
void AddParamsAfter();
const wchar_t * pinput;
std::wstring temp;
@@ -73,6 +77,8 @@ private:
Mount::ParamRow::ParamArg param_args;
Mount mount;
Item * pdir;
std::map<long, Mount> * poutput;
std::pair<std::map<long, Mount>::iterator, bool> mount_inserted;
};