aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/sound.h
diff options
context:
space:
mode:
authoryinsimei2017-05-26 21:25:11 +0200
committerEugene Sandulenko2017-07-13 18:27:45 +0200
commitc4a5af22eac930b5ed8e04fede2b9e61a76ca5d6 (patch)
treed618a93acee85b1036e397604b306ff9579b7a00 /engines/sludge/sound.h
parent219044abf9841461043d6e2acf0d5a48a7c7648b (diff)
downloadscummvm-rg350-c4a5af22eac930b5ed8e04fede2b9e61a76ca5d6.tar.gz
scummvm-rg350-c4a5af22eac930b5ed8e04fede2b9e61a76ca5d6.tar.bz2
scummvm-rg350-c4a5af22eac930b5ed8e04fede2b9e61a76ca5d6.zip
SLUDGE: Add namespace
Diffstat (limited to 'engines/sludge/sound.h')
-rw-r--r--engines/sludge/sound.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/engines/sludge/sound.h b/engines/sludge/sound.h
index 61f834ba90..5bb3f9d3c9 100644
--- a/engines/sludge/sound.h
+++ b/engines/sludge/sound.h
@@ -19,13 +19,19 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
-#include "variable.h"
+
+#ifndef SLUDGE_SOUND_H
+#define SLUDGE_SOUND_H
+
#ifdef _WIN32
#include <windows.h>
#else
#define HWND void *
#endif
+#include "variable.h"
+
+namespace Sludge {
// Sound list stuff
struct soundList {
@@ -38,8 +44,6 @@ struct soundList {
soundList *deleteSoundFromList(soundList *s);
void playSoundList(soundList *s);
-
-
// GENERAL...
bool initSoundStuff(HWND);
void killSoundStuff();
@@ -69,3 +73,7 @@ void saveSounds(FILE *fp);
#endif
unsigned int getSoundSource(int index);
+
+} // End of namespace Sludge
+
+#endif