mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-19 00:54:08 +00:00
34 lines
732 B
C++
34 lines
732 B
C++
/* $Id$ */
|
|
/*
|
|
Copyright (C) 2003 by David White <davidnwhite@optusnet.com.au>
|
|
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License.
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY.
|
|
|
|
See the COPYING file for more details.
|
|
*/
|
|
#ifndef SOUND_HPP_INCLUDED
|
|
#define SOUND_HPP_INCLUDED
|
|
|
|
#include <string>
|
|
|
|
namespace sound {
|
|
|
|
struct manager {
|
|
manager();
|
|
~manager();
|
|
};
|
|
|
|
void play_music(const std::string& file);
|
|
void play_sound(const std::string& file);
|
|
|
|
void set_music_volume(double vol);
|
|
void set_sound_volume(double vol);
|
|
|
|
}
|
|
|
|
#endif
|