mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-01-01 02:19:00 -05:00
17 lines
482 B
C++
17 lines
482 B
C++
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#include "NoteSwitchData.hpp"
|
|
|
|
namespace app::notes
|
|
{
|
|
NoteSwitchData::NoteSwitchData(std::shared_ptr<NotesRecord> record)
|
|
: gui::SwitchData(std::string{"NotePreview"}), record{std::move(record)}
|
|
{}
|
|
|
|
std::shared_ptr<NotesRecord> NoteSwitchData::getRecord() noexcept
|
|
{
|
|
return record;
|
|
}
|
|
} // namespace app::notes
|