diff options
author | markt <markt> | 2007-12-13 05:48:00 (GMT) |
---|---|---|
committer | markt <markt> | 2007-12-13 05:48:00 (GMT) |
commit | 8b7464046cea5e521ac46811591b0fce0c45aca1 (patch) | |
tree | 09df752f426a249ae15375a626a98436c8727593 /src/FbTk/StringUtil.hh | |
parent | daca07edafc2e75eb9ee04d35fe80759308a8583 (diff) | |
download | fluxbox-8b7464046cea5e521ac46811591b0fce0c45aca1.zip fluxbox-8b7464046cea5e521ac46811591b0fce0c45aca1.tar.bz2 |
added FbTk::CommandRegistry, decentralized command parsing, and made them auto-register
Diffstat (limited to 'src/FbTk/StringUtil.hh')
-rw-r--r-- | src/FbTk/StringUtil.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/FbTk/StringUtil.hh b/src/FbTk/StringUtil.hh index b45d6a2..7f0cf54 100644 --- a/src/FbTk/StringUtil.hh +++ b/src/FbTk/StringUtil.hh | |||
@@ -64,6 +64,9 @@ std::string basename(const std::string &basename); | |||
64 | std::string::size_type removeFirstWhitespace(std::string &str); | 64 | std::string::size_type removeFirstWhitespace(std::string &str); |
65 | std::string::size_type removeTrailingWhitespace(std::string &str); | 65 | std::string::size_type removeTrailingWhitespace(std::string &str); |
66 | 66 | ||
67 | /// removes the first part of a string and returns the two pieces | ||
68 | void getFirstWord(const std::string &in, std::string &first, std::string &rest); | ||
69 | |||
67 | /// Breaks a string into tokens | 70 | /// Breaks a string into tokens |
68 | template <typename Container> | 71 | template <typename Container> |
69 | static void | 72 | static void |