aboutsummaryrefslogtreecommitdiffstats
path: root/src/base/songloading/songloading_strategy_txt.hpp
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2010-01-29 23:55:14 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2013-01-05 17:17:46 +0100
commit03e56f57309a7e9efad0b52cf46e80605f91e57a (patch)
treebeb3b81242a55581ded6a95f9fd49ef3b2b4a628 /src/base/songloading/songloading_strategy_txt.hpp
parent4e71abc1c94647e600e6db322636707bdb9f5817 (diff)
downloadusdx-03e56f57309a7e9efad0b52cf46e80605f91e57a.tar.gz
usdx-03e56f57309a7e9efad0b52cf46e80605f91e57a.tar.xz
usdx-03e56f57309a7e9efad0b52cf46e80605f91e57a.zip
use trim, trim_left, trim_right from boost::algorithm::string
Diffstat (limited to 'src/base/songloading/songloading_strategy_txt.hpp')
-rw-r--r--src/base/songloading/songloading_strategy_txt.hpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/base/songloading/songloading_strategy_txt.hpp b/src/base/songloading/songloading_strategy_txt.hpp
index 097f35cf..a285042f 100644
--- a/src/base/songloading/songloading_strategy_txt.hpp
+++ b/src/base/songloading/songloading_strategy_txt.hpp
@@ -44,31 +44,6 @@ namespace usdx
*/
std::pair<std::wstring, std::wstring> split_header_field(std::wstring &line);
- /**
- * Removes whitespaces in front of the string.
- */
- std::wstring& ltrim(std::wstring& line);
-
- /**
- * Removes whitespaces behind the string.
- */
- std::wstring& rtrim(std::wstring& line);
-
- /**
- * Removes ''\r'' and ''\n'' in front of the string.
- */
- std::wstring& ltrim_newlines(std::wstring& line);
-
- /**
- * Removes ''\r'' and ''\n'' behind the string.
- */
- std::wstring& rtrim_newlines(std::wstring& line);
-
- /**
- * Removes whitespaces in front of the string and behind it.
- */
- std::wstring& trim(std::wstring& line);
-
bool parse_line(Song* song, File& file, const int line_number);
void parse_newline(Song* song, std::wistringstream& linestream, const int line_number);
void parse_bpm(Song* song, std::wistringstream& linestream, const int line_number);