~aleteoryx/muditaos

ref: c34a85f49470b224954fbb89342e1df79e6e5362 muditaos/module-apps/application-notes/windows/NotesOptions.hpp -rw-r--r-- 1.1 KiB
c34a85f4 — Lefucjusz [MOS-1037] Fix disappearing 'Call' label in phonebook 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
// Copyright (c) 2017-2023, 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, gui::Text *textWidget);
} // namespace app::notes