12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- #ifndef LS_STD_DAILY_NEWS_AGENCY_HPP
- #define LS_STD_DAILY_NEWS_AGENCY_HPP
- #include <string>
- #include <memory>
- #include <map>
- #include <ls_std/ls_std_core.hpp>
- #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;
-
- void listen(const ls::std::core::Class &_info) override;
-
- void clear();
- ::std::string getNews();
- private:
- ::std::string news{};
- };
- }
- #endif
|