2015-03-30 14:10:13 -04:00
|
|
|
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
#include "BlueprintCompilerCppBackendModulePrivatePCH.h"
|
|
|
|
|
#include "IBlueprintCompilerCppBackendModule.h"
|
|
|
|
|
#include "ModuleManager.h"
|
2015-03-31 02:49:50 -04:00
|
|
|
#include "BlueprintCompilerCppBackend.h"
|
2015-03-30 14:10:13 -04:00
|
|
|
|
|
|
|
|
class FBlueprintCompilerCppBackendModule : public IBlueprintCompilerCppBackendModule
|
|
|
|
|
{
|
|
|
|
|
/** IModuleInterface implementation */
|
|
|
|
|
virtual void StartupModule() override;
|
|
|
|
|
virtual void ShutdownModule() override;
|
|
|
|
|
virtual IBlueprintCompilerCppBackend* Create(FKismetCompilerContext& InContext) override;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
IMPLEMENT_MODULE(FBlueprintCompilerCppBackendModule, BlueprintCompilerCppBackend)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void FBlueprintCompilerCppBackendModule::StartupModule()
|
|
|
|
|
{
|
|
|
|
|
// This code will execute after your module is loaded into memory (but after global variables are initialized, of course.)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void FBlueprintCompilerCppBackendModule::ShutdownModule()
|
|
|
|
|
{
|
|
|
|
|
// This function may be called during shutdown to clean up your module. For modules that support dynamic reloading,
|
|
|
|
|
// we call this function before unloading the module.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
IBlueprintCompilerCppBackend* FBlueprintCompilerCppBackendModule::Create(FKismetCompilerContext& InContext)
|
|
|
|
|
{
|
|
|
|
|
return new FBlueprintCompilerCppBackend(InContext);
|
|
|
|
|
}
|