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