// $Header: /cvs/gled-1.2/Audio1/Glasses/AlContext.h,v 1.2 2005/05/30 13:15:10 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 Audio1_AlContext_H #define Audio1_AlContext_H #include #include class AlContext : public ZNode { MAC_RNR_FRIENDS(AlContext); private: void _init(); protected: ALCdevice* mDevice; //! X{g} ALCcontext* mContext; //! X{g} public: AlContext(const Text_t* n="AlContext", const Text_t* t=0) : ZNode(n,t) { _init(); } void Open(); // X{E} 7 MButt(-join=>1) void Close(); // X{E} 7 MButt() #include "AlContext.h7" ClassDef(AlContext, 1) }; // endclass AlContext GlassIODef(AlContext); #endif