Esempio n. 1
0
 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();
 }
Esempio n. 2
0
void RemoteControl::on_note_deleted(const Note::Ptr & note)
{
  if(note) {
    NoteDeleted(note->uri(), note->get_title());
  }
}