latest SDK

This commit is contained in:
2021-12-14 00:28:25 -07:00
commit 68b10d413b
492 changed files with 80542 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
#pragma once
namespace foobar2000_io {
t_filetimestamp filetimestamp_from_string(const char * date);
//! Warning: this formats according to system timezone settings, created strings should be used for display only, never for storage.
class format_filetimestamp {
public:
format_filetimestamp(t_filetimestamp p_timestamp);
operator const char*() const {return m_buffer;}
const char * get_ptr() const {return m_buffer;}
private:
pfc::string_fixed_t<32> m_buffer;
};
class format_filetimestamp_utc {
public:
format_filetimestamp_utc(t_filetimestamp p_timestamp);
operator const char*() const {return m_buffer;}
const char * get_ptr() const {return m_buffer;}
private:
pfc::string_fixed_t<32> m_buffer;
};
}