Files
UnrealEngineUWP/Engine/Source/Editor/UnrealEd/Classes/Commandlets/DiffFilesCommandlet.h
ryan durand 627baf970a Updating copyright for Engine Editor.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870586 by ryan durand in Main branch]
2019-12-26 15:33:43 -05:00

52 lines
1.2 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "UObject/UObjectAnnotation.h"
#include "Commandlets/Commandlet.h"
#include "DiffFilesCommandlet.generated.h"
UCLASS()
class UDiffFilesCommandlet : public UCommandlet
{
GENERATED_UCLASS_BODY()
struct FPackageInfo
{
FString FullPath;
FString FriendlyName;
};
TArray<FPackageInfo> PackageInfos;
/** Handled annotation to track which objects we have dealt with **/
class FUObjectAnnotationSparseBool HandledAnnotation;
/**
* Parses the command-line and loads the packages being compared.
*
* @param Parms the full command-line used to invoke this commandlet
*
* @return true if all parameters were parsed successfully; false if any of the specified packages couldn't be loaded
* or the parameters were otherwise invalid.
*/
bool Initialize(const TCHAR* Parms);
/**
* Load the packages in the commandline while loading diff them against eachother to track down where serialization has variation in the two packages
*/
void LoadAndDiff();
//~ Begin UCommandlet Interface
virtual int32 Main(const FString& Params) override;
//~ End UCommandlet Interface
};