Skip to content
This repository was archived by the owner on Jan 28, 2022. It is now read-only.

Commit 6c19156

Browse files
authored
Merge pull request #6 from YIO-Remote/feature/integration_add_ssl
feat: added ssl key to integration data
2 parents e7a485f + f339aeb commit 6c19156

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/yio-interface/configinterface.h

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
#define CFG_OBJ_DATA "data"
3939
#define CFG_KEY_DATA_IP "ip"
4040
#define CFG_KEY_DATA_TOKEN "token"
41+
#define CFG_KEY_DATA_SSL "ssl"
4142

4243
/**
4344
* @brief This interface is implemented by the Entities object and used by integration DLLs to access the entities.

src/yio-plugin/integration.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ const QString Integration::KEY_WORKERTHREAD = CFG_KEY_WORKERTHREAD;
3434
const QString Integration::OBJ_DATA = CFG_OBJ_DATA;
3535
const QString Integration::KEY_DATA_IP = CFG_KEY_DATA_IP;
3636
const QString Integration::KEY_DATA_TOKEN = CFG_KEY_DATA_TOKEN;
37+
const QString Integration::KEY_DATA_SSL = CFG_KEY_DATA_SSL;
3738

3839
IntegrationInterface::~IntegrationInterface() {}
3940

src/yio-plugin/integration.h

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ class Integration : public QObject, public IntegrationInterface {
5050
static const QString OBJ_DATA;
5151
static const QString KEY_DATA_IP;
5252
static const QString KEY_DATA_TOKEN;
53+
static const QString KEY_DATA_SSL;
5354

5455
Integration(const QVariantMap& config, EntitiesInterface* entities, NotificationsInterface* notifications,
5556
YioAPIInterface* api, ConfigInterface* configObj, Plugin* plugin);

0 commit comments

Comments
 (0)