diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/win32/7zip/7z/CPP/Windows/FileName.h	Sat Mar 03 10:31:27 2012 -0600
     1.3 @@ -0,0 +1,25 @@
     1.4 +// Windows/FileName.h
     1.5 +
     1.6 +#ifndef __WINDOWS_FILENAME_H
     1.7 +#define __WINDOWS_FILENAME_H
     1.8 +
     1.9 +#include "../Common/MyString.h"
    1.10 +
    1.11 +namespace NWindows {
    1.12 +namespace NFile {
    1.13 +namespace NName {
    1.14 +
    1.15 +const TCHAR kDirDelimiter = CHAR_PATH_SEPARATOR;
    1.16 +const TCHAR kAnyStringWildcard = '*';
    1.17 +
    1.18 +void NormalizeDirPathPrefix(CSysString &dirPath); // ensures that it ended with '\\'
    1.19 +#ifndef _UNICODE
    1.20 +void NormalizeDirPathPrefix(UString &dirPath); // ensures that it ended with '\\'
    1.21 +#endif
    1.22 +
    1.23 +void SplitNameToPureNameAndExtension(const UString &fullName,
    1.24 +    UString &pureName, UString &extensionDelimiter, UString &extension);
    1.25 +
    1.26 +}}}
    1.27 +
    1.28 +#endif