misc/libphysfs/lzma/CPP/Windows/FileName.h
changeset 13881 99b265e0d1d0
parent 13880 5f819b90d479
child 13882 b172a5d40eee
equal deleted inserted replaced
13880:5f819b90d479 13881:99b265e0d1d0
     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