Core Base Classes for the Light Endpoints
Dependents: mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more
Diff: Light.cpp
- Revision:
- 21:cfdaee0a2b50
- Parent:
- 20:f2dbbd852e08
- Child:
- 26:791d22d43cb4
--- a/Light.cpp Wed Feb 26 18:59:01 2014 +0000 +++ b/Light.cpp Wed Feb 26 21:29:18 2014 +0000 @@ -42,6 +42,9 @@ if (this->m_resources != NULL) delete this->m_resources; } + // get the resource factory + ResourceFactory *Light::getResourceFactory() { return this->m_resources; } + // set the dimmer action void Light::setDimmerAction(void *dimmer_action) { this->m_dimmer_action = dimmer_action; }