added: TextStream a class similar to std::ostringstream

but with a Clear() method
       the dynamic allocated buffer can be easily reused
added: DbTextStream a special version of a stream
       used to create a database string query
       everything is escaped by default
added: DbBase a base class with some basic methods for communicating
       with the database
added: DbConn a class for managing connection to the database
changed: some refactoring in Db class       



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@655 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2010-09-18 00:51:12 +00:00
parent 8b1db3304f
commit a589e5a090
52 changed files with 3261 additions and 1913 deletions

View File

@@ -19,7 +19,7 @@
#include "indexpatterns.h"
#include "core/config.h"
#include "core/request.h"
#include "core/db.h"
#include "db/db.h"
#include "core/system.h"
#include "core/locale.h"
#include "core/sessionmanager.h"
@@ -238,6 +238,7 @@ namespace TemplatesFunctions
void user_name(Info & i);
void user_logged(Info & i);
void user_super_user(Info & i);
void user_is_in_group(Info & i);
void user_can_use_html(Info & i);
void user_can_use_bbcode(Info & i);
void user_can_use_raw(Info & i);