From: Saul L. <ti...@us...> - 2002-02-24 01:58:47
|
Update of /cvsroot/planeshift/planeshift/src/client/iclient In directory usw-pr-cvs1:/tmp/cvs-serv21518/src/client/iclient Added Files: isoundmngr.h Log Message: added sound plugin --- NEW FILE: isoundmngr.h --- /* * isoundmngr.h * * Copyright (C) 2001 PlaneShift Team (in...@pl..., * http://www.planeshift.it) -- Saul Leite <le...@en...> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation (version 2 of the License) * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * */ #ifndef I_SOUND_H #define I_SOUND_H #include "csutil/scf.h" struct iObjectRegistry; SCF_VERSION(iSoundManager, 0, 0, 1); struct iSoundManager : public iBase { virtual bool Setup() = 0; virtual float GetVolume() =0; virtual void SetVolume(float vol) =0; virtual bool AddSound(const char* name) =0; virtual bool ChangeBGSong(const char* name) =0; }; #endif // I_SOUND_H |