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