NewLine.hpp 616 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-08-18
  6. * Changed: 2023-02-06
  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. namespace ls::std::io
  14. {
  15. class LS_STD_DYNAMIC_GOAL NewLine
  16. {
  17. public:
  18. NewLine();
  19. ~NewLine();
  20. [[nodiscard]] static ::std::string get();
  21. [[nodiscard]] static ::std::string getUnixNewLine();
  22. [[nodiscard]] static ::std::string getWindowsNewLine();
  23. };
  24. }
  25. #endif