std::string RemoteControl::GetNoteTitle(const std::string& uri) { Note::Ptr note; note = m_manager.find_by_uri (uri); if (!note) return ""; return note->get_title(); }
void RemoteControl::on_note_deleted(const Note::Ptr & note) { if(note) { NoteDeleted(note->uri(), note->get_title()); } }