]> git.lyx.org Git - features.git/blobdiff - src/support/lstrings.h
This is the merging of the GUI API cleanup branch that was developed in svn+ssh:...
[features.git] / src / support / lstrings.h
index 0ef0806edd97c22c2d0289457d6425b24864b1c9..2b03e42b784173f1d0e14365a8ec42fbf0396ec6 100644 (file)
@@ -180,6 +180,12 @@ std::string const getStringFromVector(std::vector<std::string> const & vec,
 /// found, else -1. The last item in \p str must be "".
 int findToken(char const * const str[], std::string const & search_token);
 
+/// Convert internal line endings to line endings as expected by the OS
+std::string const externalLineEnding(std::string const & str);
+
+/// Convert line endings in any formnat to internal line endings
+std::string const internalLineEnding(std::string const & str);
+
 
 #ifdef I_AM_NOT_AFRAID_OF_HEADER_LIBRARIES