summaryrefslogtreecommitdiff
path: root/src/components/utils/include/utils/sql_qt_wrapper
diff options
context:
space:
mode:
authorAndriy Byzhynar (GitHub) <AByzhynar@luxoft.com>2016-06-23 17:33:32 +0300
committerGitHub <noreply@github.com>2016-06-23 17:33:32 +0300
commit827bcaf0aa39348fa7ec4df796c4e124f7143169 (patch)
tree517a69ced2f09b702cb2368e7ae412efec2ea838 /src/components/utils/include/utils/sql_qt_wrapper
parent833cac1b1de464f53d5709904a4ee24634be2936 (diff)
downloadsdl_core-827bcaf0aa39348fa7ec4df796c4e124f7143169.tar.gz
Revert "Cover resumption with unit tests"revert-618-feature/Cover_resumption_with_unit_tests
Diffstat (limited to 'src/components/utils/include/utils/sql_qt_wrapper')
-rw-r--r--src/components/utils/include/utils/sql_qt_wrapper/sql_database.h (renamed from src/components/utils/include/utils/sql_qt_wrapper/sql_database_impl.h)17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/components/utils/include/utils/sql_qt_wrapper/sql_database_impl.h b/src/components/utils/include/utils/sql_qt_wrapper/sql_database.h
index 92d8bc5425..d12c4381d4 100644
--- a/src/components/utils/include/utils/sql_qt_wrapper/sql_database_impl.h
+++ b/src/components/utils/include/utils/sql_qt_wrapper/sql_database.h
@@ -1,5 +1,5 @@
-#ifndef SRC_COMPONENTS_UTILS_INCLUDE_UTILS_SQL_QT_WRAPPER_SQL_DATABASE_IMPL_H_
-#define SRC_COMPONENTS_UTILS_INCLUDE_UTILS_SQL_QT_WRAPPER_SQL_DATABASE_IMPL_H_
+#ifndef SRC_COMPONENTS_POLICY_SQLITE_WRAPPER_INCLUDE_SQL_QT_WRAPPER_SQL_DATABASE
+#define SRC_COMPONENTS_POLICY_SQLITE_WRAPPER_INCLUDE_SQL_QT_WRAPPER_SQL_DATABASE
#include <string>
@@ -7,7 +7,6 @@
#include "utils/lock.h"
#include "utils/sql_qt_wrapper/sql_error.h"
-#include "utils/sql_database.h"
namespace utils {
namespace dbms {
@@ -15,12 +14,12 @@ namespace dbms {
/**
* Represents a connection to a database.
*/
-class SQLDatabaseImpl : public SQLDatabase {
+class SQLDatabase {
public:
- SQLDatabaseImpl();
- SQLDatabaseImpl(const std::string& database_path,
- const std::string& connection_name);
- ~SQLDatabaseImpl();
+ SQLDatabase();
+ SQLDatabase(const std::string& database_path,
+ const std::string& connection_name);
+ ~SQLDatabase();
/**
* Opens connection to the temporary in-memory database
@@ -106,4 +105,4 @@ class SQLDatabaseImpl : public SQLDatabase {
} // namespace dbms
} // namespace utils
-#endif // SRC_COMPONENTS_UTILS_INCLUDE_UTILS_SQL_QT_WRAPPER_SQL_DATABASE_IMPL_H_
+#endif // SRC_COMPONENTS_POLICY_SQLITE_WRAPPER_INCLUDE_SQL_QT_WRAPPER_SQL_DATABASE