123456789101112131415161718192021222324 |
- #include "SeriousNewsEvent.hpp"
- using ls::std::core::type::event_parameter;
- using ls::std::event::Event;
- using std::make_pair;
- using std::string;
- using test::event::SeriousNewsEvent;
- SeriousNewsEvent::SeriousNewsEvent(const string &_news) : Event("SeriousNewsEvent")
- {
- event_parameter newsParameter = make_pair("news", _news);
- this->addParameter(newsParameter);
- }
- SeriousNewsEvent::~SeriousNewsEvent() noexcept = default;
|