/* * 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 #include /* * @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