nsp specific components for the NSP version of the impact endpoint

Dependents:   mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet mbed_nsp_endpoint_nxp

Committer:
ansond
Date:
Fri Sep 26 05:55:44 2014 +0000
Revision:
28:b6a7959c8be0
Parent:
0:e1c4378df3fe
updates for new logger

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ansond 0:e1c4378df3fe 1 /* Copyright C2013 Doug Anson, MIT License
ansond 0:e1c4378df3fe 2 *
ansond 0:e1c4378df3fe 3 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software
ansond 0:e1c4378df3fe 4 * and associated documentation files the "Software", to deal in the Software without restriction,
ansond 0:e1c4378df3fe 5 * including without limitation the rights to use, copy, modify, merge, publish, distribute,
ansond 0:e1c4378df3fe 6 * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
ansond 0:e1c4378df3fe 7 * furnished to do so, subject to the following conditions:
ansond 0:e1c4378df3fe 8 *
ansond 0:e1c4378df3fe 9 * The above copyright notice and this permission notice shall be included in all copies or
ansond 0:e1c4378df3fe 10 * substantial portions of the Software.
ansond 0:e1c4378df3fe 11 *
ansond 0:e1c4378df3fe 12 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
ansond 0:e1c4378df3fe 13 * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
ansond 0:e1c4378df3fe 14 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
ansond 0:e1c4378df3fe 15 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
ansond 0:e1c4378df3fe 16 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
ansond 0:e1c4378df3fe 17 */
ansond 0:e1c4378df3fe 18
ansond 0:e1c4378df3fe 19 #ifndef _NSP_LIGHT_SWITCH_ACTION_H_
ansond 0:e1c4378df3fe 20 #define _NSP_LIGHT_SWITCH_ACTION_H_
ansond 0:e1c4378df3fe 21
ansond 0:e1c4378df3fe 22 // Base class
ansond 0:e1c4378df3fe 23 #include "LightSwitchAction.h"
ansond 0:e1c4378df3fe 24
ansond 0:e1c4378df3fe 25 class NSPLightSwitchAction : public LightSwitchAction {
ansond 0:e1c4378df3fe 26 public:
ansond 28:b6a7959c8be0 27 NSPLightSwitchAction(Logger *logger,Light *light);
ansond 0:e1c4378df3fe 28 virtual ~NSPLightSwitchAction();
ansond 0:e1c4378df3fe 29
ansond 0:e1c4378df3fe 30 void on();
ansond 0:e1c4378df3fe 31 void off();
ansond 0:e1c4378df3fe 32 };
ansond 0:e1c4378df3fe 33
ansond 0:e1c4378df3fe 34 #endif // _LIGHT_SWITCH_ACTION_H_