/Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h
Replace the current platform application with a custom version.
void OverridePlatformApplication ( [TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< class [GenericApplication](API\Runtime\ApplicationCore\GenericPlatform\GenericApplication) > InPlatformApplication )