added: SLog class -- session logger

messages are displayed in the browser (with locales)
changed: MountParser
         now if there is an error in a line -- the line is simply skipped
         


git-svn-id: svn://ttmath.org/publicrep/winix/trunk@741 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2011-06-19 20:59:58 +00:00
parent b369fda1d9
commit 0a7432b059
35 changed files with 2417 additions and 1671 deletions

View File

@@ -18,7 +18,6 @@
#include "mount.h"
#include "item.h"
#include "error.h"
#include "dirs.h"
@@ -32,7 +31,7 @@ public:
void SkipStaticDirs(bool skip);
void SetStaticMountId(int id);
Error Parse(const std::wstring & input, std::map<long, Mount> & output);
void Parse(const std::wstring & input, std::map<long, Mount> & output);
void SetDirs(Dirs * pdirs);
void SetMountTypeTab(const std::vector<std::wstring> & tab);
void SetMountFsTab(const std::vector<std::wstring> & tab);
@@ -60,23 +59,20 @@ private:
void ReadParamName(std::wstring & res);
void ReadParam(std::wstring & res, Mount::ParamRow::ParamArg & args);
int FindIndex(const std::vector<std::wstring> * tab, const std::wstring & value);
void ReadMountType();
void ReadMountPoint();
void ReadFs();
bool ReadMountType();
bool ReadMountPoint();
bool ReadFs();
void LogMountParams();
void ReadMountParams();
void ReadRow(std::map<long, Mount> & output);
const wchar_t * pinput;
std::wstring temp;
std::wstring last_dir;
std::wstring temp_arg;
Mount::ParamRow::ParamArg param_args;
Mount mount;
Item * pdir;
Error err;
};