aboutsummaryrefslogtreecommitdiffstats
path: root/Plugins/DbSqliteSystemData/dbsqlitesystemdatainstance.h
blob: 6e726241e9bbb54badef498e8f97691f8fcd2f18 (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 "systemdata_sqlite3.h"
#include "db/stdsqlite3driver.h"

STD_SQLITE3_DRIVER(SystemDataSQLite, "System.Data.SQLite", systemdata_,)

class DbSqliteSystemDataInstance : public AbstractDb3<SystemDataSQLite>
{
    public:
        DbSqliteSystemDataInstance(const QString &name, const QString &path, const QHash<QString, QVariant> &connOptions);

    protected:
        void initAfterOpen();
        QString getAttachSql(Db* otherDb, const QString& generatedAttachName);
};

#endif // DBSQLITEWXINSTANCE_H