/* * 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(); } }; }