updated: to the new Pikotools API

ConfParser is now SpaceParser
added:   to SessionManager
         Session * SessionManager::FindSession(long id)



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@831 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2012-04-30 22:53:54 +00:00
parent fc33b4f882
commit c94b0311b6
38 changed files with 946 additions and 1009 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -50,7 +50,7 @@ bool Env::Parse(const std::wstring & env_str)
conf_parser.UTF8(config->utf8);
conf_parser.SplitSingle(true);
return (conf_parser.ParseString(env_str) == PT::ConfParser::ok);
return (conf_parser.ParseString(env_str) == PT::SpaceParser::ok);
}

View File

@@ -11,7 +11,7 @@
#define headerfile_winix_functions_env
#include "functionbase.h"
#include "confparser/confparser.h"
#include "space/spaceparser.h"
namespace Fun
@@ -36,7 +36,7 @@ public:
private:
PT::ConfParser conf_parser;
PT::SpaceParser conf_parser;
PT::Space space;
User * puser;
size_t req_id;

View File

@@ -34,7 +34,7 @@ bool Meta::AddMetaInfo(Item & item, const std::wstring & meta_str)
conf_parser.UTF8(config->utf8);
conf_parser.SplitSingle(true);
if( conf_parser.ParseString(meta_str) == PT::ConfParser::ok )
if( conf_parser.ParseString(meta_str) == PT::SpaceParser::ok )
{
if( db->EditMetaById(space, item.id) == WINIX_ERR_OK )
{

View File

@@ -11,7 +11,7 @@
#define headerfile_winix_functions_meta
#include "functionbase.h"
#include "confparser/confparser.h"
#include "space/spaceparser.h"
namespace Fun
@@ -30,7 +30,7 @@ public:
private:
PT::ConfParser conf_parser;
PT::SpaceParser conf_parser;
PT::Space space;
};