forked from notepad-plus-plus/nppShell
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathModernEditWithNppExplorerCommandHandler.cpp
More file actions
31 lines (22 loc) · 1.02 KB
/
ModernEditWithNppExplorerCommandHandler.cpp
File metadata and controls
31 lines (22 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#include "pch.h"
#include "ModernEditWithNppExplorerCommandHandler.h"
#include "SharedState.h"
#include "LoggingHelper.h"
using namespace NppShell::CommandHandlers;
using namespace NppShell::Helpers;
extern LoggingHelper g_loggingHelper;
ModernEditWithNppExplorerCommandHandler::ModernEditWithNppExplorerCommandHandler()
{
g_loggingHelper.LogMessage(L"ModernEditWithNppExplorerCommandHandler::ctor", L"Creating object");
}
ModernEditWithNppExplorerCommandHandler::~ModernEditWithNppExplorerCommandHandler()
{
g_loggingHelper.LogMessage(L"ModernEditWithNppExplorerCommandHandler::~tor", L"Destroying object");
}
const EXPCMDSTATE ModernEditWithNppExplorerCommandHandler::State(IShellItemArray* psiItemArray)
{
UNREFERENCED_PARAMETER(psiItemArray);
state->SetState(L"ModernEditWithNppExplorerCommandHandler", Set);
g_loggingHelper.LogMessage(L"ModernEditWithNppExplorerCommandHandler::State", L"Current state: " + std::to_wstring(state->GetState(L"ModernEditWithNppExplorerCommandHandler")));
return ECS_ENABLED;
}