blob: 9ad2f02af58e2e17434458cdec16b448faefdfd2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef DBSQLITEWX_H
#define DBSQLITEWX_H
#include "plugins/genericplugin.h"
#include "plugins/dbpluginstdfilebase.h"
#include <QObject>
class DbSqliteWx : public GenericPlugin, public DbPluginStdFileBase
{
Q_OBJECT
SQLITESTUDIO_PLUGIN("dbsqlitewx.json")
public:
DbSqliteWx();
QString getLabel() const;
QList<DbPluginOption> getOptionsList() const;
bool checkIfDbServedByPlugin(Db *db) const;
static_char* PASSWORD_OPT = "password";
static_char* CIPHER_OPT = "cipher";
static_char* PRAGMAS_OPT = "pragmas";
protected:
Db *newInstance(const QString &name, const QString &path, const QHash<QString, QVariant> &options);
};
#endif // DBSQLITEWX_H
|