Files
UnrealEngineUWP/Engine/Plugins/ScriptPlugin/Source/ScriptEditorPlugin/Classes/ScriptFactory.h
Jaroslaw Palczynski f23f29257b Back out changelist 2481333
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]
2015-03-17 05:38:32 -04:00

27 lines
869 B
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "ScriptBlueprint.h"
#include "ScriptFactory.generated.h"
/**
* Script Blueprint factory
*/
UCLASS(collapsecategories, hidecategories = Object, EarlyAccessPreview)
class SCRIPTEDITORPLUGIN_API UScriptFactory : public UFactory
{
GENERATED_UCLASS_BODY()
public:
UPROPERTY(EditAnywhere, Category = ScriptFactory, meta = (AllowAbstract = "", BlueprintBaseOnly = ""))
TSubclassOf<class UObject> ParentClass;
// Begin UFactory Interface
virtual bool ConfigureProperties() override;
virtual bool DoesSupportClass(UClass* Class) override;
virtual UObject* FactoryCreateText(UClass* InClass, UObject* InParent, FName InName, EObjectFlags Flags, UObject* Context, const TCHAR* Type, const TCHAR*& Buffer, const TCHAR* BufferEnd, FFeedbackContext* Warn);
// End UFactory Interface
};