This commit is contained in:
Igor Pavlov
2014-11-23 00:00:00 +00:00
committed by Kornel Lesiński
parent 83f8ddcc5b
commit f08f4dcc3c
1158 changed files with 76451 additions and 35082 deletions

12
CPP/7zip/UI/Common/ExtractingFilePath.h Executable file → Normal file
View File

@@ -3,11 +3,19 @@
#ifndef __EXTRACTING_FILE_PATH_H
#define __EXTRACTING_FILE_PATH_H
#include "Common/MyString.h"
#include "../../../Common/MyString.h"
UString MakePathNameFromParts(const UStringVector &parts);
void MakeCorrectPath(UStringVector &pathParts);
/* for WIN32:
if (isRoot == true), and pathParts[0] contains path like "c:name",
it thinks that "c:" is drive prefix (it's not ":name alt stream) and
the function changes part to c_name */
void MakeCorrectPath(bool isPathFromRoot, UStringVector &pathParts, bool replaceAltStreamColon);
UString GetCorrectFsPath(const UString &path);
UString GetCorrectFullFsPath(const UString &path);
void Correct_IfEmptyLastPart(UStringVector &parts);
#endif