QTfrontend/SDLs.h
changeset 2392 a55dbef5cf31
parent 2260 31756e21c436
child 2399 ddde0ac1472b
equal deleted inserted replaced
2391:f7d15d9d643c 2392:a55dbef5cf31
    19 #ifndef SDLS_H
    19 #ifndef SDLS_H
    20 #define SDLS_H
    20 #define SDLS_H
    21 
    21 
    22 #include <QStringList>
    22 #include <QStringList>
    23 
    23 
    24 extern "C" bool openal_init		(unsigned int memorysize);
    24 extern "C" bool openal_init		(unsigned int usehardware, unsigned int memorysize);
    25 extern "C" bool openal_close		(void);
    25 extern "C" bool openal_close		(void);
    26 extern "C" bool openal_ready		(void);
    26 extern "C" bool openal_ready		(void);
    27 extern "C" int  openal_loadfile		(const char *filename);
    27 extern "C" int  openal_loadfile		(const char *filename);
    28 extern "C" bool openal_toggleloop	(unsigned int index);
    28 extern "C" bool openal_toggleloop	(unsigned int index);
    29 extern "C" bool openal_setvolume	(unsigned int index, unsigned char percentage);
    29 extern "C" bool openal_setvolume	(unsigned int index, unsigned char percentage);
    45 
    45 
    46 public:
    46 public:
    47 	SDLInteraction();
    47 	SDLInteraction();
    48 	~SDLInteraction();
    48 	~SDLInteraction();
    49 	QStringList getResolutions() const;
    49 	QStringList getResolutions() const;
    50 	void StartMusic();
    50 	void StartMusic(bool);
    51 	void StopMusic();
    51 	void StopMusic();
    52 };
    52 };
    53 
    53 
    54 #endif
    54 #endif