~aleteoryx/muditaos

ref: 5ca8e9e5cf96ed95f7e62b2d42194dcc50ec8ad8 muditaos/module-apps/application-notes/windows/NotesOptions.hpp -rw-r--r-- 1.2 KiB
5ca8e9e5 — Lefucjusz [MOS-1004] Fix autolock on SMS template call rejection 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#pragma once

#include <application-notes/ApplicationNotes.hpp>
#include <module-db/Interface/NotesRecord.hpp>
#include <model/NotesRepository.hpp>

namespace gui
{
    class Option; // Forward declaration.
    class Text;   // Forward declaration.
} // namespace gui

namespace app::notes
{
    std::list<gui::Option> noteListOptions(ApplicationCommon *application,
                                           const NotesRecord &record,
                                           AbstractNotesRepository &notesRepository);
    std::list<gui::Option> notePreviewOptions(ApplicationCommon *application,
                                              const NotesRecord &record,
                                              AbstractNotesRepository &notesRepository,
                                              gui::Text *textWidget);
    std::list<gui::Option> noteEditOptions(ApplicationCommon *application,
                                           const NotesRecord &record,
                                           gui::Text *textWidget);
} // namespace app::notes