// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#include "NoteEditWindowPresenter.hpp"
namespace app::notes
{
NoteEditWindowPresenter::NoteEditWindowPresenter(std::unique_ptr<AbstractNotesRepository> &¬esRepository)
: notesRepository{std::move(notesRepository)}
{}
void NoteEditWindowPresenter::save(const NotesRecord ¬e)
{
notesRepository->save(note, nullptr);
}
} // namespace app::notes