25 lines
446 B
C++
25 lines
446 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
|
|
class FString;
|
|
|
|
/**
|
|
* Singleton wrapper to manage the Tcls proxy connection
|
|
*/
|
|
class FTencentDll
|
|
{
|
|
public:
|
|
FTencentDll();
|
|
virtual ~FTencentDll();
|
|
void* Load(const FString& DllPath, const FString& DllFile);
|
|
void Unload();
|
|
inline bool IsLoaded() const { return DllHandle != nullptr; }
|
|
inline void* GetDllHandle() const { return DllHandle; }
|
|
|
|
private:
|
|
void* DllHandle;
|
|
};
|
|
|