diff options
Diffstat (limited to 'src/libs/3rdparty/7zip/unix/CPP/Windows/FileName.h')
-rw-r--r-- | src/libs/3rdparty/7zip/unix/CPP/Windows/FileName.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/libs/3rdparty/7zip/unix/CPP/Windows/FileName.h b/src/libs/3rdparty/7zip/unix/CPP/Windows/FileName.h new file mode 100644 index 000000000..19c585fc9 --- /dev/null +++ b/src/libs/3rdparty/7zip/unix/CPP/Windows/FileName.h @@ -0,0 +1,29 @@ +// Windows/FileName.h + +#ifndef __WINDOWS_FILENAME_H +#define __WINDOWS_FILENAME_H + +#include "../../C/7zTypes.h" + +#include "../Common/MyString.h" + +namespace NWindows { +namespace NFile { +namespace NName { + +const TCHAR kDirDelimiter = CHAR_PATH_SEPARATOR; +const TCHAR kAnyStringWildcard = '*'; + +void NormalizeDirPathPrefix(CSysString &dirPath); // ensures that it ended with '\\' +#ifndef _UNICODE +void NormalizeDirPathPrefix(UString &dirPath); // ensures that it ended with '\\' +#endif + +bool IsAbsolutePath(const wchar_t *s); + +bool GetFullPath(CFSTR dirPrefix, CFSTR path, FString &fullPath); +// FIXME bool GetFullPath(CFSTR path, FString &fullPath); + +}}} + +#endif |