Upload 2.0.2
[physicsfs] / lzma / CPP / Windows / FileName.h
1 // Windows/FileName.h
2
3 #ifndef __WINDOWS_FILENAME_H
4 #define __WINDOWS_FILENAME_H
5
6 #include "../Common/MyString.h"
7
8 namespace NWindows {
9 namespace NFile {
10 namespace NName {
11
12 const TCHAR kDirDelimiter = CHAR_PATH_SEPARATOR;
13 const TCHAR kAnyStringWildcard = '*';
14
15 void NormalizeDirPathPrefix(CSysString &dirPath); // ensures that it ended with '\\'
16 #ifndef _UNICODE
17 void NormalizeDirPathPrefix(UString &dirPath); // ensures that it ended with '\\'
18 #endif
19
20 #ifdef _WIN32
21 void SplitNameToPureNameAndExtension(const UString &fullName, 
22     UString &pureName, UString &extensionDelimiter, UString &extension); 
23 #endif
24
25 }}}
26
27 #endif