Removed direct STL dependency from the Assimp interface, should hopefully avoid problems with binary incompatible STLs. Some API changes, e.g. in the logger.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@321 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
aramis_acg
2009-01-23 21:06:43 +00:00
parent b5ab82922d
commit 03fcec7fe3
26 changed files with 542 additions and 289 deletions

View File

@@ -127,7 +127,7 @@ void CLogWindow::Show()
}
}
//-------------------------------------------------------------------------------
void CMyLogStream::write(const std::string &message)
void CMyLogStream::write(const char* message)
{
CLogWindow::Instance().WriteLine(message);
}
@@ -193,7 +193,7 @@ void CLogWindow::Save()
D3DCOLOR_ARGB(0xFF,0xFF,0xFF,0));
}
//-------------------------------------------------------------------------------
void CLogWindow::WriteLine(const std::string& message)
void CLogWindow::WriteLine(const char* message)
{
this->szPlainText.append(message);
this->szPlainText.append("\r\n");
@@ -203,7 +203,7 @@ void CLogWindow::WriteLine(const std::string& message)
this->szText.resize(this->szText.length()-1);
}
switch (message.c_str()[0])
switch (message[0])
{
case 'e':
case 'E':