EventParameter.hpp 700 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2024-05-30
  6. * Changed: 2024-05-31
  7. *
  8. * */
  9. #ifndef EVENT_PARAMETER_HPP
  10. #define EVENT_PARAMETER_HPP // TODO: all preprocessors should have LS_STD_prefix
  11. #include <list>
  12. #include <ls-std/core/definition.hpp>
  13. #include <string>
  14. namespace ls::std::event
  15. {
  16. ls_std_class EventParameter
  17. {
  18. public:
  19. EventParameter();
  20. ~EventParameter();
  21. void addParameter(const ::std::string &_parameter);
  22. [[nodiscard]] ::std::list<::std::string> get() const;
  23. private:
  24. ::std::list<::std::string> parameters{};
  25. };
  26. }
  27. #endif