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