From 7167ce41b61d2ba2cdb526777a4233eb84a3b66a Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Sat, 6 Dec 2014 17:33:25 -0500 Subject: Imported Upstream version 2.99.6 --- Plugins/DbSqlite2/dbsqlite2instance.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Plugins/DbSqlite2/dbsqlite2instance.h (limited to 'Plugins/DbSqlite2/dbsqlite2instance.h') diff --git a/Plugins/DbSqlite2/dbsqlite2instance.h b/Plugins/DbSqlite2/dbsqlite2instance.h new file mode 100644 index 0000000..83c54d3 --- /dev/null +++ b/Plugins/DbSqlite2/dbsqlite2instance.h @@ -0,0 +1,27 @@ +#ifndef DBSQLITE2INSTANCE_H +#define DBSQLITE2INSTANCE_H + +#include "db/abstractdb2.h" +#include "common/global.h" +#include + +struct Sqlite2 +{ + static_char* label = "SQLite 2"; +}; + +class DbSqlite2Instance : public AbstractDb2 +{ + public: + /** + * @brief Creates SQLite database object. + * @param name Name for the database. + * @param path File path of the database. + * @param connOptions Connection options. See AbstractDb for details. + * + * All values from this constructor are just passed to AbstractDb2 constructor. + */ + DbSqlite2Instance(const QString& name, const QString& path, const QHash& connOptions); +}; + +#endif // DBSQLITE2INSTANCE_H -- cgit v1.2.3