Mercurial > vba-linux
annotate src/win32/7zip/7z/CPP/Windows/FileName.h @ 5:8fe0c57e53d2
concentrating on lua first
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:39:40 -0600 |
parents | f9f4f1b99eed |
children |
rev | line source |
---|---|
rlm@1 | 1 // Windows/FileName.h |
rlm@1 | 2 |
rlm@1 | 3 #ifndef __WINDOWS_FILENAME_H |
rlm@1 | 4 #define __WINDOWS_FILENAME_H |
rlm@1 | 5 |
rlm@1 | 6 #include "../Common/MyString.h" |
rlm@1 | 7 |
rlm@1 | 8 namespace NWindows { |
rlm@1 | 9 namespace NFile { |
rlm@1 | 10 namespace NName { |
rlm@1 | 11 |
rlm@1 | 12 const TCHAR kDirDelimiter = CHAR_PATH_SEPARATOR; |
rlm@1 | 13 const TCHAR kAnyStringWildcard = '*'; |
rlm@1 | 14 |
rlm@1 | 15 void NormalizeDirPathPrefix(CSysString &dirPath); // ensures that it ended with '\\' |
rlm@1 | 16 #ifndef _UNICODE |
rlm@1 | 17 void NormalizeDirPathPrefix(UString &dirPath); // ensures that it ended with '\\' |
rlm@1 | 18 #endif |
rlm@1 | 19 |
rlm@1 | 20 void SplitNameToPureNameAndExtension(const UString &fullName, |
rlm@1 | 21 UString &pureName, UString &extensionDelimiter, UString &extension); |
rlm@1 | 22 |
rlm@1 | 23 }}} |
rlm@1 | 24 |
rlm@1 | 25 #endif |