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