diff options
Diffstat (limited to 'Plugins/DbAndroid/dbandroidconnectionfactory.h')
| -rw-r--r-- | Plugins/DbAndroid/dbandroidconnectionfactory.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Plugins/DbAndroid/dbandroidconnectionfactory.h b/Plugins/DbAndroid/dbandroidconnectionfactory.h new file mode 100644 index 0000000..0e46c9f --- /dev/null +++ b/Plugins/DbAndroid/dbandroidconnectionfactory.h @@ -0,0 +1,21 @@ +#ifndef DBANDROIDCONNECTIONFACTORY_H +#define DBANDROIDCONNECTIONFACTORY_H + +#include "dbandroidurl.h" + +class DbAndroidConnection; +class DbAndroid; + +class DbAndroidConnectionFactory +{ + public: + explicit DbAndroidConnectionFactory(DbAndroid* plugin); + + DbAndroidConnection* create(const QString& url, QObject* parent = nullptr); + DbAndroidConnection* create(const DbAndroidUrl& url, QObject* parent = nullptr); + + private: + DbAndroid* plugin = nullptr; +}; + +#endif // DBANDROIDCONNECTIONFACTORY_H |
