1 /* 2 * DomoticzInternal.h 3 * 4 * Created on: 5 janv. 2016 5 * Author: gaudryc 6 */ 7 #pragma once 8 9 #ifndef HARDWARE_DOMOTICZINTERNAL_H_ 10 #define HARDWARE_DOMOTICZINTERNAL_H_ 11 12 #include "DomoticzHardware.h" 13 14 // Internl use only (eg. Security Panel device) 15 // User can not attach device to this type of hardware 16 17 class DomoticzInternal: public CDomoticzHardwareBase { 18 public: 19 explicit DomoticzInternal(const int ID); 20 ~DomoticzInternal(); 21 WriteToHardware(const char *,const unsigned char)22 bool WriteToHardware(const char* /*pdata*/, const unsigned char /*length*/) { 23 // nothing to do yet 24 return false; 25 }; 26 27 private: StartHardware()28 bool StartHardware() { 29 // nothing to do yet 30 m_bIsStarted = true; 31 return true; 32 }; StopHardware()33 bool StopHardware() { 34 // nothing to do yet 35 m_bIsStarted = false; 36 return true; 37 }; 38 39 }; 40 41 #endif /* HARDWARE_DOMOTICZINTERNAL_H_ */ 42