diff options
Diffstat (limited to 'Plugins/DbSqliteSystemData/dbsqlitesystemdatainstance.h')
| -rw-r--r-- | Plugins/DbSqliteSystemData/dbsqlitesystemdatainstance.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Plugins/DbSqliteSystemData/dbsqlitesystemdatainstance.h b/Plugins/DbSqliteSystemData/dbsqlitesystemdatainstance.h new file mode 100644 index 0000000..6e72624 --- /dev/null +++ b/Plugins/DbSqliteSystemData/dbsqlitesystemdatainstance.h @@ -0,0 +1,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
|
