14 #include "vcardmanager.h"
15 #include "vcardhandler.h"
17 #include "clientbase.h"
45 if( !m_parent || !vch )
48 TrackMap::const_iterator it = m_trackMap.find( jid.
bare() );
49 if( it != m_trackMap.end() )
52 const std::string&
id = m_parent->
getID();
57 Tag *v =
new Tag( iq,
"vCard" );
68 TrackMap::iterator it = m_trackMap.begin();
69 while( it != m_trackMap.end() )
73 if( (*t).second == vch )
74 m_trackMap.erase( t );
80 if( !m_parent || !vch )
83 const std::string&
id = m_parent->
getID();
101 TrackMap::iterator it = m_trackMap.find( stanza->
id() );
102 if( it != m_trackMap.end() )
114 (*it).second->handleVCard( stanza->
from(),
new VCard( v ) );
116 (*it).second->handleVCard( stanza->
from(), 0 );
142 m_trackMap.erase( it );