1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#ifndef SOUND_H #define SOUND_H #include <QString> class Sound { public: Sound(); static void play(const QString sndfile); static void mute(bool yes); private: static bool is_muted; }; #endif // SOUND_H