// 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 #include #include namespace app::notes { class NotesFoundData : public gui::SwitchData { public: NotesFoundData(std::string searchText, std::vector notes); const std::string &getSearchText() const noexcept; const std::vector &getFoundRecords() const noexcept; private: std::string searchText; std::vector recordsFound; }; } // namespace app::notes