diff options
author | rathnor <rathnor> | 2003-06-12 15:14:03 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-06-12 15:14:03 (GMT) |
commit | cebc2540498ed959e7512514c0f4a12c1a2273cd (patch) | |
tree | c7ece50a19f9387c154ecd40e877eab25c7204aa /src/FbTk/StringUtil.hh | |
parent | c314d05553b6105b983267a97d14429681d90ae2 (diff) | |
download | fluxbox-cebc2540498ed959e7512514c0f4a12c1a2273cd.zip fluxbox-cebc2540498ed959e7512514c0f4a12c1a2273cd.tar.bz2 |
add support for nesting in getStringBetween
Diffstat (limited to 'src/FbTk/StringUtil.hh')
-rw-r--r-- | src/FbTk/StringUtil.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/StringUtil.hh b/src/FbTk/StringUtil.hh index c1f568e..b193d66 100644 --- a/src/FbTk/StringUtil.hh +++ b/src/FbTk/StringUtil.hh | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | //$Id: StringUtil.hh,v 1.1 2003/04/26 18:12:46 fluxgen Exp $ | 22 | //$Id: StringUtil.hh,v 1.2 2003/06/12 15:14:03 rathnor Exp $ |
23 | 23 | ||
24 | #ifndef FBTK_STRINGUTIL_HH | 24 | #ifndef FBTK_STRINGUTIL_HH |
25 | #define FBTK_STRINGUTIL_HH | 25 | #define FBTK_STRINGUTIL_HH |
@@ -41,7 +41,7 @@ std::string expandFilename(const std::string &filename); | |||
41 | /// returns string between character first and last | 41 | /// returns string between character first and last |
42 | int getStringBetween(std::string& out, const char *instr, | 42 | int getStringBetween(std::string& out, const char *instr, |
43 | char first, char last, | 43 | char first, char last, |
44 | const char *ok_chars=" \t\n"); | 44 | const char *ok_chars=" \t\n", bool allow_nesting = false); |
45 | 45 | ||
46 | /// converts a string to lover case | 46 | /// converts a string to lover case |
47 | void toLower(char * const conv); | 47 | void toLower(char * const conv); |