1 // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. 2 3 #pragma once 4 5 #include "ModuleManager.h" 6 7 class FDiscordRpcModule : public IModuleInterface { 8 public: 9 /** IModuleInterface implementation */ 10 virtual void StartupModule() override; 11 virtual void ShutdownModule() override; 12 13 private: 14 /** Handle to the test dll we will load */ 15 void* DiscordRpcLibraryHandle; 16 17 /** StartupModule is covered with defines, these functions are the place to put breakpoints */ 18 static bool LoadDependency(const FString& Dir, const FString& Name, void*& Handle); 19 static void FreeDependency(void*& Handle); 20 };