summaryrefslogtreecommitdiff
path: root/include/tools/string.h
diff options
context:
space:
mode:
authormethodus <methodus@web.de>2012-10-03 22:34:29 +0200
committermethodus <methodus@web.de>2012-10-03 22:34:29 +0200
commit71144aff0555013741b8f1ec320bfd95469179e7 (patch)
tree6e65e109e3bd17e154c9da6567e7c00ba908f2b8 /include/tools/string.h
parentd3be5479f0a3eee76ab8b98b1c6488b3cf5e50a5 (diff)
downloadvdr-plugin-upnp-71144aff0555013741b8f1ec320bfd95469179e7.tar.gz
vdr-plugin-upnp-71144aff0555013741b8f1ec320bfd95469179e7.tar.bz2
Splitted tools.h into several tool headers to avoid clashed for example when only requiring string tools but not ixml tools.
Diffstat (limited to 'include/tools/string.h')
-rw-r--r--include/tools/string.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/include/tools/string.h b/include/tools/string.h
new file mode 100644
index 0000000..0ff5434
--- /dev/null
+++ b/include/tools/string.h
@@ -0,0 +1,29 @@
+/*
+ * string.h
+ *
+ * Created on: 03.10.2012
+ * Author: savop
+ */
+
+#ifndef STRING_H_
+#define STRING_H_
+
+#include <string>
+#include "../tools.h"
+
+using namespace std;
+
+namespace upnp {
+
+namespace tools {
+
+string ToString(long number);
+string StringListToCSV(StringList list);
+string IdListToCSV(IdList list);
+void StringExplode(string str, string separator, StringVector& results);
+
+}
+
+} // namespace upnp
+
+#endif /* STRING_H_ */