//===========================================================================// // File: cmpnnt.hh // // Project: MUNGA Brick: Watcher // // Contents: // //---------------------------------------------------------------------------// // Date Who Modification // // -------- --- -----------------------------------------------------------// // 12/14/94 ECH Initial coding. // //---------------------------------------------------------------------------// // Copyright (C) 1994-1995, Virtual World Entertainment, Inc. // // All Rights reserved worldwide // // This unpublished sourcecode is PROPRIETARY and CONFIDENTIAL // //===========================================================================// #pragma once #include "Adept.hpp" #include "ComponentWeb.hpp" #include "AudioRenderer.hpp" namespace Adept { //########################################################################## //######################## AudioComponentWeb ############################# //########################################################################## class AudioComponentWeb: public RendererComponentWeb { public: static void InitializeClass(); static void TerminateClass(); //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Constructor/Destructor // public: AudioComponentWeb( ClassData *class_data, Entity *entity, Renderer *renderer, const ResourceID &script_id, AudioComponentWeb *parent_web = NULL ); ~AudioComponentWeb(); void TestInstance(); AudioRenderer* GetRenderer() {Check_Object(this); return Cast_Object(AudioRenderer*,owningRenderer);} void SetInterest(bool rendered); //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Class Data Support // public: static ClassData *DefaultData; }; }