From 7fd66adfe9f3a92cd55e70b7478432d1f9030c4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Sat, 21 Aug 2010 10:23:32 +0200
Subject: Revert "Added SoundPlayer::isAvailable."


diff --git a/Swift/Controllers/SoundPlayer.h b/Swift/Controllers/SoundPlayer.h
index 1d7f94d..b71d759 100644
--- a/Swift/Controllers/SoundPlayer.h
+++ b/Swift/Controllers/SoundPlayer.h
@@ -12,6 +12,5 @@ namespace Swift {
 			virtual ~SoundPlayer() {};
 			enum SoundEffect{MessageReceived};
 			virtual void playSound(SoundEffect sound) = 0;
-			virtual bool isAvailable() const = 0;
 	};
 }
diff --git a/Swift/QtUI/QtSoundPlayer.cpp b/Swift/QtUI/QtSoundPlayer.cpp
index 9860bc2..7fd6564 100644
--- a/Swift/QtUI/QtSoundPlayer.cpp
+++ b/Swift/QtUI/QtSoundPlayer.cpp
@@ -34,8 +34,4 @@ void QtSoundPlayer::playSound(const String& soundResource) {
 	}
 }
 
-bool QtSoundPlayer::isAvailable() const {
-	return QSound::isAvailable();
-}
-
 }
diff --git a/Swift/QtUI/QtSoundPlayer.h b/Swift/QtUI/QtSoundPlayer.h
index da6fdda..21ad8bb 100644
--- a/Swift/QtUI/QtSoundPlayer.h
+++ b/Swift/QtUI/QtSoundPlayer.h
@@ -20,7 +20,6 @@ namespace Swift {
 			QtSoundPlayer(ApplicationPathProvider* applicationPathProvider);
 
 			void playSound(SoundEffect sound);
-			bool isAvailable() const;
 
 		private:
 			void playSound(const String& soundResource);
-- 
cgit v0.10.2-6-g49f6