mirror of
https://github.com/LouisRaverdy/DiscordRPC.git
synced 2025-10-24 08:54:19 +00:00
Initial Commit
This commit is contained in:
21
Source/DiscordRpc/Public/DiscordRpc.h
Normal file
21
Source/DiscordRpc/Public/DiscordRpc.h
Normal file
@@ -0,0 +1,21 @@
|
||||
// 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);
|
||||
};
|
||||
Reference in New Issue
Block a user