aboutsummaryrefslogtreecommitdiff
path: root/client/dbconnector.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/dbconnector.h')
-rw-r--r--client/dbconnector.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/client/dbconnector.h b/client/dbconnector.h
index 5b9b1cf..82b4f21 100644
--- a/client/dbconnector.h
+++ b/client/dbconnector.h
@@ -5,8 +5,7 @@
#include <QMessageBox>
//#include <QtSql>
//#include <QSqlDatabase>
-
-#define WS_ESP8266_WLAN_IP "129.168.0.1"
+#include "consts.h"
namespace Ui {
class dbConnector;
@@ -20,6 +19,9 @@ public:
explicit dbConnector(QWidget *parent = nullptr);
~dbConnector();
+ static QString getdbName();
+ static QString getEspHost();
+
private slots:
void on_pushButton_cancel_clicked();