equal
deleted
inserted
replaced
26 #include "SDL_mixer.h" |
26 #include "SDL_mixer.h" |
27 |
27 |
28 |
28 |
29 class SDLInteraction : public QObject |
29 class SDLInteraction : public QObject |
30 { |
30 { |
31 Q_OBJECT |
31 Q_OBJECT |
32 |
32 |
33 private: |
33 private: |
34 Mix_Music *music; |
34 Mix_Music *music; |
35 int musicInitialized; |
35 int musicInitialized; |
36 |
36 |
37 public: |
37 public: |
38 SDLInteraction(); |
38 SDLInteraction(); |
39 ~SDLInteraction(); |
39 ~SDLInteraction(); |
40 QStringList getResolutions() const; |
40 QStringList getResolutions() const; |
41 void addGameControllerKeys() const; |
41 void addGameControllerKeys() const; |
42 void StartMusic(); |
42 void StartMusic(); |
43 void StopMusic(); |
43 void StopMusic(); |
44 void SDLMusicInit(); |
44 void SDLMusicInit(); |
45 }; |
45 }; |
46 |
46 |
47 |
47 |
48 #endif |
48 #endif |
49 |
49 |