From 5d9314f134ddd3dc4c853e398ac90ba247fb2e4f Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Mon, 13 Jun 2016 18:42:42 -0400 Subject: Imported Upstream version 3.1.0 --- Plugins/DbSqliteCipher/dbsqlitecipherinstance.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Plugins/DbSqliteCipher/dbsqlitecipherinstance.h (limited to 'Plugins/DbSqliteCipher/dbsqlitecipherinstance.h') diff --git a/Plugins/DbSqliteCipher/dbsqlitecipherinstance.h b/Plugins/DbSqliteCipher/dbsqlitecipherinstance.h new file mode 100644 index 0000000..9eb4701 --- /dev/null +++ b/Plugins/DbSqliteCipher/dbsqlitecipherinstance.h @@ -0,0 +1,20 @@ +#ifndef DBSQLITECIPHERINSTANCE_H +#define DBSQLITECIPHERINSTANCE_H + +#include "db/abstractdb3.h" +#include "sqlcipher.h" +#include "db/stdsqlite3driver.h" + +STD_SQLITE3_DRIVER(SqlCipher, "SQLCipher", sqlcipher_,) + +class DbSqliteCipherInstance : public AbstractDb3 +{ + public: + DbSqliteCipherInstance(const QString& name, const QString& path, const QHash& connOptions); + + protected: + void initAfterOpen(); + QString getAttachSql(Db* otherDb, const QString& generatedAttachName); +}; + +#endif // DBSQLITECIPHERINSTANCE_H -- cgit v1.2.3