// Fill out your copyright notice in the Description page of Project Settings.
#include “IMyPlugin2.h”
#include “myplugin.h”
#define LOCTEXT_NAMESPACE “FMyPlugin2Module”
class FMyPlugin2Module : public IMyPlugin2
{
public:
/** IModuleInterface implementation */
virtual void StartupModule() override;
virtual void ShutdownModule() override;
};
IMPLEMENT_MODULE(FMyPlugin2Module, MyPlugin2)
void FMyPlugin2Module::StartupModule()
{
// This code will execute after your module is loaded into memory; the exact timing is specified in the .uplugin file per-module
openDLL();
}
void FMyPlugin2Module::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.
}
#undef LOCTEXT_NAMESPACE