FilePathSeparator.hpp 647 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-08-15
  6. * Changed: 2023-02-06
  7. *
  8. * */
  9. #ifndef FILE_PATH_SEPARATOR_HPP
  10. #define FILE_PATH_SEPARATOR_HPP
  11. #include <ls-std/os/dynamic-goal.hpp>
  12. #include <string>
  13. namespace ls::std::io
  14. {
  15. class LS_STD_DYNAMIC_GOAL FilePathSeparator
  16. {
  17. public:
  18. FilePathSeparator();
  19. ~FilePathSeparator();
  20. [[nodiscard]] static char get();
  21. [[nodiscard]] static char getUnixFilePathSeparator();
  22. [[nodiscard]] static char getWindowsFilePathSeparator();
  23. };
  24. }
  25. #endif