예제 #1
0
파일: local-heap.cpp 프로젝트: UIKit0/ekiga
 bool operator() (Ekiga::PresentityPtr pres)
 {
   Local::PresentityPtr presentity = boost::dynamic_pointer_cast<Local::Presentity> (pres);
   if (presentity)
     presentity->rename_group (old_name, new_name);
   return true;
 }
예제 #2
0
  bool test (Local::PresentityPtr presentity)
  {
    if (presentity->get_uri () == uri) {

      presentity->set_status (status);
    }

    return true;
  }
예제 #3
0
  bool test (Local::PresentityPtr presentity)
  {
    if (presentity->get_uri () == uri) {

      presentity->set_presence (presence);
    }

    return true;
  }
예제 #4
0
파일: local-heap.cpp 프로젝트: UIKit0/ekiga
  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;
  }
예제 #5
0
파일: local-heap.cpp 프로젝트: UIKit0/ekiga
  bool operator() (Ekiga::PresentityPtr pres)
  {
    Local::PresentityPtr presentity = boost::dynamic_pointer_cast<Local::Presentity> (pres);
    if (presentity && presentity->get_uri () == uri) {

      found = true;
    }

    return !found;
  }
예제 #6
0
파일: local-heap.cpp 프로젝트: UIKit0/ekiga
  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;
  }
예제 #7
0
  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;
  }
예제 #8
0
  bool test (Local::PresentityPtr presentity)
  {
    if (presentity->get_uri () == uri) {

      found = true;
    }

    return !found;
  }
예제 #9
0
 bool rename_group (Local::PresentityPtr presentity)
 {
   presentity->rename_group (old_name, new_name);
   return true;
 }