misc/libphysfs/lzma/CPP/Windows/PropVariantConversions.h
author nemo
Tue, 17 Apr 2018 15:21:52 -0400
changeset 13329 e8801220c13f
parent 12213 bb5522e88ab2
permissions -rw-r--r--
minor simplification of conditions for not spawning a visual gear - also allows lua to spawn clouds critically or non-critically. We probably shouldn't even exempt clouds from this, and just spawn them once synced, but, eh, probably isn't a significant hit since sheepluva made the motion more efficient.

// 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