]> git.lyx.org Git - lyx.git/blobdiff - src/support/lstrings.h
split LyXText::rowlist_ into individual Paragraph::rows_ chunks
[lyx.git] / src / support / lstrings.h
index 71ab15cfbad7e265f2cb33015645640a14955c10..254337d37672a881a350770fec34fa963e2f9315 100644 (file)
@@ -20,6 +20,9 @@
 
 #include "LString.h"
 
+namespace lyx {
+namespace support {
+
 ///
 int compare_no_case(string const & s, string const & s2);
 
@@ -84,18 +87,12 @@ string const lowercase(string const &);
 ///
 string const uppercase(string const &);
 
-/// Does the string start with this prefix?
-bool prefixIs(string const &, char const *);
-
 /// Does the string start with this prefix?
 bool prefixIs(string const &, string const &);
 
 /// Does the string end with this char?
 bool suffixIs(string const &, char);
 
-/// Does the string end with this suffix?
-bool suffixIs(string const &, char const *);
-
 /// Does the string end with this suffix?
 bool suffixIs(string const &, string const &);
 
@@ -152,10 +149,6 @@ bool regexMatch(string const & a, string const & pattern);
 /// Substitute all \a oldchar with \a newchar
 string const subst(string const & a, char oldchar, char newchar);
 
-/// Substitutes all instances of \a oldstr with \a newstr
-string const subst(string const & a,
-            char const * oldstr, string const & newstr);
-
 /// substitutes all instances of \a oldstr with \a newstr
 string const subst(string const & a,
                   string const & oldstr, string const & newstr);
@@ -220,4 +213,7 @@ string bformat(string const & fmt, string const & arg1, string const & arg2,
 string bformat(string const & fmt, string const & arg1, string const & arg2,
                string const & arg3, string const & arg4);
 
+} // namespace support
+} // namespace lyx
+
 #endif