From ec57e1f727d3b8d64ca5bf60f2bd277cd0f23f21 Mon Sep 17 00:00:00 2001
From: Kevin Smith <git@kismith.co.uk>
Date: Sat, 16 Nov 2013 22:37:05 +0000
Subject: Update dummy implementations to current API

Change-Id: Iff64972fc9127851d4cc81e1177d78132f27ad3b

diff --git a/Swift/Controllers/DummySoundPlayer.h b/Swift/Controllers/DummySoundPlayer.h
index b91192c..d0601c5 100644
--- a/Swift/Controllers/DummySoundPlayer.h
+++ b/Swift/Controllers/DummySoundPlayer.h
@@ -1,16 +1,16 @@
 /*
- * Copyright (c) 2010 Remko Tronçon
+ * Copyright (c) 2010-2013 Remko Tronçon
  * Licensed under the GNU General Public License v3.
  * See Documentation/Licenses/GPLv3.txt for more information.
  */
 
 #pragma once
 
-#include "Swift/Controllers/SoundPlayer.h"
+#include <Swift/Controllers/SoundPlayer.h>
 
 namespace Swift {
 	class DummySoundPlayer : public SoundPlayer {
 		public:
-			void playSound(SoundEffect sound) {}
+			void playSound(SoundEffect sound, const std::string& soundResource) {}
 	};
 }
diff --git a/Swift/Controllers/Storages/MemoryStoragesFactory.h b/Swift/Controllers/Storages/MemoryStoragesFactory.h
index 0dea349..e18f9fc 100644
--- a/Swift/Controllers/Storages/MemoryStoragesFactory.h
+++ b/Swift/Controllers/Storages/MemoryStoragesFactory.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2010 Remko Tronçon
+ * Copyright (c) 2010-2013 Remko Tronçon
  * Licensed under the GNU General Public License v3.
  * See Documentation/Licenses/GPLv3.txt for more information.
  */
@@ -11,13 +11,16 @@
 
 namespace Swift {
 	class JID;
+    class CryptoProvider;
 	
 	class MemoryStoragesFactory : public StoragesFactory {
 		public:
-			MemoryStoragesFactory() {}
+            MemoryStoragesFactory(CryptoProvider* cryptoProvider) : cryptoProvider_(cryptoProvider) {}
 
 			virtual Storages* createStorages(const JID& profile) const {
-				return new MemoryStorages();
+				return new MemoryStorages(cryptoProvider_);
 			}
+        private:
+            CryptoProvider* cryptoProvider_;
 	};
 }
-- 
cgit v0.10.2-6-g49f6