summaryrefslogtreecommitdiff
path: root/tools.h
diff options
context:
space:
mode:
authorSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-03 16:03:30 +0000
committerSascha Volkenandt <sascha (at) akv-soft (dot) de>2007-01-03 16:03:30 +0000
commit9903d559f0f7b1bad0946e5791a457ffe33a0df5 (patch)
tree59ec4544c25e841f10fdfb9fb12313ec5ade4408 /tools.h
parent63cf033a92dd903e14cbf59570d1044b87be6d58 (diff)
downloadvdr-plugin-live-9903d559f0f7b1bad0946e5791a457ffe33a0df5.tar.gz
vdr-plugin-live-9903d559f0f7b1bad0946e5791a457ffe33a0df5.tar.bz2
- added function for datetime formatting
Diffstat (limited to 'tools.h')
-rw-r--r--tools.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools.h b/tools.h
new file mode 100644
index 0000000..4a01ca8
--- /dev/null
+++ b/tools.h
@@ -0,0 +1,13 @@
+#ifndef VDR_LIVE_TOOLS_H
+#define VDR_LIVE_TOOLS_H
+
+#include <ctime>
+#include <string>
+
+namespace vdrlive {
+
+std::string FormatDateTime( char const* format, time_t time );
+
+} // namespace vdrlive
+
+#endif // VDR_LIVE_TOOLS_H