#ifndef Player_H #define Player_H #ifdef WIN32 #include #include #include #include #include #include #include "Sound.h" #include #pragma comment( lib, "winmm.lib" ) #else #include #include "Sound.h" #endif using namespace Framework; namespace GSL { class GSLPlayer { private: RCArray< GSLSound > sounds; Critical cs; public: // Konstruktor GSLPlayer(); // Destruktor ~GSLPlayer(); // nicht constant bool addSound( GSLSound *snd ); void removeSound( GSLSound *zSnd ); #ifdef WIN32 void sendSoundMSG( HWAVEOUT hOut, UINT uMsg, DWORD_PTR dwInstance, DWORD_PTR dwParam1, DWORD_PTR dwParam2 ); #endif }; } #endif