/* * Copyright (c) 2010 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ #include #include namespace Swift { DiscoInfo::ref DummyEntityCapsProvider::getCaps(const JID& jid) const { std::map::const_iterator i = caps.find(jid); if (i != caps.end()) { return i->second; } return DiscoInfo::ref(); } }