diff options
| author | 2017-02-09 04:36:04 -0500 | |
|---|---|---|
| committer | 2017-02-09 04:36:04 -0500 | |
| commit | d9aa870e5d509cc7309ab82dd102a937ab58613a (patch) | |
| tree | d92d03d76b5c390b335f1cfd761f1a0b59ec8496 /Plugins/DbSqliteSystemData/dbsqlitesystemdata.h | |
| parent | 68ee4cbcbe424b95969c70346283a9f217f63825 (diff) | |
Imported Upstream version 3.1.1+dfsg1upstream/3.1.1+dfsg1
Diffstat (limited to 'Plugins/DbSqliteSystemData/dbsqlitesystemdata.h')
| -rw-r--r-- | Plugins/DbSqliteSystemData/dbsqlitesystemdata.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Plugins/DbSqliteSystemData/dbsqlitesystemdata.h b/Plugins/DbSqliteSystemData/dbsqlitesystemdata.h new file mode 100644 index 0000000..4849504 --- /dev/null +++ b/Plugins/DbSqliteSystemData/dbsqlitesystemdata.h @@ -0,0 +1,26 @@ +#ifndef DBSQLITEWX_H
+#define DBSQLITEWX_H
+
+#include "plugins/genericplugin.h"
+#include "plugins/dbpluginstdfilebase.h"
+#include <QObject>
+
+class DbSqliteSystemData : public GenericPlugin, public DbPluginStdFileBase
+{
+ Q_OBJECT
+ SQLITESTUDIO_PLUGIN("dbsqlitesystemdata.json")
+
+ public:
+ DbSqliteSystemData();
+
+ QString getLabel() const;
+ QList<DbPluginOption> getOptionsList() const;
+ bool checkIfDbServedByPlugin(Db *db) const;
+
+ static_char* PASSWORD_OPT = "password";
+
+ protected:
+ Db *newInstance(const QString &name, const QString &path, const QHash<QString, QVariant> &options);
+};
+
+#endif // DBSQLITEWX_H
|
