QTfrontend/SDLs.h
changeset 2443 fececcbc2189
parent 2428 6800f8aa0184
child 2515 51d3f4b6293a
--- a/QTfrontend/SDLs.h	Wed Oct 14 16:30:41 2009 +0000
+++ b/QTfrontend/SDLs.h	Wed Oct 14 22:12:02 2009 +0000
@@ -20,21 +20,7 @@
 #define SDLS_H
 
 #include <QStringList>
-
-extern "C" bool openal_init		(char *programname, bool usehardware, unsigned int memorysize);
-extern "C" bool openal_close		(void);
-extern "C" bool openal_ready		(void);
-extern "C" int  openal_loadfile		(const char *filename);
-extern "C" bool openal_toggleloop	(unsigned int index);
-extern "C" bool openal_setvolume	(unsigned int index, unsigned char percentage);
-extern "C" bool openal_setglobalvolume	(unsigned char percentage);
-extern "C" bool openal_togglemute	(void);
-extern "C" bool openal_fadeout		(unsigned int index, unsigned short int quantity);
-extern "C" bool openal_fadein		(unsigned int index, unsigned short int quantity);
-extern "C" bool openal_fade		(unsigned int index, unsigned short int quantity, bool direction);
-extern "C" bool openal_playsound 	(unsigned int index);
-extern "C" bool openal_stopsound	(unsigned int index);
-extern "C" bool openal_pausesound	(unsigned int index);
+#include "openalbridge.h"
 
 class SDLInteraction : public QObject
 {