diff options
Diffstat (limited to 'tradeshow')
-rw-r--r-- | tradeshow/iot-sensortag/SensorTagDemo.pro | 6 | ||||
-rw-r--r-- | tradeshow/iot-sensortag/main.cpp | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/tradeshow/iot-sensortag/SensorTagDemo.pro b/tradeshow/iot-sensortag/SensorTagDemo.pro index 9fab11c..6301c56 100644 --- a/tradeshow/iot-sensortag/SensorTagDemo.pro +++ b/tradeshow/iot-sensortag/SensorTagDemo.pro @@ -60,7 +60,7 @@ HEADERS += \ seriesstorage.h BLUETOOTH_LINUX_HOST { - !winrt:CONFIG += UPDATE_TO_CLOUD + !winrt:CONFIG += UPDATE_TO_AZURE DEFINES += RUNS_AS_HOST SOURCES += \ @@ -76,10 +76,10 @@ BLUETOOTH_LINUX_HOST { bluetoothdevice.h } -UPDATE_TO_CLOUD { +UPDATE_TO_AZURE { SOURCES += cloudupdate.cpp HEADERS += cloudupdate.h - DEFINES += CLOUD_UPLOAD + DEFINES += AZURE_UPLOAD # For Azure libs win32 { LIBS += -lwastorage diff --git a/tradeshow/iot-sensortag/main.cpp b/tradeshow/iot-sensortag/main.cpp index f676081..e6f3381 100644 --- a/tradeshow/iot-sensortag/main.cpp +++ b/tradeshow/iot-sensortag/main.cpp @@ -64,7 +64,7 @@ #include "clouddataproviderpool.h" #include "mockdataprovider.h" #include "demodataproviderpool.h" -#ifdef CLOUD_UPLOAD +#ifdef AZURE_UPLOAD #include "cloudupdate.h" #endif #include "seriesstorage.h" @@ -134,7 +134,7 @@ int main(int argc, char *argv[]) qmlRegisterType<DataProviderPool>("SensorTag.DataProvider", 1, 0, "DataProviderPool"); qmlRegisterType<SeriesStorage>("SensorTag.SeriesStorage", 1, 0, "SeriesStorage"); -#if defined(RUNS_AS_HOST) && defined(CLOUD_UPLOAD) +#if defined(RUNS_AS_HOST) && defined(AZURE_UPLOAD) CloudUpdate update; if (sensorSource == "sensor" || sensorSource == "mock") { update.setDataProviderPool(dataProviderPool); |