summaryrefslogtreecommitdiffstats
path: root/other-licenses/7zstub/src/Windows/PropVariantConversions.h
diff options
context:
space:
mode:
Diffstat (limited to 'other-licenses/7zstub/src/Windows/PropVariantConversions.h')
-rw-r--r--other-licenses/7zstub/src/Windows/PropVariantConversions.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/other-licenses/7zstub/src/Windows/PropVariantConversions.h b/other-licenses/7zstub/src/Windows/PropVariantConversions.h
new file mode 100644
index 000000000..ea7e72417
--- /dev/null
+++ b/other-licenses/7zstub/src/Windows/PropVariantConversions.h
@@ -0,0 +1,14 @@
+// Windows/PropVariantConversions.h
+
+#ifndef __PROPVARIANTCONVERSIONS_H
+#define __PROPVARIANTCONVERSIONS_H
+
+#include "Common/Types.h"
+#include "Common/String.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