cstool/sndwrap.h
00001 /* 00002 Copyright (C) 1998, 1999 by Nathaniel 'NooTe' Saint Martin 00003 Copyright (C) 1998, 1999 by Jorrit Tyberghein 00004 Written by Nathaniel 'NooTe' Saint Martin 00005 00006 This library is free software; you can redistribute it and/or 00007 modify it under the terms of the GNU Library General Public 00008 License as published by the Free Software Foundation; either 00009 version 2 of the License, or (at your option) any later version. 00010 00011 This library is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 Library General Public License for more details. 00015 00016 You should have received a copy of the GNU Library General Public 00017 License along with this library; if not, write to the Free 00018 Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00019 */ 00020 00021 #ifndef __CS_SNDWRAP_H__ 00022 #define __CS_SNDWRAP_H__ 00023 00024 #include "csextern.h" 00025 00026 #include "csutil/csobject.h" 00027 #include "isound/wrapper.h" 00028 00030 class CS_CSTOOL_EXPORT csSoundWrapper : public csObject 00031 { 00032 protected: 00034 csRef<iSoundHandle> SoundHandle; 00035 00036 public: 00037 00039 csSoundWrapper(iSoundHandle* buf); 00041 ~csSoundWrapper(); 00043 iSoundHandle* GetSound(); 00044 00045 SCF_DECLARE_IBASE; 00046 00047 struct SoundWrapper : public iSoundWrapper 00048 { 00049 SCF_DECLARE_EMBEDDED_IBASE(csSoundWrapper); 00050 00051 virtual iSoundHandle *GetSound (); 00052 virtual iObject *QueryObject (); 00053 } scfiSoundWrapper; 00054 }; 00055 00056 #endif // __CS_SNDWRAP_H__
Generated for Crystal Space by doxygen 1.2.18