Cube-World-Mod-Launcher/CubeModLoader/DLL.h

30 lines
475 B
C
Raw Normal View History

2019-09-15 03:24:12 +08:00
#ifndef DLL_H
#define DLL_H
#include <iostream>
#include <windows.h>
#include "GenericMod.h"
2019-09-15 03:24:12 +08:00
class DLL
{
public:
std::string fileName;
HMODULE handle;
2019-09-15 07:59:24 +08:00
FARPROC ModPreInitialize;
2019-09-15 03:24:12 +08:00
FARPROC ModMajorVersion;
FARPROC ModMinorVersion;
FARPROC MakeMod;
2019-09-15 03:24:12 +08:00
GenericMod* mod;
2019-09-15 03:24:12 +08:00
DLL(std::string fileName);
HMODULE Load();
virtual ~DLL();
protected:
private:
};
#endif // DLL_H