From 4cf2c5dbea1d620f824fda243c588ddf984f7737 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Mon, 1 Nov 2010 14:18:27 +0100
Subject: Small tweaks to DummySystemTray & MemoryStoragesFactory.


diff --git a/Swift/Controllers/DummySystemTray.h b/Swift/Controllers/DummySystemTray.h
index 1683b55..41da4cd 100644
--- a/Swift/Controllers/DummySystemTray.h
+++ b/Swift/Controllers/DummySystemTray.h
@@ -13,5 +13,6 @@ namespace Swift {
 	public:
 		void setUnreadMessages(bool some) {};
 		void setStatusType(StatusShow::Type type) {};
+		void setConnecting() {}
 	};
 }
diff --git a/Swift/Controllers/MemoryStoragesFactory.h b/Swift/Controllers/MemoryStoragesFactory.h
new file mode 100644
index 0000000..8408e10
--- /dev/null
+++ b/Swift/Controllers/MemoryStoragesFactory.h
@@ -0,0 +1,21 @@
+/*
+ * Copyright (c) 2010 Remko Tronçon
+ * Licensed under the GNU General Public License v3.
+ * See Documentation/Licenses/GPLv3.txt for more information.
+ */
+
+#pragma once
+
+#include "Swift/Controllers/StoragesFactory.h"
+#include "Swiften/Client/MemoryStorages.h"
+
+namespace Swift {
+	class MemoryStoragesFactory : public StoragesFactory {
+		public:
+			MemoryStoragesFactory() {}
+
+			virtual Storages* createStorages(const JID& profile) const {
+				return new MemoryStorages();
+			}
+	};
+}
-- 
cgit v0.10.2-6-g49f6