Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
  bool test (Local::PresentityPtr presentity)
  {
    if (presentity->get_uri () == uri) {

      presentity->set_status (status);
    }

    return true;
  }
Exemplo n.º 3
0
  bool test (Local::PresentityPtr presentity)
  {
    if (presentity->get_uri () == uri) {

      presentity->set_presence (presence);
    }

    return true;
  }
Exemplo n.º 4
0
  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;
  }
Exemplo n.º 5
0
  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;
  }
Exemplo n.º 6
0
  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;
  }
Exemplo n.º 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;
  }
Exemplo n.º 8
0
  bool test (Local::PresentityPtr presentity)
  {
    if (presentity->get_uri () == uri) {

      found = true;
    }

    return !found;
  }
Exemplo n.º 9
0
 bool rename_group (Local::PresentityPtr presentity)
 {
   presentity->rename_group (old_name, new_name);
   return true;
 }