summaryrefslogtreecommitdiff
path: root/include/tools/uuid.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/uuid.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/uuid.h')
-rw-r--r--include/tools/uuid.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/tools/uuid.h b/include/tools/uuid.h
new file mode 100644
index 0000000..0f0d9e6
--- /dev/null
+++ b/include/tools/uuid.h
@@ -0,0 +1,26 @@
+/*
+ * uuid.h
+ *
+ * Created on: 03.10.2012
+ * Author: savop
+ */
+
+#ifndef UUID_H_
+#define UUID_H_
+
+#include <string>
+
+using namespace std;
+
+namespace upnp {
+
+namespace tools {
+
+ string GenerateUUIDFromURL(string url);
+ string GenerateUUIDRandomly();
+
+}
+
+}
+
+#endif /* UUID_H_ */