123456789101112131415161718192021222324252627282930313233343536 |
- /*
- * Author: Patrick-Christopher Mattulat
- * Company: Lynar Studios
- * E-Mail: webmaster@lynarstudios.com
- * Created: 2020-08-18
- * Changed: 2024-09-13
- *
- * */
- #ifndef LS_STD_NEW_LINE_HPP
- #define LS_STD_NEW_LINE_HPP
- #include <ls-std/os/dynamic-goal.hpp>
- #include <string>
- /*
- * @doc: class(name: 'NewLine', package: 'io')
- * @doc: io.NewLine.description('This class can be used as new line based on the preferred operating system. Currently, Windows and Unix-like operating systems are supported.')
- * */
- namespace ls::std::io
- {
- class LS_STD_DYNAMIC_GOAL NewLine
- {
- public:
- NewLine();
- ~NewLine();
- [[nodiscard]] static ::std::string get();
- [[nodiscard]] static ::std::string getUnixNewLine();
- [[nodiscard]] static ::std::string getWindowsNewLine();
- };
- }
- #endif
|