mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-01 18:35:13 +00:00
Update Multi Commander changes
This commit is contained in:
@@ -20,6 +20,7 @@
|
|||||||
#include "Shell32.h"
|
#include "Shell32.h"
|
||||||
#include "WoW64HookHelper.h"
|
#include "WoW64HookHelper.h"
|
||||||
#include "DOpus.h"
|
#include "DOpus.h"
|
||||||
|
#include "MultiCommander.h"
|
||||||
|
|
||||||
#define EXPORT extern "C" __declspec(dllexport)
|
#define EXPORT extern "C" __declspec(dllexport)
|
||||||
|
|
||||||
@@ -29,6 +30,7 @@ EXPORT void Init()
|
|||||||
WoW64HookHelper::Launch();
|
WoW64HookHelper::Launch();
|
||||||
#endif
|
#endif
|
||||||
DOpus::PrepareMessageWindow();
|
DOpus::PrepareMessageWindow();
|
||||||
|
MultiCommander::PrepareMessageWindow();
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT Shell32::FocusedWindowType GetFocusedWindowType()
|
EXPORT Shell32::FocusedWindowType GetFocusedWindowType()
|
||||||
|
@@ -86,6 +86,7 @@
|
|||||||
<ClInclude Include="DOpus.h" />
|
<ClInclude Include="DOpus.h" />
|
||||||
<ClInclude Include="Everything.h" />
|
<ClInclude Include="Everything.h" />
|
||||||
<ClInclude Include="HelperMethods.h" />
|
<ClInclude Include="HelperMethods.h" />
|
||||||
|
<ClInclude Include="MultiCommander.h" />
|
||||||
<ClInclude Include="rapidxml.hpp" />
|
<ClInclude Include="rapidxml.hpp" />
|
||||||
<ClInclude Include="WoW64HookHelper.h" />
|
<ClInclude Include="WoW64HookHelper.h" />
|
||||||
<ClInclude Include="Shell32.h" />
|
<ClInclude Include="Shell32.h" />
|
||||||
@@ -106,6 +107,7 @@
|
|||||||
<ClCompile Include="Everything.cpp" />
|
<ClCompile Include="Everything.cpp" />
|
||||||
<ClCompile Include="HelperMethods.cpp" />
|
<ClCompile Include="HelperMethods.cpp" />
|
||||||
<ClCompile Include="DllExport.cpp" />
|
<ClCompile Include="DllExport.cpp" />
|
||||||
|
<ClCompile Include="MultiCommander.cpp" />
|
||||||
<ClCompile Include="Shell32.cpp" />
|
<ClCompile Include="Shell32.cpp" />
|
||||||
<ClCompile Include="stdafx.cpp">
|
<ClCompile Include="stdafx.cpp">
|
||||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
||||||
@@ -116,4 +118,4 @@
|
|||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
@@ -42,6 +42,9 @@
|
|||||||
<ClInclude Include="rapidxml.hpp">
|
<ClInclude Include="rapidxml.hpp">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="MultiCommander.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="stdafx.cpp">
|
<ClCompile Include="stdafx.cpp">
|
||||||
@@ -71,5 +74,8 @@
|
|||||||
<ClCompile Include="DOpus.cpp">
|
<ClCompile Include="DOpus.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="MultiCommander.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
@@ -22,6 +22,7 @@
|
|||||||
#include "DialogHook.h"
|
#include "DialogHook.h"
|
||||||
#include "Everything.h"
|
#include "Everything.h"
|
||||||
#include "DOpus.h"
|
#include "DOpus.h"
|
||||||
|
#include "MultiCommander.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
@@ -36,6 +37,10 @@ Shell32::FocusedWindowType Shell32::GetFocusedWindowType()
|
|||||||
if (FAILED(GetClassName(hwndfg, classBuffer, MAX_PATH)))
|
if (FAILED(GetClassName(hwndfg, classBuffer, MAX_PATH)))
|
||||||
return INVALID;
|
return INVALID;
|
||||||
|
|
||||||
|
if (wcscmp(classBuffer, MULTICMD_CLASS) == 0)
|
||||||
|
{
|
||||||
|
return MULTICOMMANDER;
|
||||||
|
}
|
||||||
if (wcscmp(classBuffer, L"dopus.lister") == 0)
|
if (wcscmp(classBuffer, L"dopus.lister") == 0)
|
||||||
{
|
{
|
||||||
return DOPUS;
|
return DOPUS;
|
||||||
@@ -91,6 +96,9 @@ void Shell32::GetCurrentSelection(PWCHAR buffer)
|
|||||||
case DOPUS:
|
case DOPUS:
|
||||||
DOpus::GetSelected(buffer);
|
DOpus::GetSelected(buffer);
|
||||||
break;
|
break;
|
||||||
|
case MULTICOMMANDER:
|
||||||
|
MultiCommander::GetSelected(buffer);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@@ -30,6 +30,7 @@ public:
|
|||||||
DIALOG,
|
DIALOG,
|
||||||
EVERYTHING,
|
EVERYTHING,
|
||||||
DOPUS,
|
DOPUS,
|
||||||
|
MULTICOMMANDER,
|
||||||
};
|
};
|
||||||
|
|
||||||
static FocusedWindowType GetFocusedWindowType();
|
static FocusedWindowType GetFocusedWindowType();
|
||||||
|
@@ -24,6 +24,7 @@
|
|||||||
<ClCompile Include="..\QuickLook.Native32\DOpus.cpp" />
|
<ClCompile Include="..\QuickLook.Native32\DOpus.cpp" />
|
||||||
<ClCompile Include="..\QuickLook.Native32\Everything.cpp" />
|
<ClCompile Include="..\QuickLook.Native32\Everything.cpp" />
|
||||||
<ClCompile Include="..\QuickLook.Native32\HelperMethods.cpp" />
|
<ClCompile Include="..\QuickLook.Native32\HelperMethods.cpp" />
|
||||||
|
<ClCompile Include="..\QuickLook.Native32\MultiCommander.cpp" />
|
||||||
<ClCompile Include="..\QuickLook.Native32\Shell32.cpp" />
|
<ClCompile Include="..\QuickLook.Native32\Shell32.cpp" />
|
||||||
<ClCompile Include="..\QuickLook.Native32\stdafx.cpp">
|
<ClCompile Include="..\QuickLook.Native32\stdafx.cpp">
|
||||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
|
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
|
||||||
@@ -98,4 +99,4 @@
|
|||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
@@ -10,5 +10,6 @@
|
|||||||
<ClCompile Include="..\QuickLook.Native32\WoW64HookHelper.cpp" />
|
<ClCompile Include="..\QuickLook.Native32\WoW64HookHelper.cpp" />
|
||||||
<ClCompile Include="..\QuickLook.Native32\Everything.cpp" />
|
<ClCompile Include="..\QuickLook.Native32\Everything.cpp" />
|
||||||
<ClCompile Include="..\QuickLook.Native32\DOpus.cpp" />
|
<ClCompile Include="..\QuickLook.Native32\DOpus.cpp" />
|
||||||
|
<ClCompile Include="..\QuickLook.Native32\MultiCommander.cpp" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
@@ -127,7 +127,8 @@ namespace QuickLook.NativeMethods
|
|||||||
Explorer,
|
Explorer,
|
||||||
Dialog,
|
Dialog,
|
||||||
Everything,
|
Everything,
|
||||||
DOpus
|
DOpus,
|
||||||
|
MultiCommander
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user