mirror of
https://github.com/LouisRaverdy/DiscordRPC.git
synced 2025-10-22 16:04:21 +00:00
21 lines
655 B
C++
21 lines
655 B
C++
// Copyright 1998-2017 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);
|
|
}; |