Own fork of MbedSmartRestMain
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Diff: DeviceIntegration.h
- Revision:
- 116:5de54f09f754
- Parent:
- 99:47ea098f8a47
diff -r 4eb3c7e945cf -r 5de54f09f754 DeviceIntegration.h --- a/DeviceIntegration.h Mon May 18 09:29:12 2015 +0000 +++ b/DeviceIntegration.h Wed May 20 09:55:49 2015 +0000 @@ -1,15 +1,15 @@ #ifndef DEVICEINTEGRATION_H #define DEVICEINTEGRATION_H -#include "AbstractSmartRest.h" +#include "SmartRest.h" #include "SmartRestTemplate.h" #include "DeviceInfo.h" class DeviceIntegration { public: - DeviceIntegration(AbstractSmartRest&, SmartRestTemplate&, DeviceInfo&); - + DeviceIntegration(SmartRest& c, SmartRestTemplate& t, DeviceInfo& d): + _init(false), _tpl(t), _client(c), _deviceInfo(d) {} bool init(); bool integrate(); @@ -22,7 +22,7 @@ private: bool _init; SmartRestTemplate& _tpl; - AbstractSmartRest& _client; + SmartRest& _client; DeviceInfo& _deviceInfo; };