diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2010-01-28 11:32:39 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-05 17:17:46 +0100 |
commit | 271c7cabf5e16a1afed560b9f707b3955b3ec725 (patch) | |
tree | 026b6678c6973205e32698af795830d58c5121d6 /src/base/database.hpp | |
parent | 2adaea29500b412c342838e22df2f8b4ac2eb02d (diff) | |
download | usdx-271c7cabf5e16a1afed560b9f707b3955b3ec725.tar.gz usdx-271c7cabf5e16a1afed560b9f707b3955b3ec725.tar.xz usdx-271c7cabf5e16a1afed560b9f707b3955b3ec725.zip |
converted all strings and chars to wstrings and wchar_ts
all strings with displayable content are now the wide strings for
proper
unicode handling
added boost dependency for proper reading unicode from files
Diffstat (limited to 'src/base/database.hpp')
-rw-r--r-- | src/base/database.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/base/database.hpp b/src/base/database.hpp index ca13ec8c..2a320f45 100644 --- a/src/base/database.hpp +++ b/src/base/database.hpp @@ -62,13 +62,13 @@ namespace usdx * parameters and executing the statement. Need to be freed * with sqlite3_finalize. */ - sqlite3_stmt *sqlite_prepare(const std::string sqlStatement); + sqlite3_stmt *sqlite_prepare(const std::wstring sqlStatement); /** * Just a quick alias for sqlite_prepare, sqlite3_step and * sqlite3_finalize. */ - void sqlite_exec(const std::string sqlStatement); + void sqlite_exec(const std::wstring sqlStatement); /** * Check if the given table exists in the database. @@ -76,7 +76,7 @@ namespace usdx * @param table Name to check if exists * @return true, if table exists, false if not */ - const bool sqlite_table_exists(const std::string table); + const bool sqlite_table_exists(const std::wstring table); /** * Check if the given table has the given column by name. @@ -85,7 +85,7 @@ namespace usdx * @param column Name of the column to check if exists * @return true, if column exists in that table, false if not */ - const bool sqlite_table_contains_column(const std::string table, const std::string column); + const bool sqlite_table_contains_column(const std::wstring table, const std::wstring column); /** * Queries the user version from the sqlite database. This is a |