Files
MuditaOS/module-apps/application-notes/data/NotesFoundData.hpp
Adam Dobrowolski 56344b0579 [EGD-6680] Notes crash fix on search
Changed query for all matches to query with limit
2021-05-05 18:13:35 +02:00

24 lines
549 B
C++

// 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 <string>
#include <module-db/Interface/NotesRecord.hpp>
#include <module-gui/gui/SwitchData.hpp>
namespace app::notes
{
class NotesFoundData : public gui::SwitchData
{
public:
explicit NotesFoundData(std::string searchText);
const std::string &getSearchText() const noexcept;
private:
std::string searchText;
};
} // namespace app::notes