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:
File diff suppressed because it is too large
Load Diff
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
@@ -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;
|
||||
|
@@ -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 )
|
||||
{
|
||||
|
@@ -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;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user