Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pavlov <ipavlov@users.sourceforge.net>2009-06-02 04:00:00 +0400
committerKornel LesiƄski <kornel@geekhood.net>2016-05-28 02:15:59 +0300
commit829409452d85cd6dd9dfc9151f109d6e13a2bb1c (patch)
treee0acaea47044d167f35fa197584dee1bde41c329 /CPP/7zip/UI/FileManager/PanelSplitFile.cpp
parent8874e4fbc9faabdcff719b9b2ac8ebad4f282bbe (diff)
9.04 beta
Diffstat (limited to 'CPP/7zip/UI/FileManager/PanelSplitFile.cpp')
-rwxr-xr-xCPP/7zip/UI/FileManager/PanelSplitFile.cpp25
1 files changed, 10 insertions, 15 deletions
diff --git a/CPP/7zip/UI/FileManager/PanelSplitFile.cpp b/CPP/7zip/UI/FileManager/PanelSplitFile.cpp
index 36146d7a..d1531957 100755
--- a/CPP/7zip/UI/FileManager/PanelSplitFile.cpp
+++ b/CPP/7zip/UI/FileManager/PanelSplitFile.cpp
@@ -2,30 +2,25 @@
#include "StdAfx.h"
-#include "resource.h"
-
-extern "C"
-{
- #include "../../../../C/Alloc.h"
-}
+#include "../../../../C/Alloc.h"
-#include "Common/Types.h"
#include "Common/IntToString.h"
-// #include "Windows/COM.h"
#include "Windows/FileIO.h"
#include "Windows/FileFind.h"
#include "Windows/Thread.h"
-#include "ProgressDialog2.h"
-#include "SplitDialog.h"
-#include "CopyDialog.h"
#include "../GUI/ExtractRes.h"
-#include "SplitUtils.h"
+#include "resource.h"
+
#include "App.h"
+#include "CopyDialog.h"
#include "FormatUtils.h"
#include "LangUtils.h"
+#include "ProgressDialog2.h"
+#include "SplitDialog.h"
+#include "SplitUtils.h"
using namespace NWindows;
@@ -227,7 +222,7 @@ void CApp::Split()
return;
NFile::NFind::CFileInfoW fileInfo;
- if (!NFile::NFind::FindFile(srcPath + itemName, fileInfo))
+ if (!fileInfo.Find(srcPath + itemName))
{
srcPanel.MessageBoxMyError(L"Can not find file");
return;
@@ -422,7 +417,7 @@ void CApp::Combine()
for (;;)
{
NFile::NFind::CFileInfoW fileInfo;
- if (!NFile::NFind::FindFile(srcPath + nextName, fileInfo) || fileInfo.IsDir())
+ if (!fileInfo.Find(srcPath + nextName) || fileInfo.IsDir())
break;
combiner.Names.Add(nextName);
combiner.TotalSize += fileInfo.Size;
@@ -490,7 +485,7 @@ void CApp::Combine()
NFile::NFind::CFileInfoW fileInfo;
UString destFilePath = path + outName;
combiner.OutputPath = destFilePath;
- if (NFile::NFind::FindFile(destFilePath, fileInfo))
+ if (fileInfo.Find(destFilePath))
{
srcPanel.MessageBoxMyError(MyFormatNew(IDS_FILE_EXIST, 0x03020A04, destFilePath));
return;