// $Header: /cvs/gled-1.2/GledCore/Glasses/LampLink.h,v 1.6 2005/03/11 17:50:15 matevz Exp $ // Copyright (C) 1999-2005, 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: Lamp* 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 GlassIODef(LampLink); #endif