mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
[KBM Engine] Remove global usings (#10976)
This commit is contained in:
@@ -8,14 +8,11 @@
|
|||||||
#include <keyboardmanager/KeyboardManagerEngineLibrary/trace.h>
|
#include <keyboardmanager/KeyboardManagerEngineLibrary/trace.h>
|
||||||
#include <common/utils/UnhandledExceptionHandler_x64.h>
|
#include <common/utils/UnhandledExceptionHandler_x64.h>
|
||||||
|
|
||||||
using namespace winrt;
|
|
||||||
using namespace Windows::Foundation;
|
|
||||||
|
|
||||||
const std::wstring instanceMutexName = L"Local\\PowerToys_KBMEngine_InstanceMutex";
|
const std::wstring instanceMutexName = L"Local\\PowerToys_KBMEngine_InstanceMutex";
|
||||||
|
|
||||||
int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PWSTR lpCmdLine, int nCmdShow)
|
int WINAPI wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ PWSTR lpCmdLine, _In_ int nCmdShow)
|
||||||
{
|
{
|
||||||
init_apartment();
|
winrt::init_apartment();
|
||||||
LoggerHelpers::init_logger(KeyboardManagerConstants::ModuleName, L"Engine", LogSettings::keyboardManagerLoggerName);
|
LoggerHelpers::init_logger(KeyboardManagerConstants::ModuleName, L"Engine", LogSettings::keyboardManagerLoggerName);
|
||||||
|
|
||||||
InitUnhandledExceptionHandler_x64();
|
InitUnhandledExceptionHandler_x64();
|
||||||
|
|||||||
Reference in New Issue
Block a user