diff options
| author | 2023-04-30 18:31:18 -0400 | |
|---|---|---|
| committer | 2023-04-30 18:31:18 -0400 | |
| commit | 4de57f628bc74f00ba1885e91c84ea07c5405d8f (patch) | |
| tree | 5d91900751e826d491ff1b2ebc571a787e84f864 /Plugins/DbSqliteWx/dbsqlitewxinstance.h | |
| parent | 74d881cefa9097e58e129e37b9c44d680d8c7dfe (diff) | |
| parent | 3565aad630864ecdbe53fdaa501ea708555b3c7c (diff) | |
Update upstream source from tag 'upstream/3.4.4+dfsg'
Update to upstream version '3.4.4+dfsg'
with Debian dir 482614bd23f0ef52dabc9803477204ad88e917ed
Diffstat (limited to 'Plugins/DbSqliteWx/dbsqlitewxinstance.h')
| -rw-r--r-- | Plugins/DbSqliteWx/dbsqlitewxinstance.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/Plugins/DbSqliteWx/dbsqlitewxinstance.h b/Plugins/DbSqliteWx/dbsqlitewxinstance.h index bc313af..63434f4 100644 --- a/Plugins/DbSqliteWx/dbsqlitewxinstance.h +++ b/Plugins/DbSqliteWx/dbsqlitewxinstance.h @@ -2,26 +2,29 @@ #define DBSQLITEWXINSTANCE_H
#include "db/abstractdb3.h"
- -#ifdef WXSQLITE_SYSTEM_LIB +
+#ifdef WXSQLITE_SYSTEM_LIB
# include "wxsqlite3_unmodified.h"
-#else +#else
# include "wxsqlite3.h"
-#endif - +#endif
+
#include "db/stdsqlite3driver.h"
-#ifdef WXSQLITE_SYSTEM_LIB +#ifdef WXSQLITE_SYSTEM_LIB
STD_SQLITE3_DRIVER(WxSQLite, "WxSQLite3",,)
-#else +#else
STD_SQLITE3_DRIVER(WxSQLite, "WxSQLite3", wx_,)
-#endif +#endif
class DbSqliteWxInstance : public AbstractDb3<WxSQLite>
{
public:
DbSqliteWxInstance(const QString &name, const QString &path, const QHash<QString, QVariant> &connOptions);
+ Db* clone() const;
+ QString getTypeClassName() const;
+
protected:
void initAfterOpen();
QString getAttachSql(Db* otherDb, const QString& generatedAttachName);
|
