FileName.h 624 B

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