From d9aa870e5d509cc7309ab82dd102a937ab58613a Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Thu, 9 Feb 2017 04:36:04 -0500 Subject: Imported Upstream version 3.1.1+dfsg1 --- Plugins/DbSqliteSystemData/dbsqlitesystemdata.h | 26 +++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Plugins/DbSqliteSystemData/dbsqlitesystemdata.h (limited to 'Plugins/DbSqliteSystemData/dbsqlitesystemdata.h') 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 + +class DbSqliteSystemData : public GenericPlugin, public DbPluginStdFileBase +{ + Q_OBJECT + SQLITESTUDIO_PLUGIN("dbsqlitesystemdata.json") + + public: + DbSqliteSystemData(); + + QString getLabel() const; + QList getOptionsList() const; + bool checkIfDbServedByPlugin(Db *db) const; + + static_char* PASSWORD_OPT = "password"; + + protected: + Db *newInstance(const QString &name, const QString &path, const QHash &options); +}; + +#endif // DBSQLITEWX_H -- cgit v1.2.3