]> git.tdb.fi Git - libs/core.git/blobdiff - source/time/unix/rawtime_platform.h
Move most platform-specific code into overlay directories
[libs/core.git] / source / time / unix / rawtime_platform.h
diff --git a/source/time/unix/rawtime_platform.h b/source/time/unix/rawtime_platform.h
new file mode 100644 (file)
index 0000000..8f9f633
--- /dev/null
@@ -0,0 +1,17 @@
+#ifndef MSP_TIME_RAWTIME_PLATFORM_H_
+#define MSP_TIME_RAWTIME_PLATFORM_H_
+
+#include <sys/time.h>
+#include "rawtime.h"
+
+namespace Msp {
+namespace Time {
+
+timeval rawtime_to_timeval(RawTime);
+timespec rawtime_to_timespec(RawTime);
+RawTime timeval_to_rawtime(const timeval &);
+
+} // namespace Time
+} // namespace Msp
+
+#endif