mirror of
https://github.com/LouisRaverdy/DiscordRPC.git
synced 2025-10-22 16:04:21 +00:00
22 lines
646 B
C++
22 lines
646 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "DiscordRpc.h"
|
|
#include "Modules/ModuleManager.h"
|
|
|
|
class FDiscordRpcModule : public IModuleInterface {
|
|
public:
|
|
/** IModuleInterface implementation */
|
|
virtual void StartupModule() override;
|
|
virtual void ShutdownModule() override;
|
|
|
|
private:
|
|
/** Handle to the test dll we will load */
|
|
void* DiscordRpcLibraryHandle;
|
|
|
|
/** StartupModule is covered with defines, these functions are the place to put breakpoints */
|
|
static bool LoadDependency(const FString& Dir, const FString& Name, void*& Handle);
|
|
static void FreeDependency(void*& Handle);
|
|
};
|