SeriousNewsEvent.cpp 550 B

123456789101112131415161718
  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-05
  7. *
  8. * */
  9. #include "SeriousNewsEvent.hpp"
  10. test::event::SeriousNewsEvent::SeriousNewsEvent(const ::std::string &_news) : ls::std::event::Event("SeriousNewsEvent")
  11. {
  12. ls::std::core::type::event_parameter newsParameter = ::std::make_pair("news", _news);
  13. this->addParameter(newsParameter);
  14. }
  15. test::event::SeriousNewsEvent::~SeriousNewsEvent() = default;