bool RemoteControl::SetNoteContentsXml(const std::string& uri, const std::string& xml_contents) { Note::Ptr note; note = m_manager.find_by_uri(uri); if(!note) { return false; } note->set_xml_content(xml_contents); return true; }