SeriousNewsEvent.cpp 634 B

123456789101112131415161718192021222324
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-11-27
  6. * Changed: 2023-02-23
  7. *
  8. * */
  9. #include "SeriousNewsEvent.hpp"
  10. using ls::std::core::type::event_parameter;
  11. using ls::std::event::Event;
  12. using std::make_pair;
  13. using std::string;
  14. using test::event::SeriousNewsEvent;
  15. SeriousNewsEvent::SeriousNewsEvent(const string &_news) : Event("SeriousNewsEvent")
  16. {
  17. event_parameter newsParameter = make_pair("news", _news);
  18. this->addParameter(newsParameter);
  19. }
  20. SeriousNewsEvent::~SeriousNewsEvent() noexcept = default;