diff options
author | Igor Pavlov <ipavlov@users.sourceforge.net> | 2010-04-15 04:00:00 +0400 |
---|---|---|
committer | Kornel LesiĆski <kornel@geekhood.net> | 2016-05-28 02:16:03 +0300 |
commit | 3dacb5eb8afda99aad81f4723cb966c0fa91ba1d (patch) | |
tree | 1e1f05aaadf64b4ff99d21bcd4282e8ab4365396 /CPP/7zip/UI/FileManager/FileFolderPluginOpen.cpp | |
parent | 76b173af78d09dea806d3ed35c0f67a09b496357 (diff) |
9.139.13
Diffstat (limited to 'CPP/7zip/UI/FileManager/FileFolderPluginOpen.cpp')
-rwxr-xr-x | CPP/7zip/UI/FileManager/FileFolderPluginOpen.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CPP/7zip/UI/FileManager/FileFolderPluginOpen.cpp b/CPP/7zip/UI/FileManager/FileFolderPluginOpen.cpp index 310b890c..25aec359 100755 --- a/CPP/7zip/UI/FileManager/FileFolderPluginOpen.cpp +++ b/CPP/7zip/UI/FileManager/FileFolderPluginOpen.cpp @@ -20,6 +20,7 @@ using namespace NRegistryAssociations; struct CThreadArchiveOpen { UString Path; + UString ArcFormat; CMyComPtr<IInStream> InStream; CMyComPtr<IFolderManager> FolderManager; CMyComPtr<IProgress> OpenCallback; @@ -33,7 +34,7 @@ struct CThreadArchiveOpen try { CProgressCloser closer(OpenCallbackSpec->ProgressDialog); - Result = FolderManager->OpenFolderFile(InStream, Path, &Folder, OpenCallback); + Result = FolderManager->OpenFolderFile(InStream, Path, ArcFormat, &Folder, OpenCallback); } catch(...) { Result = E_FAIL; } } @@ -58,6 +59,7 @@ static int FindPlugin(const CObjectVector<CPluginInfo> &plugins, const UString & HRESULT OpenFileFolderPlugin( IInStream *inStream, const UString &path, + const UString &arcFormat, HMODULE *module, IFolderFolder **resultFolder, HWND parentWindow, @@ -128,6 +130,7 @@ HRESULT OpenFileFolderPlugin( t.InStream = inStream; t.Path = path; + t.ArcFormat = arcFormat; UString progressTitle = LangString(IDS_OPENNING, 0x03020283); t.OpenCallbackSpec->ProgressDialog.MainWindow = parentWindow; |