Files
MuditaOS/module-apps/application-notes/data/NoteSwitchData.hpp
Piotr Tanski c8c4f82080 [EGD-4487] Application notes implemented. (#1094)
* [EGD-4487] Implementation of notes application.
2020-11-30 13:48:05 +01:00

23 lines
519 B
C++

// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#pragma once
#include <module-gui/gui/SwitchData.hpp>
#include <module-db/Interface/NotesRecord.hpp>
namespace app::notes
{
class NoteSwitchData : public gui::SwitchData
{
public:
explicit NoteSwitchData(NotesRecord record);
const NotesRecord &getRecord() const noexcept;
private:
NotesRecord record;
};
} // namespace app::notes