now winix is using 'pikotools' (confparser, utf8, mainparser)

git-svn-id: svn://ttmath.org/publicrep/winix/trunk@792 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2012-01-12 02:24:08 +00:00
parent cb33f20a24
commit b2d3ca9543
55 changed files with 1749 additions and 1884 deletions

View File

@@ -8,7 +8,7 @@
*/
#include "dbtextstream.h"
#include "utf8.h"
#include "utf8/utf8.h"
DbTextStream::DbTextStream()
@@ -56,7 +56,7 @@ DbTextStream & DbTextStream::PutText(const std::string & str)
DbTextStream & DbTextStream::PutText(const wchar_t * str)
{
Ezc::WideToUTF8(str, buffer, false);
PT::WideToUTF8(str, buffer, false);
was_param = false;
return *this;
@@ -256,7 +256,7 @@ DbTextStream & DbTextStream::ETextPutChar(wchar_t c)
buffer += "\\\'"; // don't use "''" because we use the method for PQconnectdb too
else
if( c != 0 )
Ezc::IntToUTF8(int(c), buffer, false);
PT::IntToUTF8(int(c), buffer, false);
return *this;
}
@@ -577,7 +577,7 @@ return buffer;
DbTextStream & DbTextStream::operator<<(const Space * space)
DbTextStream & DbTextStream::operator<<(const PT::Space * space)
{
space_stream.Clear();
// !! IMPROVE ME
@@ -590,7 +590,7 @@ return *this;
}
DbTextStream & DbTextStream::operator<<(const Space & space)
DbTextStream & DbTextStream::operator<<(const PT::Space & space)
{
return operator<<(&space);
}