Merge pull request #1398 from Dreamoochy/MultiCommander

Multi Commander support
This commit is contained in:
ema
2024-12-06 17:00:58 +08:00
committed by GitHub
10 changed files with 163 additions and 6 deletions

View File

@@ -22,6 +22,7 @@
#include "DialogHook.h"
#include "Everything.h"
#include "DOpus.h"
#include "MultiCommander.h"
using namespace std;
@@ -36,6 +37,10 @@ Shell32::FocusedWindowType Shell32::GetFocusedWindowType()
if (FAILED(GetClassName(hwndfg, classBuffer, MAX_PATH)))
return INVALID;
if (wcscmp(classBuffer, MULTICMD_CLASS) == 0)
{
return MULTICOMMANDER;
}
if (wcscmp(classBuffer, L"dopus.lister") == 0)
{
return DOPUS;
@@ -91,6 +96,9 @@ void Shell32::GetCurrentSelection(PWCHAR buffer)
case DOPUS:
DOpus::GetSelected(buffer);
break;
case MULTICOMMANDER:
MultiCommander::GetSelected(buffer);
break;
default:
break;
}