// $Id: LampLink.h 2088 2008-11-23 20:26:46Z matevz $ // Copyright (C) 1999-2008, Matevz Tadel. All rights reserved. // This file is part of GLED, released under GNU General Public License version 2. // For the licensing terms see $GLEDSYS/LICENSE or http://www.gnu.org/. #ifndef GledCore_LampLink_H #define GledCore_LampLink_H #include #include class LampLink : public ZGlass { // 7777 RnrCtrl(RnrBits(0,4,0,0)) MAC_RNR_FRIENDS(LampLink); private: void _init(); protected: ZLink mLamp; // X{gS} L{} RnrBits zero Bool_t bTurnOn; // X{gS} 7 Bool(-join=>1) Bool_t bTurnOff; // X{gS} 7 Bool() public: LampLink(const Text_t* n="LampLink", const Text_t* t=0) : ZGlass(n,t) { _init(); } #include "LampLink.h7" ClassDef(LampLink, 1); }; // endclass LampLink #endif