diff foosdk/sdk/foobar2000/helpers/filetimetools.cpp @ 1:20d02a178406 default tip

*: check in everything else yay
author Paper <paper@tflc.us>
date Mon, 05 Jan 2026 02:15:46 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/foosdk/sdk/foobar2000/helpers/filetimetools.cpp	Mon Jan 05 02:15:46 2026 -0500
@@ -0,0 +1,28 @@
+#include "StdAfx.h"
+
+#include "filetimetools.h"
+
+#include <pfc/filetimetools.h>
+
+// Stub - functionality moved to PFC
+
+namespace foobar2000_io {
+	t_filetimestamp filetimestamp_from_string(const char* date) {
+		return pfc::filetimestamp_from_string( date );
+	}
+	t_filetimestamp filetimestamp_from_string_utc(const char* date) {
+		return pfc::filetimestamp_from_string_utc( date );
+	}
+
+	pfc::string_formatter format_filetimestamp(t_filetimestamp p_timestamp) {
+		return pfc::format_filetimestamp( p_timestamp );
+	}
+
+	pfc::string_formatter format_filetimestamp_utc(t_filetimestamp p_timestamp) {
+		return pfc::format_filetimestamp_utc( p_timestamp );
+	}
+
+	pfc::string_formatter format_filetimestamp_ms(t_filetimestamp p_timestamp) {
+		return pfc::format_filetimestamp_ms( p_timestamp );
+	}
+}