00001 /* 00002 * Copyright (c) 2010 Remko Tronçon 00003 * Licensed under the GNU General Public License v3. 00004 * See Documentation/Licenses/GPLv3.txt for more information. 00005 */ 00006 00007 #pragma once 00008 00009 #include <Swiften/Avatars/AvatarManager.h> 00010 00011 namespace Swift { 00012 class NullAvatarManager : public AvatarManager { 00013 public: 00014 virtual boost::filesystem::path getAvatarPath(const JID&) const { 00015 return boost::filesystem::path(); 00016 } 00017 00018 virtual ByteArray getAvatar(const JID&) const { 00019 return ByteArray(); 00020 } 00021 }; 00022 }