Upload 2.0.2
[physicsfs] / lzma / CPP / Windows / PropVariantConversions.h
diff --git a/lzma/CPP/Windows/PropVariantConversions.h b/lzma/CPP/Windows/PropVariantConversions.h
new file mode 100644 (file)
index 0000000..68ad961
--- /dev/null
@@ -0,0 +1,14 @@
+// Windows/PropVariantConversions.h
+
+#ifndef __PROPVARIANTCONVERSIONS_H
+#define __PROPVARIANTCONVERSIONS_H
+
+#include "Common/Types.h"
+#include "Common/MyString.h"
+
+bool ConvertFileTimeToString(const FILETIME &ft, char *s, bool includeTime = true, bool includeSeconds = true);
+UString ConvertFileTimeToString(const FILETIME &ft, bool includeTime = true, bool includeSeconds = true);
+UString ConvertPropVariantToString(const PROPVARIANT &propVariant);
+UInt64 ConvertPropVariantToUInt64(const PROPVARIANT &propVariant);
+
+#endif