blob: 9eb4701e81495d2dc870e869de4d27c64f4e4cb6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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<SqlCipher>
{
public:
DbSqliteCipherInstance(const QString& name, const QString& path, const QHash<QString, QVariant>& connOptions);
protected:
void initAfterOpen();
QString getAttachSql(Db* otherDb, const QString& generatedAttachName);
};
#endif // DBSQLITECIPHERINSTANCE_H
|