rlm@1: // Windows/FileName.h rlm@1: rlm@1: #ifndef __WINDOWS_FILENAME_H rlm@1: #define __WINDOWS_FILENAME_H rlm@1: rlm@1: #include "../Common/MyString.h" rlm@1: rlm@1: namespace NWindows { rlm@1: namespace NFile { rlm@1: namespace NName { rlm@1: rlm@1: const TCHAR kDirDelimiter = CHAR_PATH_SEPARATOR; rlm@1: const TCHAR kAnyStringWildcard = '*'; rlm@1: rlm@1: void NormalizeDirPathPrefix(CSysString &dirPath); // ensures that it ended with '\\' rlm@1: #ifndef _UNICODE rlm@1: void NormalizeDirPathPrefix(UString &dirPath); // ensures that it ended with '\\' rlm@1: #endif rlm@1: rlm@1: void SplitNameToPureNameAndExtension(const UString &fullName, rlm@1: UString &pureName, UString &extensionDelimiter, UString &extension); rlm@1: rlm@1: }}} rlm@1: rlm@1: #endif