|
@@ -10,14 +10,12 @@
|
|
|
#include "DailyNewsAgency.hpp"
|
|
|
#include <ls-std/ls-std-event.hpp>
|
|
|
|
|
|
-// TODO: rename namespace
|
|
|
-
|
|
|
-ls_std_event_test::DailyNewsAgency::DailyNewsAgency() : ls_std_event_test::NewsAgency("DailyNewsAgency")
|
|
|
+test::event::DailyNewsAgency::DailyNewsAgency() : test::event::NewsAgency("DailyNewsAgency")
|
|
|
{}
|
|
|
|
|
|
-ls_std_event_test::DailyNewsAgency::~DailyNewsAgency() = default;
|
|
|
+test::event::DailyNewsAgency::~DailyNewsAgency() = default;
|
|
|
|
|
|
-void ls_std_event_test::DailyNewsAgency::listen(const ls::std::core::Class &_info)
|
|
|
+void test::event::DailyNewsAgency::listen(const ls::std::core::Class &_info)
|
|
|
{
|
|
|
ls::std::event::Event event = dynamic_cast<const ls::std::event::Event &>(_info);
|
|
|
|
|
@@ -27,12 +25,12 @@ void ls_std_event_test::DailyNewsAgency::listen(const ls::std::core::Class &_inf
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-void ls_std_event_test::DailyNewsAgency::clear()
|
|
|
+void test::event::DailyNewsAgency::clear()
|
|
|
{
|
|
|
this->news.clear();
|
|
|
}
|
|
|
|
|
|
-::std::string ls_std_event_test::DailyNewsAgency::getNews()
|
|
|
+::std::string test::event::DailyNewsAgency::getNews()
|
|
|
{
|
|
|
return this->news;
|
|
|
}
|