summaryrefslogtreecommitdiffstats
blob: 07ac667e45dc42608fcb50ff1a38c48b04733ad8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include <boost/shared_ptr.hpp>

#include "Swiften/Events/StanzaEvent.h"

namespace Swift {
	class EventController;
	class SoundPlayer;
	class SoundEventController {
		public:
			SoundEventController(EventController* eventController, SoundPlayer* soundPlayer, bool playSounds);
			void setPlaySounds(bool playSounds);
		private:
			void handleEventQueueEventAdded(boost::shared_ptr<StanzaEvent> event);
			EventController* eventController_;
			SoundPlayer* soundPlayer_;
			bool playSounds_;
	};
}