* IWYU Core * IWYU Noise * IWYU Utility * IWYU Audio * IWYU Platform * IWYU Lua * IWYU Network * IWYU Physics2D * IWYU Physics3D * IWYU Renderer * IWYU Graphics * IWYU NDKServer * IWYU Fix * Try to fix compilation * Other fixes
32 lines
638 B
C++
32 lines
638 B
C++
// Copyright (C) 2015 Alexandre Janniaux
|
|
// This file is part of the "Nazara Engine - Core module"
|
|
// For conditions of distribution and use, see copyright notice in Config.hpp
|
|
|
|
#pragma once
|
|
|
|
#ifndef NAZARA_DYNLIBIMPL_HPP
|
|
#define NAZARA_DYNLIBIMPL_HPP
|
|
|
|
#include <Nazara/Core/DynLib.hpp>
|
|
|
|
namespace Nz
|
|
{
|
|
class String;
|
|
|
|
class DynLibImpl
|
|
{
|
|
public:
|
|
DynLibImpl(DynLib* m_parent);
|
|
~DynLibImpl() = default;
|
|
|
|
DynLibFunc GetSymbol(const String& symbol, String* errorMessage) const;
|
|
bool Load(const String& libraryPath, String* errorMessage);
|
|
void Unload();
|
|
|
|
private:
|
|
void* m_handle;
|
|
};
|
|
}
|
|
|
|
#endif // NAZARA_DYNLIBIMPL_HPP
|