equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of the License "Eclipse Public License v1.0" |
5 * under the terms of the License "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
35 #include "dbprocessor.h" |
35 #include "dbprocessor.h" |
36 #include "xmlparser.h" |
36 #include "xmlparser.h" |
37 #include "./sqlite/sqlite3.h" |
37 #include "./sqlite/sqlite3.h" |
38 |
38 |
39 #include <string> |
39 #include <string> |
|
40 |
|
41 #ifdef __TOOLS2_LINUX__ |
|
42 |
|
43 // utf16WString represents the UTF-16 data(WINDOWS wstring). |
|
44 typedef std::basic_string<unsigned short int> utf16WString; |
|
45 |
|
46 #else |
|
47 |
|
48 // Under WINDOWS, wstring will be in UTF-16 format itself. |
|
49 typedef std::wstring utf16WString; |
|
50 |
|
51 #endif |
|
52 |
40 |
53 |
41 class CDbLayer |
54 class CDbLayer |
42 { |
55 { |
43 public: |
56 public: |
44 CDbLayer(const std::string& aDllPath, const std::string& aSqlDbName); |
57 CDbLayer(const std::string& aDllPath, const std::string& aSqlDbName); |