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

@@ -92,16 +92,22 @@ public:
void ReadMounts(const std::wstring & mounts);
Error ReadMounts();
void CalcCurMount();
Mount * CalcCurMount();
Mount * CalcMount(long dir_id);
// current mount point
// will not be null after calling CalcCurMount() or ReadMounts([...])
// !! nie korzystac obecnie z niego
// korzystac z cur->mount
// a tez zostanie wycofany
Mount * pmount;
const MountTab * GetMountTab();
// at the beginning used to initialize cur->mount
Mount * GetEmptyMount();
private:
Db * db;