aboutsummaryrefslogtreecommitdiffstats
path: root/src/base/songloading/songloading_strategy_txt.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/songloading/songloading_strategy_txt.hpp')
-rw-r--r--src/base/songloading/songloading_strategy_txt.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/base/songloading/songloading_strategy_txt.hpp b/src/base/songloading/songloading_strategy_txt.hpp
index 0330772b..0f9fd23d 100644
--- a/src/base/songloading/songloading_strategy_txt.hpp
+++ b/src/base/songloading/songloading_strategy_txt.hpp
@@ -55,6 +55,16 @@ namespace usdx
std::string& rtrim(std::string& line);
/**
+ * Removes ''\r'' and ''\n'' in front of the string.
+ */
+ std::string& ltrim_newlines(std::string& line);
+
+ /**
+ * Removes ''\r'' and ''\n'' behind the string.
+ */
+ std::string& rtrim_newlines(std::string& line);
+
+ /**
* Removes whitespaces in front of the string and behind it.
*/
std::string& trim(std::string& line);