Files
UnrealEngineUWP/Engine/Source/Editor/UnrealEd/Classes/Commandlets/DiffFilesCommandlet.h
Ben Marsh 20bf0eb6a1 Updating copyright notices to 2017 (copying from //Tasks/UE4/Dev-Copyright-2017).
#rb none
#lockdown Nick.Penwarden

[CL 3226823 by Ben Marsh in Main branch]
2016-12-08 08:52:44 -05:00

52 lines
1.2 KiB
C++

// Copyright 1998-2017 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
};