bool test (Local::PresentityPtr presentity) { if (presentity->get_uri () == uri) { presentity->set_status (status); } return true; }
bool operator() (Ekiga::PresentityPtr pres_) { Local::PresentityPtr presentity = boost::dynamic_pointer_cast<Local::Presentity> (pres_); if (presentity && presentity->get_uri () == uri) { presentity->set_status (status); } return true; }