diff options
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
|
