NewLine.hpp 673 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-08-18
  6. * Changed: 2024-09-09
  7. *
  8. * */
  9. #ifndef LS_STD_NEW_LINE_HPP
  10. #define LS_STD_NEW_LINE_HPP
  11. #include <ls-std/os/dynamic-goal.hpp>
  12. #include <string>
  13. /*
  14. * @doc: class(name: 'NewLine', package: 'io')
  15. * */
  16. namespace ls::std::io
  17. {
  18. class LS_STD_DYNAMIC_GOAL NewLine
  19. {
  20. public:
  21. NewLine();
  22. ~NewLine();
  23. [[nodiscard]] static ::std::string get();
  24. [[nodiscard]] static ::std::string getUnixNewLine();
  25. [[nodiscard]] static ::std::string getWindowsNewLine();
  26. };
  27. }
  28. #endif