Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (18 sloc) 815 Bytes
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Factories/Factory.h"
#include "UObject/ObjectMacros.h"
#include "TextAssetFactory.generated.h"
/**
* Implements a factory for UTextAsset objects.
*/
UCLASS(hidecategories=Object)
class UTextAssetFactory
: public UFactory
{
GENERATED_UCLASS_BODY()
public:
//~ UFactory Interface
// virtual UObject* FactoryCreateBinary(UClass* Class, UObject* InParent, FName Name, EObjectFlags Flags, UObject* Context, const TCHAR* Type, const uint8*& Buffer, const uint8* BufferEnd, FFeedbackContext* Warn) override;
virtual UObject* FactoryCreateFile(UClass* InClass, UObject* InParent, FName InName, EObjectFlags Flags, const FString& Filename, const TCHAR* Parms, FFeedbackContext* Warn, bool& bOutOperationCanceled) override;
};