24 lines
804 B
C++
24 lines
804 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "HAL/IConsoleManager.h"
|
|
#include "Misc/CommandLine.h"
|
|
#include "InputCoreTypes.h"
|
|
|
|
namespace UE::PixelStreamingInput::Settings
|
|
{
|
|
// Begin CVars
|
|
extern TAutoConsoleVariable<bool> CVarPixelStreamingInputAllowConsoleCommands;
|
|
extern TAutoConsoleVariable<FString> CVarPixelStreamingInputKeyFilter;
|
|
extern TArray<FKey> FilteredKeys;
|
|
// End CVars
|
|
|
|
extern void InitialiseSettings();
|
|
extern void CommandLineParseOption();
|
|
template <typename T>
|
|
extern void CommandLineParseValue(const TCHAR* Match, TAutoConsoleVariable<T>& CVar);
|
|
extern void CommandLineParseValue(const TCHAR* Match, TAutoConsoleVariable<FString>& CVar, bool bStopOnSeparator = false);
|
|
} // namespace UE::PixelStreamingInput::Settings
|