view src/win32/7zip/7z/CPP/Windows/FileName.h @ 1:f9f4f1b99eed

importing src directory
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:31:27 -0600
parents
children
line wrap: on
line source
1 // Windows/FileName.h
3 #ifndef __WINDOWS_FILENAME_H
4 #define __WINDOWS_FILENAME_H
6 #include "../Common/MyString.h"
8 namespace NWindows {
9 namespace NFile {
10 namespace NName {
12 const TCHAR kDirDelimiter = CHAR_PATH_SEPARATOR;
13 const TCHAR kAnyStringWildcard = '*';
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
20 void SplitNameToPureNameAndExtension(const UString &fullName,
21 UString &pureName, UString &extensionDelimiter, UString &extension);
23 }}}
25 #endif