You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Rob asked me to back out GENERATED_*_BODY -> GENERATED_BODY change for now until the "_Validate and _Implementation auto-generation" discussion is over. #codereview Robert.Manuszewski [CL 2481343 by Jaroslaw Palczynski in Main branch]
31 lines
912 B
C++
31 lines
912 B
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
#include "Commandlets/Commandlet.h"
|
|
#include "GatherTextFromMetadataCommandlet.generated.h"
|
|
|
|
/**
|
|
* UGatherTextFromMetaDataCommandlet: Localization commandlet that collects all text to be localized from generated metadata.
|
|
*/
|
|
UCLASS()
|
|
class UGatherTextFromMetaDataCommandlet : public UGatherTextCommandletBase
|
|
{
|
|
GENERATED_UCLASS_BODY()
|
|
|
|
public:
|
|
// Begin UCommandlet Interface
|
|
virtual int32 Main(const FString& Params) override;
|
|
// End UCommandlet Interface
|
|
|
|
private:
|
|
struct FGatherParameters
|
|
{
|
|
TArray<FString> InputKeys;
|
|
TArray<FString> OutputNamespaces;
|
|
TArray<FText> OutputKeys;
|
|
};
|
|
|
|
private:
|
|
void GatherTextFromUObjects(const TArray<FString>& IncludePaths, const TArray<FString>& ExcludePaths, const FGatherParameters& Arguments);
|
|
void GatherTextFromUObject(UField* const Field, const FGatherParameters& Arguments);
|
|
}; |