/* * Author: Patrick-Christopher Mattulat * Company: Lynar Studios * E-Mail: webmaster@lynarstudios.com * Created: 2020-11-27 * Changed: 2023-05-15 * * */ #ifndef LS_STD_DAILY_NEWS_AGENCY_HPP #define LS_STD_DAILY_NEWS_AGENCY_HPP #include "NewsAgency.hpp" #include #include #include #include namespace test::event { class DailyNewsAgency : public test::event::NewsAgency, public ls::std::core::interface_type::IListener { public: DailyNewsAgency(); ~DailyNewsAgency() noexcept override; // implementation void listen(const ls::std::core::Class &_info) override; // additional functionality void clear(); [[nodiscard]] ::std::string getNews() const; private: ::std::string news{}; }; } #endif