bool test (Local::PresentityPtr presentity) { const std::set<std::string> presentity_groups = presentity->get_groups (); groups.insert (presentity_groups.begin (), presentity_groups.end ()); return true; }
bool operator() (Ekiga::PresentityPtr pres) { Local::PresentityPtr presentity = boost::dynamic_pointer_cast<Local::Presentity> (pres); if (pres) { const std::set<std::string> presentity_groups = presentity->get_groups (); groups.insert (presentity_groups.begin (), presentity_groups.end ()); } return true; }