blob: 66fcf7ec80a5dc794f42f20b028f612d8a191a9f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef DBSQLITEWXINSTANCE_H
#define DBSQLITEWXINSTANCE_H
#include "db/abstractdb3.h"
#include "wxsqlite3.h"
#include "db/stdsqlite3driver.h"
STD_SQLITE3_DRIVER(WxSQLite, "WxSQLite3", wx_,)
class DbSqliteWxInstance : public AbstractDb3<WxSQLite>
{
public:
DbSqliteWxInstance(const QString &name, const QString &path, const QHash<QString, QVariant> &connOptions);
protected:
void initAfterOpen();
QString getAttachSql(Db* otherDb, const QString& generatedAttachName);
};
#endif // DBSQLITEWXINSTANCE_H
|