Files
UnrealEngineUWP/Engine/Plugins/Runtime/AndroidDeviceProfileSelector/Source/AndroidDeviceProfileCommandlets/Private/CreateAndroidPreviewDataFromADBCommandlet.h
aurel cordonnier dc856801cd Merge from Release-Engine-Test @ 17059716 to UE5/Main
This represents UE4/Main @ 17030256 and Dev-PerfTest @ 17029914

[CL 17060422 by aurel cordonnier in ue5-main branch]
2021-08-04 17:46:20 -04:00

33 lines
1.0 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "Commandlets/Commandlet.h"
#include "CreateAndroidPreviewDataFromADBCommandlet.generated.h"
/*
* This commandlet runs in an infinite loop. It waits for new devices to be plugged in (or to become visible to adb)
* When a new device is encountered it is queried and a new .json containing it's particulars is saved.
* The json file is then usable by editor for device preview and also for the android device profile matching system.
* Usage commandline:
*
* <game> -run=AndroidDeviceDetection.CreateAndroidPreviewDataFromADB -ConfigRules=[path to configrules.txt] -DeviceSpecsFolder=[Path to json output folder, e.g."\Engine\Content\Editor\PIEPreviewDeviceSpecs\Android"]
*/
UCLASS()
class UCreateAndroidPreviewDataFromADBCommandlet
: public UCommandlet
{
GENERATED_BODY()
public:
//~ Begin UCommandlet Interface
virtual int32 Main(const FString& Params) override;
//~ End UCommandlet Interface
private:
};